Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001679/0.002812, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000772/0.000772, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002217, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.039/1.039, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.142, allocations: 53.86 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3088/0.3088, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02647/0.3353, allocations: 13.24 MB / 292.8 MB, free: 6.391 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.002e-05, allocations: 6.094 kB / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1546/0.1547, allocations: 134.5 MB / 428.6 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004304/0.159, allocations: 3.145 MB / 431.7 MB, free: 10.94 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/0.1593, allocations: 27.75 kB / 431.8 MB, free: 10.91 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00091/0.1602, allocations: 214.6 kB / 432 MB, free: 10.7 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.1618, allocations: 0.7728 MB / 432.7 MB, free: 9.922 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.1637, allocations: 0.8922 MB / 433.6 MB, free: 9.027 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.1658, allocations: 1.871 MB / 435.5 MB, free: 7.152 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000781/0.1666, allocations: 434.3 kB / 435.9 MB, free: 6.723 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.1681, allocations: 0.989 MB / 436.9 MB, free: 5.734 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009315/0.1691, allocations: 0.6428 MB / 437.6 MB, free: 5.09 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.1692, allocations: 60 kB / 437.6 MB, free: 5.031 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000624/0.1698, allocations: 279.5 kB / 437.9 MB, free: 4.758 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.17, allocations: 239.3 kB / 438.1 MB, free: 4.523 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.1703, allocations: 227.6 kB / 438.3 MB, free: 4.301 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00086/0.1712, allocations: 0.7008 MB / 439 MB, free: 3.594 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.1712, allocations: 4 kB / 439 MB, free: 3.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1712, allocations: 0 / 439 MB, free: 3.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.1712, allocations: 0 / 439 MB, free: 3.59 MB / 426.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.001564/0.1727, allocations: 1.178 MB / 440.2 MB, free: 2.363 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1728, allocations: 12.03 kB / 440.2 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.1731, allocations: 124.6 kB / 440.4 MB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.1737, allocations: 431.4 kB / 440.8 MB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.1738, allocations: 156.4 kB / 440.9 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/0.1738, allocations: 56.31 kB / 441 MB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.1745, allocations: 0.868 MB / 441.9 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.1746, allocations: 8.125 kB / 441.9 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.1746, allocations: 31.91 kB / 441.9 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.077e-05/0.1747, allocations: 36.97 kB / 441.9 MB, free: 472 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.175, allocations: 240.3 kB / 442.2 MB, free: 228 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2235/0.3985, allocations: 2.423 MB / 444.6 MB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.3988, allocations: 220.8 kB / 444.8 MB, free: 13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.3989, allocations: 73.8 kB / 444.9 MB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.399, allocations: 40.66 kB / 444.9 MB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3991, allocations: 41.86 kB / 445 MB, free: 12.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 2.705e-06/0.3991, allocations: 0 / 445 MB, free: 12.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.001617/0.4007, allocations: 0.8751 MB / 445.8 MB, free: 12.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.4007, allocations: 55.81 kB / 445.9 MB, free: 12.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.401, allocations: 472.3 kB / 446.3 MB, free: 12.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.401, allocations: 34.89 kB / 446.4 MB, free: 12.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.4011, allocations: 328.5 kB / 446.7 MB, free: 12.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.4012, allocations: 170.2 kB / 446.9 MB, free: 12.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.4013, allocations: 137.2 kB / 447 MB, free: 12.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.4014, allocations: 381.4 kB / 447.4 MB, free: 11.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.761e-05/0.4014, allocations: 60.06 kB / 447.4 MB, free: 11.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.4016, allocations: 476.6 kB / 447.9 MB, free: 11.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.402, allocations: 0.553 MB / 448.5 MB, free: 11.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.402, allocations: 5.422 kB / 448.5 MB, free: 11.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005932/0.4026, allocations: 0.5082 MB / 449 MB, free: 11.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4026, allocations: 12.94 kB / 449 MB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4026, allocations: 9.438 kB / 449 MB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006256/0.4033, allocations: 231.4 kB / 449.2 MB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.4035, allocations: 141.6 kB / 449.4 MB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003703/0.4039, allocations: 0.6694 MB / 450 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.4041, allocations: 28.06 kB / 450 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.4041, allocations: 31.86 kB / 450.1 MB, free: 10.48 MB / 426.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.000132/0.4043, allocations: 167.9 kB / 450.2 MB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.4044, allocations: 52.48 kB / 450.3 MB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.4048, allocations: 419.9 kB / 450.7 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.4049, allocations: 6.266 kB / 450.7 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4049, allocations: 1.562 kB / 450.7 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4049, allocations: 2.203 kB / 450.7 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007637/0.4056, allocations: 0.7056 MB / 451.4 MB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4056, allocations: 0 / 451.4 MB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005067/0.4061, allocations: 191.2 kB / 451.6 MB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.4063, allocations: 82.58 kB / 451.7 MB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-05/0.4063, allocations: 28.58 kB / 451.7 MB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.4063, allocations: 9.578 kB / 451.7 MB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008697/0.4072, allocations: 2.405 MB / 454.1 MB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4072, allocations: 4.656 kB / 454.1 MB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.4076, allocations: 0.5109 MB / 454.6 MB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.4077, allocations: 9.938 kB / 454.7 MB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.4078, allocations: 12.97 kB / 454.7 MB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.4079, allocations: 44.53 kB / 454.7 MB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.4079, allocations: 16.88 kB / 454.7 MB, free: 7.324 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.4081, allocations: 199.7 kB / 454.9 MB, free: 7.305 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4081, allocations: 0.75 kB / 454.9 MB, free: 7.305 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004644/0.4085, allocations: 197.3 kB / 455.1 MB, free: 7.305 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 (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.0002524/0.4088, allocations: 150.6 kB / 455.3 MB, free: 7.227 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000535/0.4093, allocations: 355.2 kB / 455.6 MB, free: 7.207 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-05/0.4093, allocations: 12.41 kB / 455.6 MB, free: 7.207 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.4098, allocations: 346.1 kB / 456 MB, free: 7.078 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4108, allocations: 1.868 MB / 457.8 MB, free: 5.336 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007126/0.418, allocations: 1.163 MB / 459 MB, free: 4.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.4181, allocations: 178.4 kB / 459.2 MB, free: 4.691 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000446/0.4185, allocations: 119.2 kB / 459.3 MB, free: 4.668 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.419, allocations: 311.6 kB / 459.6 MB, free: 4.609 MB / 426.7 MB Notification: Performance of SimCode: time 2.024e-06/0.419, allocations: 0 / 459.6 MB, free: 4.609 MB / 426.7 MB Notification: Performance of Templates: time 0.01804/0.4371, allocations: 14.67 MB / 474.3 MB, free: 3.199 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6801170390099287]