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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009814/0.0009814, allocations: 96.2 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009103/0.0009104, allocations: 174.5 kB / 16.56 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 222.7 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3745/0.3745, allocations: 43.54 MB / 314.5 MB, free: 8.812 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.000502, allocations: 16 kB / 383.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1454, allocations: 58.85 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.385/0.5304, allocations: 125.4 MB / 0.5548 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007014/0.5375, allocations: 4.87 MB / 0.5596 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008807/0.5384, allocations: 23.75 kB / 0.5596 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000868/0.5393, allocations: 286.1 kB / 0.5599 GB, free: 8.695 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.5411, allocations: 0.7049 MB / 0.5606 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.5434, allocations: 0.8108 MB / 0.5614 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.5449, allocations: 1.024 MB / 0.5624 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005757/0.5455, allocations: 395.8 kB / 0.5627 GB, free: 5.785 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009597/0.5464, allocations: 0.5647 MB / 0.5633 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000668/0.5471, allocations: 486.4 kB / 0.5637 GB, free: 4.742 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.917e-05/0.5472, allocations: 32 kB / 0.5638 GB, free: 4.711 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.5482, allocations: 435.4 kB / 0.5642 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.5485, allocations: 211.4 kB / 0.5644 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.5487, allocations: 165.3 kB / 0.5645 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008213/0.5495, allocations: 0.7983 MB / 0.5653 GB, free: 3.117 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.5495, allocations: 0 / 0.5653 GB, free: 3.117 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5495, allocations: 0 / 0.5653 GB, free: 3.117 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.5495, allocations: 0 / 0.5653 GB, free: 3.117 MB / 430.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.001835/0.5514, allocations: 0.9205 MB / 0.5662 GB, free: 2.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5514, allocations: 16.02 kB / 0.5662 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.5517, allocations: 95.09 kB / 0.5663 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009564/0.5527, allocations: 0.4978 MB / 0.5668 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.5528, allocations: 100.4 kB / 0.5669 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.964e-05/0.5529, allocations: 51.98 kB / 0.567 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.5541, allocations: 0.8033 MB / 0.5677 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.5541, allocations: 7.891 kB / 0.5678 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.5542, allocations: 27.98 kB / 0.5678 GB, free: 444 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.5542, allocations: 36.98 kB / 0.5678 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009853/0.5552, allocations: 0.6479 MB / 0.5685 GB, free: 15.75 MB / 446.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.004464/0.5597, allocations: 3.99 MB / 0.5723 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.5604, allocations: 424.3 kB / 0.5728 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006096/0.5611, allocations: 0.7327 MB / 0.5735 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.5611, allocations: 38.89 kB / 0.5735 GB, free: 10.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/0.5611, allocations: 0 / 0.5735 GB, free: 10.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003036/0.5642, allocations: 1.54 MB / 0.575 GB, free: 8.508 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.5643, allocations: 132.5 kB / 0.5751 GB, free: 8.348 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007314/0.565, allocations: 0.5654 MB / 0.5757 GB, free: 7.773 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.5651, allocations: 37.64 kB / 0.5757 GB, free: 7.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.5653, allocations: 355 kB / 0.5761 GB, free: 7.379 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.5655, allocations: 165.7 kB / 0.5762 GB, free: 7.215 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.5655, allocations: 19.94 kB / 0.5762 GB, free: 7.195 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.5657, allocations: 378.7 kB / 0.5766 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.566, allocations: 209.9 kB / 0.5768 GB, free: 6.613 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.5666, allocations: 0.5084 MB / 0.5773 GB, free: 5.969 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.567, allocations: 312.5 kB / 0.5776 GB, free: 5.664 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.5671, allocations: 0 / 0.5776 GB, free: 5.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001698/0.5688, allocations: 0.9024 MB / 0.5785 GB, free: 4.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.5688, allocations: 12 kB / 0.5785 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.5688, allocations: 11.95 kB / 0.5785 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.5701, allocations: 290.6 kB / 0.5788 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.5705, allocations: 123.8 kB / 0.5789 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009246/0.5715, allocations: 0.8808 MB / 0.5798 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.572, allocations: 48.03 kB / 0.5798 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.572, allocations: 32 kB / 0.5798 GB, free: 3.336 MB / 446.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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003603/0.5724, allocations: 257.5 kB / 0.5801 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.5725, allocations: 67.16 kB / 0.5801 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.5737, allocations: 0.7652 MB / 0.5809 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.5738, allocations: 4 kB / 0.5809 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5738, allocations: 7.938 kB / 0.5809 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.5738, allocations: 3.984 kB / 0.5809 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.5756, allocations: 1.415 MB / 0.5823 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.5756, allocations: 12.14 kB / 0.5823 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009956/0.5766, allocations: 195.8 kB / 0.5825 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.998e-05/0.5767, allocations: 28.83 kB / 0.5825 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.5768, allocations: 12 kB / 0.5825 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.5786, allocations: 2.687 MB / 0.5851 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5786, allocations: 4.031 kB / 0.5852 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.5801, allocations: 1.072 MB / 0.5862 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.5805, allocations: 216.2 kB / 0.5864 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.5806, allocations: 15.98 kB / 0.5864 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.581, allocations: 32.03 kB / 0.5864 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.5812, allocations: 39.84 kB / 0.5865 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.5812, allocations: 23.98 kB / 0.5865 GB, free: 11.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005459/0.5818, allocations: 407 kB / 0.5869 GB, free: 11.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5818, allocations: 0 / 0.5869 GB, free: 11.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008602/0.5826, allocations: 223.9 kB / 0.5871 GB, free: 11.37 MB / 462.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000519/0.5832, allocations: 267 kB / 0.5874 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.5844, allocations: 0.5952 MB / 0.5879 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5844, allocations: 0 / 0.5879 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00097/0.5854, allocations: 454.3 kB / 0.5884 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.5868, allocations: 313.4 kB / 0.5887 GB, free: 9.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.589, allocations: 1.626 MB / 0.5903 GB, free: 8.086 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.5895, allocations: 0.9504 MB / 0.5912 GB, free: 7.109 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006684/0.5902, allocations: 204.6 kB / 0.5914 GB, free: 6.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.5904, allocations: 63.41 kB / 0.5915 GB, free: 6.848 MB / 462.1 MB Notification: Performance of SimCode: time 1.803e-06/0.5904, allocations: 0 / 0.5915 GB, free: 6.848 MB / 462.1 MB Notification: Performance of Templates: time 0.02179/0.6122, allocations: 13.7 MB / 0.6048 GB, free: 9.191 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches