Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 113.1 kB / 17.12 MB, free: 5.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 213 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.367/0.367, allocations: 44.23 MB / 326.6 MB, free: 6.797 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 68.47 kB / 462.2 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3153, allocations: 61 MB / 0.5109 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001725/0.317, allocations: 494.9 kB / 0.5114 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.32, allocations: 2.335 MB / 0.5137 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.3201, allocations: 1.531 kB / 0.5137 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.3201, allocations: 0 / 0.5137 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.764e-06/0.3201, allocations: 0 / 0.5137 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.3232, allocations: 1.216 MB / 0.5149 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.249e-05/0.3232, allocations: 1.344 kB / 0.5149 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.3233, allocations: 4.984 kB / 0.5149 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.3233, allocations: 5.297 kB / 0.5149 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.237e-05/0.3233, allocations: 0 / 0.5149 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.652e-06/0.3233, allocations: 0 / 0.5149 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.3249, allocations: 0.9902 MB / 0.5158 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.3249, allocations: 1.375 kB / 0.5158 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.3249, allocations: 0 / 0.5158 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006156/0.3255, allocations: 420.1 kB / 0.5162 GB, free: 9.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3255, allocations: 0 / 0.5162 GB, free: 9.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3255, allocations: 0 / 0.5162 GB, free: 9.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3255, allocations: 0 / 0.5162 GB, free: 9.668 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000477/0.326, allocations: 440.4 kB / 0.5167 GB, free: 9.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3261, allocations: 11.89 kB / 0.5167 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.3261, allocations: 34.75 kB / 0.5167 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.3261, allocations: 4.938 kB / 0.5167 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.389e-05/0.3262, allocations: 164.3 kB / 0.5169 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3262, allocations: 4.312 kB / 0.5169 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.3262, allocations: 384 / 0.5169 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.41e-05/0.3263, allocations: 33.83 kB / 0.5169 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3263, allocations: 0 / 0.5169 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3263, allocations: 3.984 kB / 0.5169 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3263, allocations: 0 / 0.5169 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.336e-05/0.3263, allocations: 4 kB / 0.5169 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.3265, allocations: 149.7 kB / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.909e-05/0.3265, allocations: 22.45 kB / 0.5171 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.3265, allocations: 4.859 kB / 0.5171 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.3265, allocations: 96 / 0.5171 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.3266, allocations: 64.2 kB / 0.5171 GB, free: 8.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.3266, allocations: 0 / 0.5171 GB, free: 8.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001816/0.3267, allocations: 67.39 kB / 0.5172 GB, free: 8.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.3268, allocations: 81.11 kB / 0.5173 GB, free: 8.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.369e-05/0.3268, allocations: 93.8 kB / 0.5174 GB, free: 8.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.3268, allocations: 25.7 kB / 0.5174 GB, free: 8.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.424e-05/0.3268, allocations: 80.14 kB / 0.5175 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.3269, allocations: 0 / 0.5175 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.3269, allocations: 17.7 kB / 0.5175 GB, free: 8.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.3269, allocations: 311 kB / 0.5178 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.3269, allocations: 4 kB / 0.5178 GB, free: 7.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.3269, allocations: 8 kB / 0.5178 GB, free: 7.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.327, allocations: 60.27 kB / 0.5178 GB, free: 7.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.327, allocations: 4 kB / 0.5179 GB, free: 7.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.168e-05/0.327, allocations: 59.39 kB / 0.5179 GB, free: 7.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.3271, allocations: 37.64 kB / 0.5179 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3271, allocations: 0 / 0.5179 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3271, allocations: 0 / 0.5179 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.3271, allocations: 8.031 kB / 0.518 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3271, allocations: 0 / 0.518 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.3271, allocations: 0 / 0.518 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3271, allocations: 4 kB / 0.518 GB, free: 7.621 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.3272, allocations: 135.5 kB / 0.5181 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.3272, allocations: 3.938 kB / 0.5181 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.28e-05/0.3272, allocations: 7.109 kB / 0.5181 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3272, allocations: 7.938 kB / 0.5181 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3272, allocations: 3.984 kB / 0.5181 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3272, allocations: 4 kB / 0.5181 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.594e-05/0.3273, allocations: 141.7 kB / 0.5182 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3273, allocations: 0 / 0.5182 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.3273, allocations: 0 / 0.5182 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3273, allocations: 3.938 kB / 0.5183 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.3273, allocations: 7.984 kB / 0.5183 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3273, allocations: 3.984 kB / 0.5183 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3273, allocations: 0 / 0.5183 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.464e-05/0.3273, allocations: 90.84 kB / 0.5183 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.3274, allocations: 84.98 kB / 0.5184 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3274, allocations: 3.984 kB / 0.5184 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-06/0.3274, allocations: 0 / 0.5184 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.3274, allocations: 3.938 kB / 0.5184 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3274, allocations: 4 kB / 0.5184 GB, free: 7.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.605e-05/0.3274, allocations: 75.28 kB / 0.5185 GB, free: 6.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3274, allocations: 0 / 0.5185 GB, free: 6.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004165/0.3278, allocations: 143.6 kB / 0.5186 GB, free: 6.797 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007388/0.3286, allocations: 0.8911 MB / 0.5195 GB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.671e-05/0.3287, allocations: 71.34 kB / 0.5196 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3287, allocations: 0 / 0.5196 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.848e-05/0.3287, allocations: 51.41 kB / 0.5196 GB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.3288, allocations: 6.188 kB / 0.5196 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.3291, allocations: 186 kB / 0.5198 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3292, allocations: 0.673 MB / 0.5205 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.16e-06/0.3292, allocations: 0 / 0.5205 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.275e-05/0.3293, allocations: 11.44 kB / 0.5205 GB, free: 4.789 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3293, allocations: 0 / 0.5205 GB, free: 4.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.3584, allocations: 5.321 MB / 0.5257 GB, free: 15.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/8.721, allocations: 4 kB / 0.5257 GB, free: 15.46 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations.fmu > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.697712470006081]