Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.002022/0.002022, allocations: 92.31 kB / 20.96 MB, free: 3.465 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.001435/0.001435, allocations: 157.7 kB / 24.27 MB, free: 164 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.468/1.468, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3452/0.3452, allocations: 32.79 MB / 293.9 MB, free: 1.199 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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.134e-05, allocations: 6.25 kB / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3782/0.3783, allocations: 153.8 MB / 0.5167 GB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006813/0.3851, allocations: 4.913 MB / 0.5215 GB, free: 8.516 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000686/0.3858, allocations: 32.91 kB / 0.5215 GB, free: 8.496 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009339/0.3867, allocations: 301.6 kB / 0.5218 GB, free: 8.336 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003542/0.3902, allocations: 1.322 MB / 0.5231 GB, free: 7.613 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.3927, allocations: 1.009 MB / 0.5241 GB, free: 7.105 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.3948, allocations: 1.88 MB / 0.5259 GB, free: 6.246 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006536/0.3955, allocations: 422.2 kB / 0.5263 GB, free: 5.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/0.3984, allocations: 1.352 MB / 0.5277 GB, free: 5.402 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.3996, allocations: 0.64 MB / 0.5283 GB, free: 5.211 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.3998, allocations: 58.53 kB / 0.5283 GB, free: 5.211 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.4013, allocations: 0.5551 MB / 0.5289 GB, free: 5.059 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.4016, allocations: 288 kB / 0.5292 GB, free: 4.922 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.4019, allocations: 280.2 kB / 0.5294 GB, free: 4.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.4036, allocations: 1.385 MB / 0.5308 GB, free: 4.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4036, allocations: 4 kB / 0.5308 GB, free: 4.348 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4036, allocations: 0 / 0.5308 GB, free: 4.348 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.4036, allocations: 0 / 0.5308 GB, free: 4.348 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.002078/0.4057, allocations: 1.041 MB / 0.5318 GB, free: 3.676 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.4058, allocations: 10.5 kB / 0.5318 GB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009107/0.4067, allocations: 223.9 kB / 0.532 GB, free: 3.578 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/0.4074, allocations: 0.4893 MB / 0.5325 GB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.4075, allocations: 165.5 kB / 0.5327 GB, free: 3.129 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.4076, allocations: 49.47 kB / 0.5327 GB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.4088, allocations: 1.147 MB / 0.5338 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.4088, allocations: 2.812 kB / 0.5338 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/0.4089, allocations: 23.48 kB / 0.5339 GB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/0.4089, allocations: 45.33 kB / 0.5339 GB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009305/0.4099, allocations: 0.6162 MB / 0.5345 GB, free: 2.031 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/0.414, allocations: 3.212 MB / 0.5376 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.4147, allocations: 345.7 kB / 0.538 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.415, allocations: 157.8 kB / 0.5381 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.4151, allocations: 25.66 kB / 0.5381 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.4151, allocations: 37.16 kB / 0.5382 GB, free: 15.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.4151, allocations: 4 kB / 0.5382 GB, free: 15.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005577/0.4207, allocations: 1.559 MB / 0.5397 GB, free: 14.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.4208, allocations: 142.4 kB / 0.5398 GB, free: 14.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006766/0.4215, allocations: 0.5241 MB / 0.5403 GB, free: 13.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.449e-05/0.4216, allocations: 36.3 kB / 0.5404 GB, free: 13.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.4219, allocations: 388.5 kB / 0.5408 GB, free: 13.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.4221, allocations: 145.3 kB / 0.5409 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.4223, allocations: 154.5 kB / 0.541 GB, free: 13.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.4226, allocations: 371.9 kB / 0.5414 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.4229, allocations: 205.5 kB / 0.5416 GB, free: 12.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.4237, allocations: 0.5862 MB / 0.5422 GB, free: 12.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.4247, allocations: 0.7432 MB / 0.5429 GB, free: 11.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.4247, allocations: 4.906 kB / 0.5429 GB, free: 11.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001525/0.4263, allocations: 0.8918 MB / 0.5438 GB, free: 10.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4263, allocations: 7.812 kB / 0.5438 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.4263, allocations: 18.58 kB / 0.5438 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.4276, allocations: 296.4 kB / 0.5441 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.428, allocations: 125.3 kB / 0.5442 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.4292, allocations: 0.918 MB / 0.5451 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.4297, allocations: 24.25 kB / 0.5451 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.235e-05/0.4298, allocations: 62.8 kB / 0.5452 GB, free: 10.04 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.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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003937/0.4302, allocations: 246.4 kB / 0.5454 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.4303, allocations: 73 kB / 0.5455 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.4319, allocations: 0.8181 MB / 0.5463 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.4319, allocations: 9.047 kB / 0.5463 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4319, allocations: 3.938 kB / 0.5463 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4319, allocations: 0 / 0.5463 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.4338, allocations: 1.059 MB / 0.5473 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.4338, allocations: 0 / 0.5473 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.4348, allocations: 207.6 kB / 0.5475 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.4349, allocations: 27.52 kB / 0.5475 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.435, allocations: 14.91 kB / 0.5476 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002595/0.4376, allocations: 2.63 MB / 0.5501 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4376, allocations: 3 kB / 0.5501 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.439, allocations: 0.8011 MB / 0.5509 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.4392, allocations: 95.61 kB / 0.551 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.614e-05/0.4393, allocations: 12.92 kB / 0.551 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.4397, allocations: 23.94 kB / 0.551 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4398, allocations: 43.88 kB / 0.5511 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-05/0.4399, allocations: 35.98 kB / 0.5511 GB, free: 5.023 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004869/0.4404, allocations: 354.8 kB / 0.5515 GB, free: 4.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4404, allocations: 0 / 0.5515 GB, free: 4.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009854/0.4413, allocations: 259.7 kB / 0.5517 GB, free: 4.426 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0007311/0.4421, allocations: 295.6 kB / 0.552 GB, free: 4.133 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.4433, allocations: 0.5185 MB / 0.5525 GB, free: 3.613 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4433, allocations: 0 / 0.5525 GB, free: 3.613 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.4444, allocations: 396.1 kB / 0.5529 GB, free: 3.211 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.4459, allocations: 330 kB / 0.5532 GB, free: 2.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.4482, allocations: 1.247 MB / 0.5544 GB, free: 1.621 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.4486, allocations: 332.3 kB / 0.5547 GB, free: 1.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001066/0.4497, allocations: 434.3 kB / 0.5551 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.45, allocations: 96.45 kB / 0.5552 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.45, allocations: 0 / 0.5552 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of Templates: time 0.02969/0.4797, allocations: 15.38 MB / 0.5702 GB, free: 1.613 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.80199540394824]