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.001187/0.001187, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00095/0.00095, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 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.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.2922/0.2922, allocations: 34.26 MB / 296.1 MB, free: 0.6523 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 2.094e-06/2.094e-06, allocations: 0 / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.797e-05, allocations: 6.312 kB / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3613/0.3613, allocations: 132 MB / 0.4986 GB, free: 26.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004395/0.3657, allocations: 3.069 MB / 0.5016 GB, free: 24.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003778/0.3661, allocations: 27.25 kB / 0.5016 GB, free: 24.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007006/0.3668, allocations: 212.8 kB / 0.5018 GB, free: 24.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.3679, allocations: 0.7815 MB / 0.5026 GB, free: 23.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.3693, allocations: 0.9083 MB / 0.5035 GB, free: 23.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.3707, allocations: 1.857 MB / 0.5053 GB, free: 22.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004168/0.3711, allocations: 423.8 kB / 0.5057 GB, free: 22.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009994/0.3721, allocations: 0.9506 MB / 0.5066 GB, free: 21.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007368/0.3728, allocations: 0.6693 MB / 0.5073 GB, free: 21.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.3729, allocations: 61.31 kB / 0.5073 GB, free: 21.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004752/0.3734, allocations: 280.5 kB / 0.5076 GB, free: 21.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.3737, allocations: 288.6 kB / 0.5079 GB, free: 21.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.374, allocations: 290.8 kB / 0.5082 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.3751, allocations: 0.7881 MB / 0.5089 GB, free: 21.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3751, allocations: 0 / 0.5089 GB, free: 21.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3751, allocations: 0 / 0.5089 GB, free: 21.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3751, allocations: 0 / 0.5089 GB, free: 21.03 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.001492/0.3766, allocations: 1.076 MB / 0.51 GB, free: 20.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.3767, allocations: 8 kB / 0.51 GB, free: 20.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004266/0.3771, allocations: 155.9 kB / 0.5101 GB, free: 20.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.3779, allocations: 488.2 kB / 0.5106 GB, free: 19.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.378, allocations: 168.5 kB / 0.5108 GB, free: 19.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.3781, allocations: 52.03 kB / 0.5108 GB, free: 19.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/0.3791, allocations: 0.9089 MB / 0.5117 GB, free: 18.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.3791, allocations: 2.906 kB / 0.5117 GB, free: 18.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.3792, allocations: 31.89 kB / 0.5117 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.351e-05/0.3793, allocations: 37.66 kB / 0.5118 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.3798, allocations: 250.4 kB / 0.512 GB, free: 18.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003174/0.383, allocations: 3.388 MB / 0.5153 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005657/0.3835, allocations: 264.8 kB / 0.5156 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.3837, allocations: 85.55 kB / 0.5156 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.3839, allocations: 46.3 kB / 0.5157 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.3839, allocations: 46.81 kB / 0.5157 GB, free: 15.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.3839, allocations: 0 / 0.5157 GB, free: 15.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.002118/0.386, allocations: 0.8256 MB / 0.5165 GB, free: 15.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.3861, allocations: 135.9 kB / 0.5167 GB, free: 15.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005326/0.3866, allocations: 0.5423 MB / 0.5172 GB, free: 14.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.3867, allocations: 36.48 kB / 0.5172 GB, free: 14.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.3869, allocations: 432.7 kB / 0.5176 GB, free: 14.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.3871, allocations: 169.6 kB / 0.5178 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.3873, allocations: 153.3 kB / 0.518 GB, free: 14.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3874, allocations: 0.5577 MB / 0.5185 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.3876, allocations: 70.7 kB / 0.5186 GB, free: 13.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.388, allocations: 0.6028 MB / 0.5192 GB, free: 13.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006113/0.3887, allocations: 0.6488 MB / 0.5198 GB, free: 12.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3887, allocations: 2.75 kB / 0.5198 GB, free: 12.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001066/0.3897, allocations: 0.6317 MB / 0.5204 GB, free: 12.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.3898, allocations: 8.938 kB / 0.5204 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3898, allocations: 14.72 kB / 0.5204 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009263/0.3907, allocations: 225.2 kB / 0.5206 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.391, allocations: 126.6 kB / 0.5208 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006513/0.3917, allocations: 0.9541 MB / 0.5217 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.392, allocations: 29.75 kB / 0.5217 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/0.3921, allocations: 34.73 kB / 0.5218 GB, free: 11.25 MB / 410.7 MB 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.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001935/0.3923, allocations: 206.6 kB / 0.522 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.3924, allocations: 81.05 kB / 0.522 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000804/0.3932, allocations: 476.4 kB / 0.5225 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.3932, allocations: 8.516 kB / 0.5225 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3932, allocations: 0 / 0.5225 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.3932, allocations: 2.156 kB / 0.5225 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.3944, allocations: 0.8525 MB / 0.5233 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3944, allocations: 6.719 kB / 0.5233 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006737/0.3951, allocations: 165.7 kB / 0.5235 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.657e-05/0.3952, allocations: 31.58 kB / 0.5235 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.3952, allocations: 11.42 kB / 0.5235 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.3965, allocations: 3.508 MB / 0.527 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3965, allocations: 2.906 kB / 0.527 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007372/0.3973, allocations: 0.6067 MB / 0.5276 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.3974, allocations: 111 kB / 0.5277 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.3975, allocations: 11.09 kB / 0.5277 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.3978, allocations: 14.34 kB / 0.5277 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/0.3979, allocations: 46.67 kB / 0.5277 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.3979, allocations: 21.97 kB / 0.5278 GB, free: 6.148 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002419/0.3981, allocations: 318 kB / 0.5281 GB, free: 5.984 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3981, allocations: 4.031 kB / 0.5281 GB, free: 5.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007725/0.3989, allocations: 194 kB / 0.5282 GB, free: 5.957 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.0003649/0.3993, allocations: 175.5 kB / 0.5284 GB, free: 5.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005522/0.3998, allocations: 372.3 kB / 0.5288 GB, free: 5.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3998, allocations: 2.906 kB / 0.5288 GB, free: 5.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.4003, allocations: 370.4 kB / 0.5291 GB, free: 5.543 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.4011, allocations: 323 kB / 0.5294 GB, free: 5.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.4028, allocations: 1.191 MB / 0.5306 GB, free: 4.727 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.4029, allocations: 173.8 kB / 0.5308 GB, free: 4.641 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002756/0.4032, allocations: 111.5 kB / 0.5309 GB, free: 4.602 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.4036, allocations: 363.5 kB / 0.5312 GB, free: 4.527 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4036, allocations: 0 / 0.5312 GB, free: 4.527 MB / 410.7 MB Notification: Performance of Templates: time 0.01722/0.4209, allocations: 14.17 MB / 0.545 GB, free: 13.48 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.936998245306313]