Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.0007935/0.0007935, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001037/0.001037, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.891/0.891, allocations: 158.6 MB / 185 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.1375/0.1375, allocations: 32.38 MB / 269.6 MB, free: 14.97 MB / 266.7 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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.528e-05, allocations: 5.938 kB / 406.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4082/0.4082, allocations: 155.6 MB / 0.5493 GB, free: 6.922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007938/0.4161, allocations: 7.508 MB / 0.5566 GB, free: 1.922 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006756/0.4168, allocations: 27.19 kB / 0.5566 GB, free: 1.906 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000852/0.4177, allocations: 312.4 kB / 0.5569 GB, free: 1.738 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00372/0.4214, allocations: 1.557 MB / 0.5585 GB, free: 0.918 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.4242, allocations: 1.202 MB / 0.5596 GB, free: 272 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002982/0.4272, allocations: 1.89 MB / 0.5615 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009338/0.4281, allocations: 390.8 kB / 0.5619 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003157/0.4312, allocations: 1.501 MB / 0.5633 GB, free: 13.96 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008801/0.4321, allocations: 0.6463 MB / 0.564 GB, free: 13.61 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.4322, allocations: 63.44 kB / 0.564 GB, free: 13.61 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.4338, allocations: 0.7501 MB / 0.5647 GB, free: 13.27 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.4341, allocations: 288.3 kB / 0.565 GB, free: 13.07 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.4344, allocations: 284.3 kB / 0.5653 GB, free: 12.94 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.4365, allocations: 1.53 MB / 0.5668 GB, free: 11.96 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4365, allocations: 0 / 0.5668 GB, free: 11.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4365, allocations: 0 / 0.5668 GB, free: 11.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.4366, allocations: 0 / 0.5668 GB, free: 11.96 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002131/0.4387, allocations: 1.073 MB / 0.5678 GB, free: 11.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.4387, allocations: 7.75 kB / 0.5678 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.4388, allocations: 99.97 kB / 0.5679 GB, free: 11.08 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005157/0.4394, allocations: 139.8 kB / 0.5681 GB, free: 11.01 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.4401, allocations: 483.2 kB / 0.5685 GB, free: 10.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.4403, allocations: 153.5 kB / 0.5687 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-05/0.4404, allocations: 52.02 kB / 0.5687 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.4416, allocations: 1.17 MB / 0.5699 GB, free: 9.461 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.4416, allocations: 1.125 kB / 0.5699 GB, free: 9.461 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.4417, allocations: 24.09 kB / 0.5699 GB, free: 9.445 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/0.4417, allocations: 45.84 kB / 0.5699 GB, free: 9.426 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007891/0.4425, allocations: 0.6135 MB / 0.5705 GB, free: 9.129 MB / 458.7 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.003891/0.4464, allocations: 3.31 MB / 0.5738 GB, free: 6.355 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.4469, allocations: 334 kB / 0.5741 GB, free: 6.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.4471, allocations: 162.8 kB / 0.5742 GB, free: 6.094 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000335/0.4474, allocations: 137 kB / 0.5744 GB, free: 6.039 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.4474, allocations: 46.94 kB / 0.5744 GB, free: 5.992 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 3.757e-06/0.4474, allocations: 0 / 0.5744 GB, free: 5.992 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.003718/0.4512, allocations: 1.591 MB / 0.576 GB, free: 5.051 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.4512, allocations: 138.4 kB / 0.5761 GB, free: 4.891 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007003/0.4519, allocations: 0.6295 MB / 0.5767 GB, free: 4.516 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.452, allocations: 41.64 kB / 0.5768 GB, free: 4.473 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.4522, allocations: 376 kB / 0.5771 GB, free: 4.137 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.4524, allocations: 143 kB / 0.5773 GB, free: 4.012 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.4525, allocations: 156.5 kB / 0.5774 GB, free: 3.926 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4527, allocations: 379 kB / 0.5778 GB, free: 3.562 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.453, allocations: 204.4 kB / 0.578 GB, free: 3.469 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.4535, allocations: 0.5924 MB / 0.5785 GB, free: 2.746 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/0.4542, allocations: 0.7487 MB / 0.5793 GB, free: 1.859 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.4542, allocations: 4.5 kB / 0.5793 GB, free: 1.855 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001588/0.4558, allocations: 0.8766 MB / 0.5801 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.4559, allocations: 8 kB / 0.5801 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.4559, allocations: 12 kB / 0.5801 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009875/0.4569, allocations: 320.1 kB / 0.5805 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.4571, allocations: 117.9 kB / 0.5806 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009199/0.4581, allocations: 0.9309 MB / 0.5815 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.4585, allocations: 31.98 kB / 0.5815 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.4586, allocations: 68.06 kB / 0.5816 GB, free: 15.47 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000367/0.459, allocations: 247.7 kB / 0.5818 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/0.459, allocations: 75.52 kB / 0.5819 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.46, allocations: 0.6748 MB / 0.5825 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.4601, allocations: 7.984 kB / 0.5825 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.4601, allocations: 1.75 kB / 0.5825 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4601, allocations: 7.984 kB / 0.5826 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.4618, allocations: 1.219 MB / 0.5837 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4618, allocations: 0 / 0.5837 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006083/0.4624, allocations: 199.8 kB / 0.5839 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.4625, allocations: 28.97 kB / 0.584 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.4626, allocations: 27.92 kB / 0.584 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.4645, allocations: 2.67 MB / 0.5866 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4645, allocations: 0 / 0.5866 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.4658, allocations: 0.8092 MB / 0.5874 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.466, allocations: 119.5 kB / 0.5875 GB, free: 9.047 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.466, allocations: 8 kB / 0.5875 GB, free: 9.039 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.4662, allocations: 23.92 kB / 0.5875 GB, free: 9.016 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.4663, allocations: 39.8 kB / 0.5876 GB, free: 8.977 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.4664, allocations: 43.98 kB / 0.5876 GB, free: 8.934 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004199/0.4668, allocations: 443.2 kB / 0.588 GB, free: 8.504 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4668, allocations: 0 / 0.588 GB, free: 8.504 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001035/0.4678, allocations: 295.6 kB / 0.5883 GB, free: 8.215 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001936/0.4698, allocations: 1.63 MB / 0.5899 GB, free: 6.555 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008769/0.4707, allocations: 0.5279 MB / 0.5904 GB, free: 6.031 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4707, allocations: 4 kB / 0.5904 GB, free: 6.027 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006093/0.4713, allocations: 406.4 kB / 0.5908 GB, free: 5.617 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.4723, allocations: 366.8 kB / 0.5912 GB, free: 5.285 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006971/0.4793, allocations: 6.229 MB / 0.5972 GB, free: 14.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.4796, allocations: 336.7 kB / 0.5976 GB, free: 14.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007543/0.4803, allocations: 259.4 kB / 0.5978 GB, free: 14.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/0.4806, allocations: 272.4 kB / 0.5981 GB, free: 13.77 MB / 490.7 MB Notification: Performance of SimCode: time 2.034e-06/0.4806, allocations: 0 / 0.5981 GB, free: 13.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04963/0.5303, allocations: 26.81 MB / 0.6243 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.686, allocations: 3.984 kB / 0.6243 GB, free: 2.941 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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: 10.832837656140327]