Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001798/0.001798, allocations: 69.8 kB / 21.24 MB, free: 0.5547 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.002327/0.002327, allocations: 163 kB / 24.5 MB, free: 3.711 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.458/1.458, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2095/0.2095, allocations: 32.8 MB / 294.1 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002274/0.002274, allocations: 62.41 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3321, allocations: 65.45 MB / 0.4942 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1989/0.531, allocations: 153.9 MB / 0.6444 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008114/0.5391, allocations: 4.93 MB / 0.6493 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007155/0.5399, allocations: 23.75 kB / 0.6493 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.5409, allocations: 306 kB / 0.6496 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003632/0.5445, allocations: 1.282 MB / 0.6508 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.5473, allocations: 0.9868 MB / 0.6518 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002536/0.5498, allocations: 1.864 MB / 0.6536 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007028/0.5505, allocations: 397.6 kB / 0.654 GB, free: 4.844 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.5529, allocations: 1.117 MB / 0.6551 GB, free: 3.723 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.5541, allocations: 0.6929 MB / 0.6558 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.5542, allocations: 60 kB / 0.6558 GB, free: 2.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.5557, allocations: 0.55 MB / 0.6563 GB, free: 2.418 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000348/0.5561, allocations: 275.1 kB / 0.6566 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004615/0.5565, allocations: 334.6 kB / 0.6569 GB, free: 1.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.5585, allocations: 1.3 MB / 0.6582 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5585, allocations: 0 / 0.6582 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5585, allocations: 0 / 0.6582 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.5585, allocations: 4 kB / 0.6582 GB, free: 0.5117 MB / 0.545 GB 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.002293/0.5608, allocations: 1.041 MB / 0.6592 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.5609, allocations: 8.031 kB / 0.6592 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008476/0.5617, allocations: 143.4 kB / 0.6594 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009243/0.5626, allocations: 481.4 kB / 0.6598 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.5628, allocations: 155.7 kB / 0.66 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.8e-05/0.5629, allocations: 51.98 kB / 0.66 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.5644, allocations: 1.139 MB / 0.6611 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.5644, allocations: 4 kB / 0.6611 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-05/0.5645, allocations: 27.98 kB / 0.6612 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-05/0.5646, allocations: 44.86 kB / 0.6612 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.5657, allocations: 0.6243 MB / 0.6618 GB, free: 12.57 MB / 0.5606 GB 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.004655/0.5703, allocations: 3.216 MB / 0.665 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/0.571, allocations: 330.9 kB / 0.6653 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.5713, allocations: 161.3 kB / 0.6654 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.5714, allocations: 20.27 kB / 0.6654 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.5714, allocations: 34.84 kB / 0.6655 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.5714, allocations: 7.938 kB / 0.6655 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006009/0.5774, allocations: 1.59 MB / 0.667 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.5775, allocations: 140.5 kB / 0.6672 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/0.5782, allocations: 0.5338 MB / 0.6677 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.5783, allocations: 37.7 kB / 0.6677 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.5786, allocations: 384.2 kB / 0.6681 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.5788, allocations: 150.8 kB / 0.6682 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.579, allocations: 158.6 kB / 0.6684 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.5792, allocations: 366.8 kB / 0.6687 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.5796, allocations: 201.9 kB / 0.6689 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/0.5803, allocations: 0.588 MB / 0.6695 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.5813, allocations: 0.7523 MB / 0.6702 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.5813, allocations: 8 kB / 0.6703 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001583/0.5829, allocations: 0.8728 MB / 0.6711 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.5829, allocations: 11.94 kB / 0.6711 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.583, allocations: 16.12 kB / 0.6711 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/0.5844, allocations: 300.6 kB / 0.6714 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.5849, allocations: 127.8 kB / 0.6715 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.5861, allocations: 0.9347 MB / 0.6725 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.5866, allocations: 23.98 kB / 0.6725 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.5867, allocations: 71.98 kB / 0.6725 GB, free: 0.9883 MB / 0.5606 GB 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.0003753/0.587, allocations: 249.5 kB / 0.6728 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.5872, allocations: 63.62 kB / 0.6728 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.5888, allocations: 0.8612 MB / 0.6737 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.5888, allocations: 8 kB / 0.6737 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.5888, allocations: 0 / 0.6737 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.5889, allocations: 3.984 kB / 0.6737 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.5908, allocations: 1.079 MB / 0.6747 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.5908, allocations: 3.938 kB / 0.6748 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.5919, allocations: 215.9 kB / 0.675 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-05/0.592, allocations: 28.78 kB / 0.675 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/0.592, allocations: 23.98 kB / 0.675 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.5942, allocations: 2.617 MB / 0.6776 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5942, allocations: 4.031 kB / 0.6776 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.5955, allocations: 0.8144 MB / 0.6784 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.5958, allocations: 115.5 kB / 0.6785 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.5959, allocations: 16 kB / 0.6785 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.5962, allocations: 20.2 kB / 0.6785 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.5963, allocations: 43.88 kB / 0.6785 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.358e-05/0.5964, allocations: 43.98 kB / 0.6786 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004518/0.5969, allocations: 358.8 kB / 0.6789 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5969, allocations: 0 / 0.6789 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009273/0.5978, allocations: 247.8 kB / 0.6792 GB, free: 9.875 MB / 0.5762 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 (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.0006203/0.5984, allocations: 282.7 kB / 0.6794 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.5996, allocations: 0.5343 MB / 0.68 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5996, allocations: 0 / 0.68 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.6006, allocations: 407.7 kB / 0.6803 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.602, allocations: 308.1 kB / 0.6806 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.6043, allocations: 1.339 MB / 0.682 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.6046, allocations: 340.2 kB / 0.6823 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000949/0.6056, allocations: 454.4 kB / 0.6827 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.6059, allocations: 104.5 kB / 0.6828 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.6059, allocations: 0 / 0.6828 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of Templates: time 0.2577/0.8636, allocations: 15.74 MB / 0.6982 GB, free: 167.3 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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: 6.130150564014912]