Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001716/0.001716, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002335/0.002335, allocations: 223.2 kB / 23 MB, free: 4.973 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.572/1.572, allocations: 207.7 MB / 233.8 MB, free: 9.781 MB / 190.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.223/0.223, allocations: 44.26 MB / 330.3 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 180] 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.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.00318/0.00318, allocations: 77.14 kB / 467.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1427, allocations: 61.04 MB / 0.5162 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.2505/0.3933, allocations: 24.05 MB / 0.5397 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.3963, allocations: 2.67 MB / 0.5423 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3964, allocations: 3.672 kB / 0.5423 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.3968, allocations: 53.66 kB / 0.5423 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002027/0.3988, allocations: 0.7361 MB / 0.5431 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.3991, allocations: 138.2 kB / 0.5432 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005354/0.3997, allocations: 371.9 kB / 0.5435 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/0.3997, allocations: 9.891 kB / 0.5436 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03999/0.4397, allocations: 15.31 MB / 0.5585 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005182/0.4402, allocations: 142 kB / 0.5586 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.4403, allocations: 8.062 kB / 0.5587 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009643/0.4499, allocations: 3.375 MB / 0.562 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.4501, allocations: 49.78 kB / 0.562 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.4504, allocations: 92.56 kB / 0.5621 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.4521, allocations: 457.6 kB / 0.5625 GB, free: 4.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4521, allocations: 1.281 kB / 0.5625 GB, free: 4.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4521, allocations: 4 kB / 0.5625 GB, free: 4.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.4521, allocations: 0 / 0.5625 GB, free: 4.93 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.001266/0.4534, allocations: 0.5295 MB / 0.563 GB, free: 4.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4534, allocations: 10.53 kB / 0.5631 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.4535, allocations: 60.64 kB / 0.5631 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.4537, allocations: 31.81 kB / 0.5631 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.454, allocations: 169.4 kB / 0.5633 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.4542, allocations: 228.3 kB / 0.5635 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.4542, allocations: 25.56 kB / 0.5635 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.4548, allocations: 491.2 kB / 0.564 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4548, allocations: 0 / 0.564 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.4548, allocations: 7.438 kB / 0.564 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.4548, allocations: 7.594 kB / 0.564 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009486/0.4558, allocations: 0.7148 MB / 0.5647 GB, free: 3.559 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.001182/0.457, allocations: 1.085 MB / 0.5658 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.4573, allocations: 158.1 kB / 0.5659 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.4574, allocations: 78.45 kB / 0.566 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.4589, allocations: 0.712 MB / 0.5667 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.4589, allocations: 38.67 kB / 0.5667 GB, free: 2.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.4589, allocations: 3.938 kB / 0.5667 GB, free: 2.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002967/0.4592, allocations: 119 kB / 0.5669 GB, free: 2.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.4592, allocations: 56.97 kB / 0.5669 GB, free: 1.992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.4593, allocations: 237.1 kB / 0.5671 GB, free: 1.824 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.4594, allocations: 31.48 kB / 0.5672 GB, free: 1.789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.4594, allocations: 225.9 kB / 0.5674 GB, free: 1.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.4595, allocations: 46.83 kB / 0.5674 GB, free: 1.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-05/0.4595, allocations: 85.84 kB / 0.5675 GB, free: 1.484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.4596, allocations: 327.1 kB / 0.5678 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.4597, allocations: 45.22 kB / 0.5679 GB, free: 1.145 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.4598, allocations: 351.6 kB / 0.5682 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.4602, allocations: 449.2 kB / 0.5686 GB, free: 232 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.4602, allocations: 3.156 kB / 0.5686 GB, free: 232 kB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005373/0.4607, allocations: 382.6 kB / 0.569 GB, free: 24 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4607, allocations: 9.312 kB / 0.569 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.4608, allocations: 11.66 kB / 0.569 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/0.4608, allocations: 17.88 kB / 0.569 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.461, allocations: 97.48 kB / 0.5691 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/0.4611, allocations: 25.75 kB / 0.5692 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.4613, allocations: 56.09 kB / 0.5692 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.4614, allocations: 32.52 kB / 0.5692 GB, free: 15.94 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001613/0.4616, allocations: 147.9 kB / 0.5694 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.4616, allocations: 21.95 kB / 0.5694 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.4619, allocations: 150 kB / 0.5695 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.4619, allocations: 2.25 kB / 0.5695 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4619, allocations: 0 / 0.5695 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4619, allocations: 1.062 kB / 0.5695 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/0.4625, allocations: 379.5 kB / 0.5699 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4625, allocations: 1.375 kB / 0.5699 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.4625, allocations: 18.98 kB / 0.5699 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4625, allocations: 5.469 kB / 0.5699 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.4625, allocations: 2.75 kB / 0.5699 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4626, allocations: 1.375 kB / 0.5699 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4626, allocations: 1.562 kB / 0.5699 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.4628, allocations: 205.7 kB / 0.5701 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.4629, allocations: 18.77 kB / 0.5702 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.4629, allocations: 12.05 kB / 0.5702 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.4631, allocations: 12.11 kB / 0.5702 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.4631, allocations: 6.688 kB / 0.5702 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.4631, allocations: 8.297 kB / 0.5702 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.4633, allocations: 161.2 kB / 0.5703 GB, free: 14.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4633, allocations: 3.938 kB / 0.5703 GB, free: 14.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005359/0.4638, allocations: 85.5 kB / 0.5704 GB, free: 14.94 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0007142/0.4645, allocations: 0.8059 MB / 0.5712 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.4648, allocations: 159.8 kB / 0.5714 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4648, allocations: 5.281 kB / 0.5714 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.059e-05/0.4649, allocations: 21.11 kB / 0.5714 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.4653, allocations: 47.7 kB / 0.5714 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/0.4691, allocations: 2.81 MB / 0.5742 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.4692, allocations: 115.4 kB / 0.5743 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.4694, allocations: 53.61 kB / 0.5743 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.4695, allocations: 59.33 kB / 0.5744 GB, free: 11.36 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4695, allocations: 96 / 0.5744 GB, free: 11.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.5029, allocations: 5.889 MB / 0.5802 GB, free: 8.035 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12, allocations: 7.297 kB / 0.5802 GB, free: 8.031 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.755714476108551]