Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001325/0.001325, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002168/0.002168, allocations: 203.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2235/0.2235, allocations: 46.97 MB / 360.9 MB, free: 4.098 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 71.89 kB / 0.4961 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3413, allocations: 66.03 MB / 0.5606 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006564/0.3479, allocations: 4.7 MB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005369/0.3533, allocations: 4.084 MB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.3534, allocations: 0 / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.3538, allocations: 55.61 kB / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.3557, allocations: 0.6759 MB / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.3561, allocations: 159.1 kB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006281/0.3568, allocations: 374.1 kB / 0.5704 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.887e-05/0.3568, allocations: 17.78 kB / 0.5704 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.3571, allocations: 155.5 kB / 0.5706 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.3573, allocations: 139.4 kB / 0.5707 GB, free: 9.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.3574, allocations: 8 kB / 0.5707 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007723/0.3581, allocations: 327.7 kB / 0.571 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.33e-05/0.3582, allocations: 43.81 kB / 0.5711 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3583, allocations: 95.59 kB / 0.5712 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000691/0.359, allocations: 432.4 kB / 0.5716 GB, free: 8.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.359, allocations: 0 / 0.5716 GB, free: 8.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.359, allocations: 0 / 0.5716 GB, free: 8.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.359, allocations: 0 / 0.5716 GB, free: 8.895 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00111/0.3602, allocations: 0.5246 MB / 0.5721 GB, free: 8.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.3602, allocations: 8.031 kB / 0.5721 GB, free: 8.332 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.842e-05/0.3603, allocations: 62.72 kB / 0.5722 GB, free: 8.262 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.3604, allocations: 24.84 kB / 0.5722 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.3608, allocations: 174.2 kB / 0.5724 GB, free: 8.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.361, allocations: 230.7 kB / 0.5726 GB, free: 7.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.361, allocations: 28.06 kB / 0.5726 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.3617, allocations: 0.5066 MB / 0.5731 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3618, allocations: 4 kB / 0.5731 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.3618, allocations: 8 kB / 0.5731 GB, free: 7.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.3618, allocations: 8 kB / 0.5731 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009102/0.3627, allocations: 0.7195 MB / 0.5738 GB, free: 6.422 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.3642, allocations: 1.08 MB / 0.5749 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.3645, allocations: 135.5 kB / 0.575 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3646, allocations: 68.83 kB / 0.5751 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/0.366, allocations: 0.6556 MB / 0.5757 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.366, allocations: 30.56 kB / 0.5757 GB, free: 4.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.366, allocations: 0 / 0.5757 GB, free: 4.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007088/0.3667, allocations: 225 kB / 0.576 GB, free: 4.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3668, allocations: 55.41 kB / 0.576 GB, free: 4.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.367, allocations: 226.7 kB / 0.5762 GB, free: 3.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.367, allocations: 29.7 kB / 0.5763 GB, free: 3.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.3671, allocations: 219.5 kB / 0.5765 GB, free: 3.574 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.3672, allocations: 59.52 kB / 0.5765 GB, free: 3.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-05/0.3673, allocations: 82.08 kB / 0.5766 GB, free: 3.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3674, allocations: 326.8 kB / 0.5769 GB, free: 3.102 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.204e-05/0.3675, allocations: 48.84 kB / 0.577 GB, free: 3.051 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.3678, allocations: 316.1 kB / 0.5773 GB, free: 2.617 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.3683, allocations: 411.5 kB / 0.5776 GB, free: 2.086 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3683, allocations: 11.94 kB / 0.5777 GB, free: 2.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005769/0.3688, allocations: 373.8 kB / 0.578 GB, free: 1.703 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3689, allocations: 8 kB / 0.578 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.3689, allocations: 8 kB / 0.578 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.3689, allocations: 19.97 kB / 0.578 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.3693, allocations: 111.9 kB / 0.5782 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/0.3693, allocations: 23.92 kB / 0.5782 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.3695, allocations: 12 kB / 0.5782 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.3695, allocations: 28 kB / 0.5782 GB, free: 1.496 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * 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 0.0001531/0.3697, allocations: 149.6 kB / 0.5784 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.3698, allocations: 19.91 kB / 0.5784 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.3701, allocations: 146.9 kB / 0.5785 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.3701, allocations: 3.938 kB / 0.5785 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3701, allocations: 0 / 0.5785 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.3701, allocations: 4 kB / 0.5785 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/0.3706, allocations: 402 kB / 0.5789 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3707, allocations: 7.969 kB / 0.5789 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.3708, allocations: 35.91 kB / 0.579 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3708, allocations: 4 kB / 0.579 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3708, allocations: 7.938 kB / 0.579 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3708, allocations: 0 / 0.579 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3708, allocations: 3.984 kB / 0.579 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.3711, allocations: 216.2 kB / 0.5792 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.671e-05/0.3712, allocations: 31.78 kB / 0.5792 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.3712, allocations: 3.984 kB / 0.5792 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3714, allocations: 12 kB / 0.5792 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.3714, allocations: 11.92 kB / 0.5792 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.3714, allocations: 19.97 kB / 0.5792 GB, free: 360 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.3716, allocations: 144.5 kB / 0.5794 GB, free: 216 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3716, allocations: 0 / 0.5794 GB, free: 216 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004699/0.372, allocations: 103.9 kB / 0.5795 GB, free: 112 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * 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.0007249/0.3728, allocations: 0.8221 MB / 0.5803 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.3731, allocations: 172.5 kB / 0.5805 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3731, allocations: 0 / 0.5805 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.756e-05/0.3731, allocations: 35.92 kB / 0.5805 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.3736, allocations: 46.22 kB / 0.5805 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.3767, allocations: 2.72 MB / 0.5832 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.3768, allocations: 116.6 kB / 0.5833 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.377, allocations: 58.78 kB / 0.5834 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3771, allocations: 63.41 kB / 0.5834 GB, free: 11.7 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3771, allocations: 0 / 0.5834 GB, free: 11.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.4092, allocations: 6.409 MB / 0.5897 GB, free: 5.457 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.12, allocations: 0 / 0.5897 GB, free: 5.457 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.030855424003676]