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.00103/0.00103, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001136/0.001136, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.036/1.036, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.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.1777/0.1777, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.994e-06/1.994e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.486e-05, allocations: 5.156 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3989/0.3989, allocations: 132 MB / 0.5001 GB, free: 16.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004104/0.403, allocations: 3.065 MB / 0.5031 GB, free: 16.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005594/0.4036, allocations: 26.94 kB / 0.5031 GB, free: 16.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007536/0.4044, allocations: 217.7 kB / 0.5033 GB, free: 16.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.4058, allocations: 0.7812 MB / 0.5041 GB, free: 16.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.4078, allocations: 0.9062 MB / 0.5049 GB, free: 16.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.4096, allocations: 1.862 MB / 0.5068 GB, free: 16.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006324/0.4102, allocations: 416.3 kB / 0.5072 GB, free: 16.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.4119, allocations: 0.9502 MB / 0.5081 GB, free: 16.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00081/0.4127, allocations: 0.679 MB / 0.5087 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.4128, allocations: 62.44 kB / 0.5088 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.4133, allocations: 280 kB / 0.5091 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.4135, allocations: 284.9 kB / 0.5093 GB, free: 16.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.4138, allocations: 282.7 kB / 0.5096 GB, free: 16.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009062/0.4147, allocations: 0.7888 MB / 0.5104 GB, free: 16.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4147, allocations: 4 kB / 0.5104 GB, free: 16.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4147, allocations: 0 / 0.5104 GB, free: 16.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.022e-05/0.4147, allocations: 0 / 0.5104 GB, free: 16.33 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.001386/0.4161, allocations: 1.079 MB / 0.5114 GB, free: 15.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4162, allocations: 8.969 kB / 0.5115 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.4165, allocations: 150.7 kB / 0.5116 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.417, allocations: 492 kB / 0.5121 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.236e-05/0.4171, allocations: 151.7 kB / 0.5122 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.4172, allocations: 57.05 kB / 0.5123 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000635/0.4178, allocations: 0.9154 MB / 0.5132 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.4178, allocations: 6 kB / 0.5132 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.4179, allocations: 24.92 kB / 0.5132 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.4179, allocations: 38.58 kB / 0.5132 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.4183, allocations: 247.1 kB / 0.5135 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.4204, allocations: 3.399 MB / 0.5168 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.4207, allocations: 265 kB / 0.517 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.598e-05/0.4208, allocations: 86.45 kB / 0.5171 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.4209, allocations: 37.97 kB / 0.5172 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.421, allocations: 42.03 kB / 0.5172 GB, free: 12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.613e-06/0.421, allocations: 0 / 0.5172 GB, free: 12 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001353/0.4223, allocations: 0.8256 MB / 0.518 GB, free: 11.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.4224, allocations: 134.1 kB / 0.5181 GB, free: 11.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.4227, allocations: 0.5449 MB / 0.5187 GB, free: 11.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.4227, allocations: 37.45 kB / 0.5187 GB, free: 11.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.4229, allocations: 426.9 kB / 0.5191 GB, free: 11.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.685e-05/0.423, allocations: 181.3 kB / 0.5193 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.4231, allocations: 155 kB / 0.5194 GB, free: 10.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4232, allocations: 0.5497 MB / 0.52 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-05/0.4233, allocations: 74.25 kB / 0.52 GB, free: 10.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.4236, allocations: 0.6025 MB / 0.5206 GB, free: 9.754 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.424, allocations: 0.6497 MB / 0.5213 GB, free: 9.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.424, allocations: 6.219 kB / 0.5213 GB, free: 9.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007312/0.4247, allocations: 0.6225 MB / 0.5219 GB, free: 9.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.4247, allocations: 15.5 kB / 0.5219 GB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.4247, allocations: 8.75 kB / 0.5219 GB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006626/0.4254, allocations: 227.9 kB / 0.5221 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.4256, allocations: 129.7 kB / 0.5222 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004531/0.4261, allocations: 0.9532 MB / 0.5232 GB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.4263, allocations: 30.09 kB / 0.5232 GB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.4263, allocations: 28.81 kB / 0.5232 GB, free: 8.266 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.0001506/0.4265, allocations: 211.5 kB / 0.5234 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.209e-05/0.4266, allocations: 80.42 kB / 0.5235 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005905/0.4271, allocations: 481.4 kB / 0.524 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4272, allocations: 3.406 kB / 0.524 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4272, allocations: 3.625 kB / 0.524 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4272, allocations: 8.875 kB / 0.524 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008198/0.428, allocations: 0.8436 MB / 0.5248 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.428, allocations: 2.469 kB / 0.5248 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.4284, allocations: 170.9 kB / 0.525 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.873e-05/0.4285, allocations: 23.36 kB / 0.525 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.4285, allocations: 12.78 kB / 0.525 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.4296, allocations: 3.514 MB / 0.5284 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4296, allocations: 5.75 kB / 0.5284 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.4301, allocations: 0.6058 MB / 0.529 GB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.4303, allocations: 113.6 kB / 0.5291 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.4303, allocations: 6.5 kB / 0.5291 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.4305, allocations: 21.38 kB / 0.5292 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.4306, allocations: 41.5 kB / 0.5292 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.4306, allocations: 18.14 kB / 0.5292 GB, free: 3.688 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000244/0.4308, allocations: 324.4 kB / 0.5295 GB, free: 3.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4308, allocations: 0 / 0.5295 GB, free: 3.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004903/0.4313, allocations: 194.5 kB / 0.5297 GB, free: 3.555 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.0002533/0.4316, allocations: 171.7 kB / 0.5299 GB, free: 3.453 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005712/0.4322, allocations: 370.2 kB / 0.5302 GB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4322, allocations: 2.344 kB / 0.5302 GB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.4326, allocations: 374.8 kB / 0.5306 GB, free: 3.238 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008303/0.4334, allocations: 323.5 kB / 0.5309 GB, free: 3.203 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.4351, allocations: 1.172 MB / 0.532 GB, free: 2.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.4352, allocations: 175.5 kB / 0.5322 GB, free: 2.492 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003196/0.4355, allocations: 119.5 kB / 0.5323 GB, free: 2.457 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/0.436, allocations: 360.3 kB / 0.5327 GB, free: 2.391 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.436, allocations: 0 / 0.5327 GB, free: 2.391 MB / 410.7 MB Notification: Performance of Templates: time 0.02514/0.4612, allocations: 14.4 MB / 0.5467 GB, free: 12.68 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.311950125731528]