Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001864/0.001864, allocations: 104.3 kB / 20.45 MB, free: 1.383 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.002079/0.002079, allocations: 206.2 kB / 23.74 MB, free: 4.543 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.484/1.484, allocations: 207.7 MB / 234.6 MB, free: 9.801 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.2405/0.2405, allocations: 44.27 MB / 331.1 MB, free: 9.309 MB / 270.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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [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.002341/0.002341, allocations: 67.91 kB / 468.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1221, allocations: 61.05 MB / 0.5174 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3831/0.5052, allocations: 127.3 MB / 0.6418 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008363/0.5136, allocations: 5.162 MB / 0.6468 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006309/0.5142, allocations: 27.75 kB / 0.6468 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.5153, allocations: 322 kB / 0.6471 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.5175, allocations: 0.8824 MB / 0.648 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.5204, allocations: 1.046 MB / 0.649 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002257/0.5227, allocations: 1.817 MB / 0.6508 GB, free: 9.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006418/0.5233, allocations: 397.6 kB / 0.6512 GB, free: 8.918 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.5247, allocations: 0.7786 MB / 0.6519 GB, free: 8.137 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.5259, allocations: 0.7318 MB / 0.6526 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.5261, allocations: 64 kB / 0.6527 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.5272, allocations: 479.1 kB / 0.6532 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003397/0.5275, allocations: 283.2 kB / 0.6534 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004921/0.528, allocations: 330.6 kB / 0.6537 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.5296, allocations: 1.143 MB / 0.6549 GB, free: 5.133 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5296, allocations: 0 / 0.6549 GB, free: 5.133 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5296, allocations: 0 / 0.6549 GB, free: 5.133 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.5296, allocations: 0 / 0.6549 GB, free: 5.133 MB / 494.1 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.002137/0.5317, allocations: 0.9989 MB / 0.6558 GB, free: 4.098 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5318, allocations: 12.02 kB / 0.6558 GB, free: 4.086 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003617/0.5321, allocations: 88.47 kB / 0.6559 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009947/0.5331, allocations: 490.7 kB / 0.6564 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.5333, allocations: 156.4 kB / 0.6565 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.5334, allocations: 52.52 kB / 0.6566 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.535, allocations: 1.17 MB / 0.6577 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.535, allocations: 0 / 0.6577 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.236e-05/0.535, allocations: 20 kB / 0.6578 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.254e-05/0.5351, allocations: 44.86 kB / 0.6578 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5362, allocations: 0.6518 MB / 0.6584 GB, free: 1.227 MB / 494.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.004507/0.5407, allocations: 3.078 MB / 0.6614 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/0.5416, allocations: 404.1 kB / 0.6618 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.5419, allocations: 197.4 kB / 0.662 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/0.5422, allocations: 56.28 kB / 0.6621 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.5423, allocations: 38.89 kB / 0.6621 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.214e-06/0.5423, allocations: 0 / 0.6621 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003367/0.5456, allocations: 1.406 MB / 0.6635 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.478e-05/0.5457, allocations: 132.5 kB / 0.6636 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006506/0.5464, allocations: 0.5143 MB / 0.6641 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.5464, allocations: 37.7 kB / 0.6641 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.5467, allocations: 376.3 kB / 0.6645 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.5469, allocations: 170.6 kB / 0.6647 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.5471, allocations: 142.6 kB / 0.6648 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.5473, allocations: 374.7 kB / 0.6652 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.5477, allocations: 213.9 kB / 0.6654 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007264/0.5484, allocations: 0.5837 MB / 0.6659 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.5495, allocations: 0.7652 MB / 0.6667 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.5495, allocations: 4 kB / 0.6667 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001692/0.5512, allocations: 0.898 MB / 0.6676 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.5512, allocations: 8.969 kB / 0.6676 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.5512, allocations: 12 kB / 0.6676 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.5526, allocations: 297.4 kB / 0.6679 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.553, allocations: 123.8 kB / 0.668 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.5541, allocations: 0.8858 MB / 0.6688 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.5545, allocations: 24 kB / 0.6689 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.5546, allocations: 44.62 kB / 0.6689 GB, free: 5.941 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003763/0.555, allocations: 245.6 kB / 0.6691 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.5551, allocations: 59.62 kB / 0.6692 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.5565, allocations: 0.6964 MB / 0.6699 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.5565, allocations: 11.94 kB / 0.6699 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5565, allocations: 0 / 0.6699 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.5565, allocations: 3.984 kB / 0.6699 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.5585, allocations: 1.164 MB / 0.671 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.5585, allocations: 4 kB / 0.671 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.5596, allocations: 204 kB / 0.6712 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.734e-05/0.5597, allocations: 20.84 kB / 0.6713 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.5597, allocations: 16 kB / 0.6713 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/0.5621, allocations: 2.627 MB / 0.6738 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5621, allocations: 7.969 kB / 0.6738 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.5636, allocations: 0.9374 MB / 0.6748 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.564, allocations: 127.5 kB / 0.6749 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.173e-05/0.564, allocations: 12.28 kB / 0.6749 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.5644, allocations: 23.98 kB / 0.6749 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/0.5645, allocations: 39.72 kB / 0.675 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.706e-05/0.5646, allocations: 19.98 kB / 0.675 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004676/0.565, allocations: 362.8 kB / 0.6753 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.565, allocations: 3.938 kB / 0.6753 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008238/0.5659, allocations: 219.8 kB / 0.6755 GB, free: 14.84 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006001/0.5665, allocations: 273 kB / 0.6758 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.5677, allocations: 0.572 MB / 0.6764 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5677, allocations: 0 / 0.6764 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.5688, allocations: 430.3 kB / 0.6768 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.5702, allocations: 324.4 kB / 0.6771 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.5725, allocations: 1.418 MB / 0.6785 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.5729, allocations: 337.1 kB / 0.6788 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.5731, allocations: 71.41 kB / 0.6788 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of SimCode: time 7.32e-07/0.5731, allocations: 4 kB / 0.6788 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.02305/0.5961, allocations: 15.52 MB / 0.694 GB, free: 11.84 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.57304396899417]