Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009358/0.0009358, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009512/0.0009512, allocations: 161 kB / 24.56 MB, free: 12 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.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2745/0.2745, allocations: 32.79 MB / 294.3 MB, free: 1.23 MB / 266.7 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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.504e-05, allocations: 2.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.327/0.3271, allocations: 134.6 MB / 0.4987 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005061/0.3321, allocations: 3.089 MB / 0.5017 GB, free: 25.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007917/0.3329, allocations: 27.75 kB / 0.5017 GB, free: 25.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000847/0.3338, allocations: 216.5 kB / 0.5019 GB, free: 25.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.3357, allocations: 0.7807 MB / 0.5027 GB, free: 24.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.3384, allocations: 0.9027 MB / 0.5035 GB, free: 24.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002983/0.3413, allocations: 1.856 MB / 0.5054 GB, free: 23.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008952/0.3422, allocations: 433.2 kB / 0.5058 GB, free: 23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.3441, allocations: 0.9039 MB / 0.5067 GB, free: 22.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.3454, allocations: 0.6949 MB / 0.5073 GB, free: 22.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.3456, allocations: 70.19 kB / 0.5074 GB, free: 22.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008623/0.3465, allocations: 281.6 kB / 0.5077 GB, free: 22.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.3468, allocations: 285.1 kB / 0.5079 GB, free: 22.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004453/0.3473, allocations: 288.5 kB / 0.5082 GB, free: 22.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.3486, allocations: 0.7991 MB / 0.509 GB, free: 21.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3486, allocations: 0 / 0.509 GB, free: 21.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3486, allocations: 3.406 kB / 0.509 GB, free: 21.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.3486, allocations: 0 / 0.509 GB, free: 21.77 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.00164/0.3503, allocations: 1.082 MB / 0.5101 GB, free: 21.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3503, allocations: 9.188 kB / 0.5101 GB, free: 21.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.3506, allocations: 156.7 kB / 0.5102 GB, free: 20.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/0.3512, allocations: 499.7 kB / 0.5107 GB, free: 20.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.3513, allocations: 149.1 kB / 0.5108 GB, free: 20.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.576e-05/0.3514, allocations: 56.41 kB / 0.5109 GB, free: 20.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007519/0.3521, allocations: 0.9784 MB / 0.5118 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3522, allocations: 11.3 kB / 0.5119 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.3522, allocations: 25.66 kB / 0.5119 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.3523, allocations: 36.48 kB / 0.5119 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.3527, allocations: 304.8 kB / 0.5122 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.355, allocations: 3.504 MB / 0.5156 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.3554, allocations: 276.6 kB / 0.5159 GB, free: 16.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.3556, allocations: 97.02 kB / 0.516 GB, free: 16.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.3557, allocations: 45.53 kB / 0.516 GB, free: 16.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3557, allocations: 46.94 kB / 0.5161 GB, free: 16.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.3557, allocations: 0 / 0.5161 GB, free: 16.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001694/0.3574, allocations: 0.9778 MB / 0.517 GB, free: 15.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.3575, allocations: 142 kB / 0.5172 GB, free: 15.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.3578, allocations: 0.5272 MB / 0.5177 GB, free: 15.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.3579, allocations: 32.48 kB / 0.5177 GB, free: 15.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.358, allocations: 424 kB / 0.5181 GB, free: 15.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.3581, allocations: 175.7 kB / 0.5183 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.3582, allocations: 142.1 kB / 0.5184 GB, free: 14.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.3583, allocations: 0.5507 MB / 0.5189 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.3585, allocations: 87.09 kB / 0.519 GB, free: 14.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.3588, allocations: 0.5946 MB / 0.5196 GB, free: 13.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.3592, allocations: 0.6384 MB / 0.5202 GB, free: 13.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3592, allocations: 10.03 kB / 0.5202 GB, free: 13.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000788/0.36, allocations: 0.6608 MB / 0.5209 GB, free: 12.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.36, allocations: 12.06 kB / 0.5209 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.36, allocations: 8.969 kB / 0.5209 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006981/0.3607, allocations: 235.1 kB / 0.5211 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.361, allocations: 115.7 kB / 0.5212 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004945/0.3615, allocations: 0.9743 MB / 0.5222 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.3617, allocations: 21.66 kB / 0.5222 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.3617, allocations: 43.25 kB / 0.5223 GB, free: 11.83 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.0001491/0.3619, allocations: 205.5 kB / 0.5225 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.3619, allocations: 80.94 kB / 0.5225 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/0.3626, allocations: 0.4947 MB / 0.523 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.3626, allocations: 6.656 kB / 0.523 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.3626, allocations: 2.719 kB / 0.523 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3626, allocations: 2.906 kB / 0.523 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.3636, allocations: 0.9497 MB / 0.524 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3636, allocations: 4.719 kB / 0.524 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.3641, allocations: 197.5 kB / 0.5241 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.998e-05/0.3641, allocations: 23.92 kB / 0.5242 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.3642, allocations: 17.59 kB / 0.5242 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009683/0.3651, allocations: 3.565 MB / 0.5277 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3651, allocations: 2.469 kB / 0.5277 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005911/0.3657, allocations: 0.6463 MB / 0.5283 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.3659, allocations: 108.5 kB / 0.5284 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.3659, allocations: 17.36 kB / 0.5284 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.3661, allocations: 15.08 kB / 0.5284 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.3661, allocations: 39.09 kB / 0.5285 GB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.3662, allocations: 20.94 kB / 0.5285 GB, free: 6.605 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002129/0.3664, allocations: 335.7 kB / 0.5288 GB, free: 6.434 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3664, allocations: 0 / 0.5288 GB, free: 6.434 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000518/0.3669, allocations: 196.1 kB / 0.529 GB, free: 6.406 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 (45): * Single equations (assignments): 41 * 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.000269/0.3672, allocations: 173 kB / 0.5292 GB, free: 6.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006658/0.3678, allocations: 406.4 kB / 0.5296 GB, free: 6.176 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3678, allocations: 0.5 kB / 0.5296 GB, free: 6.176 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004898/0.3683, allocations: 418 kB / 0.53 GB, free: 5.949 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008337/0.3692, allocations: 331.5 kB / 0.5303 GB, free: 5.871 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.3709, allocations: 1.183 MB / 0.5314 GB, free: 5.148 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.371, allocations: 173.5 kB / 0.5316 GB, free: 5.062 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003957/0.3714, allocations: 176.1 kB / 0.5318 GB, free: 5.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.3715, allocations: 60.28 kB / 0.5318 GB, free: 5.008 MB / 410.7 MB Notification: Performance of SimCode: time 1.844e-06/0.3715, allocations: 0 / 0.5318 GB, free: 5.008 MB / 410.7 MB Notification: Performance of Templates: time 0.01497/0.3865, allocations: 12.89 MB / 0.5444 GB, free: 15.68 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.02238213410601]