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.002434/0.002434, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002906/0.002906, 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.614/1.614, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3615/0.3615, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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.433e-06/1.433e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.756e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3708/0.3708, allocations: 143.5 MB / 0.5086 GB, free: 19.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008311/0.3791, allocations: 5.736 MB / 0.5142 GB, free: 15.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009799/0.3801, allocations: 27.22 kB / 0.5142 GB, free: 15.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.3813, allocations: 320.1 kB / 0.5145 GB, free: 15.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.3834, allocations: 0.9221 MB / 0.5154 GB, free: 14.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.3861, allocations: 1.068 MB / 0.5164 GB, free: 14.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001882/0.3879, allocations: 1.839 MB / 0.5182 GB, free: 13.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.3885, allocations: 417.6 kB / 0.5186 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.3898, allocations: 0.9964 MB / 0.5196 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009247/0.3907, allocations: 0.6985 MB / 0.5203 GB, free: 12.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.3908, allocations: 62.94 kB / 0.5204 GB, free: 12.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.3919, allocations: 499.2 kB / 0.5208 GB, free: 12.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.3921, allocations: 289.2 kB / 0.5211 GB, free: 12.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003078/0.3924, allocations: 289 kB / 0.5214 GB, free: 12.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.3937, allocations: 1.213 MB / 0.5226 GB, free: 11.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3937, allocations: 0 / 0.5226 GB, free: 11.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3937, allocations: 0 / 0.5226 GB, free: 11.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.3937, allocations: 0 / 0.5226 GB, free: 11.65 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.001797/0.3955, allocations: 1.141 MB / 0.5237 GB, free: 10.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.3956, allocations: 10.89 kB / 0.5237 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.396, allocations: 156.5 kB / 0.5238 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007852/0.3968, allocations: 0.4888 MB / 0.5243 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.3969, allocations: 163.2 kB / 0.5245 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.397, allocations: 53.19 kB / 0.5245 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.398, allocations: 1.082 MB / 0.5256 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.3981, allocations: 384 / 0.5256 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/0.3981, allocations: 27.91 kB / 0.5256 GB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-05/0.3982, allocations: 38.59 kB / 0.5256 GB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/0.3989, allocations: 430.6 kB / 0.5261 GB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.4025, allocations: 3.811 MB / 0.5298 GB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.4032, allocations: 371.4 kB / 0.5301 GB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.4035, allocations: 160.1 kB / 0.5303 GB, free: 6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/0.4038, allocations: 64.58 kB / 0.5304 GB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.4038, allocations: 40.5 kB / 0.5304 GB, free: 5.941 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.665e-06/0.4038, allocations: 3.984 kB / 0.5304 GB, free: 5.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.002796/0.4066, allocations: 1.268 MB / 0.5316 GB, free: 5.301 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.4066, allocations: 142.5 kB / 0.5318 GB, free: 5.137 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005345/0.4072, allocations: 0.6337 MB / 0.5324 GB, free: 4.789 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.4072, allocations: 36.39 kB / 0.5324 GB, free: 4.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.4074, allocations: 443.3 kB / 0.5328 GB, free: 4.387 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.4075, allocations: 189 kB / 0.533 GB, free: 4.242 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.4077, allocations: 169 kB / 0.5332 GB, free: 4.148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4078, allocations: 0.5755 MB / 0.5337 GB, free: 3.613 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.4081, allocations: 155.2 kB / 0.5339 GB, free: 3.566 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.4085, allocations: 0.6782 MB / 0.5346 GB, free: 2.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007347/0.4092, allocations: 0.8 MB / 0.5353 GB, free: 2.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4092, allocations: 0 / 0.5353 GB, free: 2.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001314/0.4105, allocations: 0.8219 MB / 0.5361 GB, free: 1.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4106, allocations: 12.47 kB / 0.5362 GB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.4106, allocations: 8.812 kB / 0.5362 GB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.4119, allocations: 275.7 kB / 0.5364 GB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.4123, allocations: 124.6 kB / 0.5365 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008734/0.4132, allocations: 1.097 MB / 0.5376 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/0.4137, allocations: 26 kB / 0.5376 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.862e-05/0.4137, allocations: 34.67 kB / 0.5377 GB, free: 0.793 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.00031/0.414, allocations: 256.3 kB / 0.5379 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.4142, allocations: 82.95 kB / 0.538 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.4153, allocations: 0.6616 MB / 0.5386 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.4153, allocations: 5.812 kB / 0.5386 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.4153, allocations: 0 / 0.5386 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4153, allocations: 2.672 kB / 0.5387 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.4173, allocations: 1.237 MB / 0.5399 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.4173, allocations: 2.688 kB / 0.5399 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009795/0.4183, allocations: 194 kB / 0.54 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/0.4184, allocations: 32.22 kB / 0.5401 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/0.4184, allocations: 17.06 kB / 0.5401 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003179/0.4216, allocations: 3.65 MB / 0.5437 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.4216, allocations: 2.75 kB / 0.5437 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.4231, allocations: 0.8747 MB / 0.5445 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.4234, allocations: 120.1 kB / 0.5446 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.945e-05/0.4235, allocations: 21.72 kB / 0.5447 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.4238, allocations: 14.16 kB / 0.5447 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.4239, allocations: 43.44 kB / 0.5447 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.424, allocations: 23.22 kB / 0.5447 GB, free: 11.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004698/0.4244, allocations: 397.4 kB / 0.5451 GB, free: 10.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4244, allocations: 0 / 0.5451 GB, free: 10.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008508/0.4253, allocations: 222.6 kB / 0.5453 GB, free: 10.9 MB / 426.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.000473/0.4258, allocations: 245.2 kB / 0.5456 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.427, allocations: 0.537 MB / 0.5461 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.427, allocations: 2.406 kB / 0.5461 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.428, allocations: 479.3 kB / 0.5465 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.4296, allocations: 331 kB / 0.5469 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.4318, allocations: 1.254 MB / 0.5481 GB, free: 9.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.4322, allocations: 331.1 kB / 0.5484 GB, free: 8.973 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005817/0.4327, allocations: 190.5 kB / 0.5486 GB, free: 8.879 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.4329, allocations: 58.83 kB / 0.5486 GB, free: 8.863 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.4329, allocations: 3.25 kB / 0.5486 GB, free: 8.863 MB / 426.7 MB Notification: Performance of Templates: time 0.02885/0.4617, allocations: 14.28 MB / 0.5626 GB, free: 11.21 MB / 442.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","/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.943448908976279]