Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001516/0.001516, allocations: 88.34 kB / 20.95 MB, free: 3.457 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.001716/0.001716, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.496/1.496, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3461/0.3461, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.435e-05, allocations: 2.312 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.34/0.3401, allocations: 130.2 MB / 0.4956 GB, free: 26.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00727/0.3473, allocations: 5.167 MB / 0.5006 GB, free: 22.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000734/0.3481, allocations: 27.69 kB / 0.5007 GB, free: 22.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.3491, allocations: 310.1 kB / 0.501 GB, free: 22.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.3513, allocations: 0.9224 MB / 0.5019 GB, free: 21.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.3544, allocations: 1.069 MB / 0.5029 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002449/0.3568, allocations: 1.836 MB / 0.5047 GB, free: 20.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006888/0.3575, allocations: 420.3 kB / 0.5051 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.3592, allocations: 1.004 MB / 0.5061 GB, free: 19.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.3604, allocations: 0.6943 MB / 0.5068 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.3606, allocations: 61.91 kB / 0.5068 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.3622, allocations: 494.6 kB / 0.5073 GB, free: 19.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003597/0.3626, allocations: 289.7 kB / 0.5076 GB, free: 19.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004258/0.363, allocations: 277.8 kB / 0.5078 GB, free: 19.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.3646, allocations: 1.216 MB / 0.509 GB, free: 18.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3646, allocations: 0 / 0.509 GB, free: 18.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3646, allocations: 4 kB / 0.509 GB, free: 18.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.3646, allocations: 0 / 0.509 GB, free: 18.82 MB / 410.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.001905/0.3665, allocations: 0.9926 MB / 0.51 GB, free: 18.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3666, allocations: 8.156 kB / 0.51 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004247/0.367, allocations: 156.6 kB / 0.5102 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007465/0.3678, allocations: 0.4944 MB / 0.5106 GB, free: 17.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.3679, allocations: 156.2 kB / 0.5108 GB, free: 17.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.368, allocations: 53.41 kB / 0.5108 GB, free: 17.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.3692, allocations: 1.143 MB / 0.512 GB, free: 16.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.3692, allocations: 3.094 kB / 0.512 GB, free: 16.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.925e-05/0.3692, allocations: 27.75 kB / 0.512 GB, free: 16.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.567e-05/0.3693, allocations: 43.81 kB / 0.512 GB, free: 16.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009489/0.3702, allocations: 0.6468 MB / 0.5127 GB, free: 16.54 MB / 410.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.003503/0.3738, allocations: 3.074 MB / 0.5157 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/0.3745, allocations: 406.8 kB / 0.516 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.3748, allocations: 188.6 kB / 0.5162 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.375, allocations: 69.61 kB / 0.5163 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.3751, allocations: 39.95 kB / 0.5163 GB, free: 14.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.993e-06/0.3751, allocations: 0 / 0.5163 GB, free: 14.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.002835/0.3779, allocations: 1.399 MB / 0.5177 GB, free: 13.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.3779, allocations: 139 kB / 0.5178 GB, free: 13.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.3784, allocations: 0.5269 MB / 0.5183 GB, free: 12.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.3785, allocations: 36.55 kB / 0.5184 GB, free: 12.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.3787, allocations: 365.6 kB / 0.5187 GB, free: 12.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.3788, allocations: 167.7 kB / 0.5189 GB, free: 12.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.3789, allocations: 140.5 kB / 0.519 GB, free: 12.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.379, allocations: 368.8 kB / 0.5194 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.3794, allocations: 213 kB / 0.5196 GB, free: 11.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.3798, allocations: 0.5891 MB / 0.5202 GB, free: 11.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007755/0.3806, allocations: 0.769 MB / 0.5209 GB, free: 10.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3806, allocations: 5.469 kB / 0.5209 GB, free: 10.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001357/0.382, allocations: 0.9326 MB / 0.5218 GB, free: 10.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.382, allocations: 7.969 kB / 0.5218 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.382, allocations: 12.16 kB / 0.5218 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.3833, allocations: 287.4 kB / 0.5221 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.3836, allocations: 122.8 kB / 0.5222 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007996/0.3844, allocations: 0.9003 MB / 0.5231 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.3848, allocations: 23.55 kB / 0.5231 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.3849, allocations: 39.78 kB / 0.5232 GB, free: 9.633 MB / 410.7 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 (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.0002366/0.3851, allocations: 246.6 kB / 0.5234 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.3852, allocations: 81.06 kB / 0.5235 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.3863, allocations: 0.7009 MB / 0.5242 GB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.3863, allocations: 5.438 kB / 0.5242 GB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.3863, allocations: 0 / 0.5242 GB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3863, allocations: 2.391 kB / 0.5242 GB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.3878, allocations: 1.169 MB / 0.5253 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3878, allocations: 2.438 kB / 0.5253 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009926/0.3888, allocations: 201.7 kB / 0.5255 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.234e-05/0.3889, allocations: 26.38 kB / 0.5255 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.3889, allocations: 15.86 kB / 0.5255 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.3902, allocations: 2.631 MB / 0.5281 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3902, allocations: 6.031 kB / 0.5281 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.3914, allocations: 0.9564 MB / 0.5291 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.3916, allocations: 114.1 kB / 0.5292 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.3916, allocations: 19.36 kB / 0.5292 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.392, allocations: 14.2 kB / 0.5292 GB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.3921, allocations: 37.7 kB / 0.5292 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.3921, allocations: 24.36 kB / 0.5293 GB, free: 5.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003209/0.3925, allocations: 351.8 kB / 0.5296 GB, free: 5.074 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3925, allocations: 0 / 0.5296 GB, free: 5.074 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007464/0.3932, allocations: 234.1 kB / 0.5298 GB, free: 5.027 MB / 410.7 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 (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.0003787/0.3936, allocations: 243.4 kB / 0.53 GB, free: 4.887 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.3946, allocations: 0.5754 MB / 0.5306 GB, free: 4.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3946, allocations: 2.844 kB / 0.5306 GB, free: 4.695 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009481/0.3956, allocations: 449.9 kB / 0.531 GB, free: 4.492 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.397, allocations: 339.8 kB / 0.5314 GB, free: 4.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.3987, allocations: 1.298 MB / 0.5326 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.3989, allocations: 343.6 kB / 0.533 GB, free: 3.547 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005403/0.3995, allocations: 197.1 kB / 0.5331 GB, free: 3.508 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.3996, allocations: 57.83 kB / 0.5332 GB, free: 3.5 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3996, allocations: 3.938 kB / 0.5332 GB, free: 3.496 MB / 410.7 MB Notification: Performance of Templates: time 0.0246/0.4242, allocations: 14.29 MB / 0.5472 GB, free: 8.363 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.674592047929764]