Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008392/0.0008392, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.0009097/0.0009097, allocations: 169 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8791/0.8791, allocations: 158.6 MB / 186 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.126/0.126, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 3.938 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.064e-05, allocations: 4.281 kB / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3232/0.3232, allocations: 173.2 MB / 0.5087 GB, free: 6.703 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008368/0.3316, allocations: 8.236 MB / 0.5167 GB, free: 14.45 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000469/0.3321, allocations: 27.75 kB / 0.5168 GB, free: 14.42 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.3329, allocations: 309.8 kB / 0.5171 GB, free: 14.11 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003165/0.336, allocations: 1.547 MB / 0.5186 GB, free: 12.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.3382, allocations: 1.203 MB / 0.5198 GB, free: 11.35 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.34, allocations: 1.887 MB / 0.5216 GB, free: 9.457 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007046/0.3407, allocations: 413.8 kB / 0.522 GB, free: 9.055 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.3432, allocations: 1.491 MB / 0.5235 GB, free: 7.559 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007588/0.3439, allocations: 0.6389 MB / 0.5241 GB, free: 6.918 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.401e-05/0.344, allocations: 68 kB / 0.5241 GB, free: 6.852 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.3455, allocations: 0.7466 MB / 0.5249 GB, free: 6.105 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.3457, allocations: 291.1 kB / 0.5251 GB, free: 5.82 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.346, allocations: 291.4 kB / 0.5254 GB, free: 5.535 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3473, allocations: 1.246 MB / 0.5266 GB, free: 4.285 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3473, allocations: 0 / 0.5266 GB, free: 4.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3473, allocations: 0 / 0.5266 GB, free: 4.285 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.3473, allocations: 0 / 0.5266 GB, free: 4.285 MB / 394.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.001565/0.3489, allocations: 1.172 MB / 0.5278 GB, free: 3.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3489, allocations: 12.03 kB / 0.5278 GB, free: 3.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006235/0.3495, allocations: 227 kB / 0.528 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/0.3501, allocations: 0.4928 MB / 0.5285 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.3502, allocations: 151.8 kB / 0.5286 GB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8e-05/0.3503, allocations: 59.92 kB / 0.5287 GB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008613/0.3512, allocations: 1.025 MB / 0.5297 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.3512, allocations: 3.938 kB / 0.5297 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.3512, allocations: 23.98 kB / 0.5297 GB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/0.3513, allocations: 44.97 kB / 0.5298 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.3517, allocations: 305.5 kB / 0.5301 GB, free: 0.4922 MB / 394.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.002706/0.3544, allocations: 3.899 MB / 0.5339 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.3548, allocations: 216.2 kB / 0.5341 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3549, allocations: 88.2 kB / 0.5342 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/0.3551, allocations: 138 kB / 0.5343 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.3551, allocations: 41.67 kB / 0.5343 GB, free: 11.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.3551, allocations: 0 / 0.5343 GB, free: 11.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002702/0.3578, allocations: 1.17 MB / 0.5355 GB, free: 10.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.3579, allocations: 132.5 kB / 0.5356 GB, free: 10.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.3583, allocations: 0.5452 MB / 0.5361 GB, free: 10 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.3583, allocations: 33.7 kB / 0.5362 GB, free: 9.961 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.3585, allocations: 431 kB / 0.5366 GB, free: 9.531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.93e-05/0.3586, allocations: 154.7 kB / 0.5367 GB, free: 9.379 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.3588, allocations: 160.2 kB / 0.5369 GB, free: 9.215 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3589, allocations: 0.543 MB / 0.5374 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3591, allocations: 89.92 kB / 0.5375 GB, free: 8.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.3596, allocations: 0.6268 MB / 0.5381 GB, free: 7.723 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.3601, allocations: 0.6468 MB / 0.5387 GB, free: 6.887 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3601, allocations: 4 kB / 0.5387 GB, free: 6.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007493/0.3609, allocations: 0.648 MB / 0.5394 GB, free: 6.223 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3609, allocations: 8 kB / 0.5394 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3609, allocations: 16.5 kB / 0.5394 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00069/0.3616, allocations: 258.5 kB / 0.5396 GB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.3618, allocations: 115.8 kB / 0.5397 GB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006091/0.3624, allocations: 0.9989 MB / 0.5407 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.3626, allocations: 31.98 kB / 0.5408 GB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.3627, allocations: 63.94 kB / 0.5408 GB, free: 4.711 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.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.0001643/0.3628, allocations: 216.3 kB / 0.541 GB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-05/0.3629, allocations: 71.62 kB / 0.5411 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006808/0.3636, allocations: 497.6 kB / 0.5416 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3636, allocations: 7.984 kB / 0.5416 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3636, allocations: 0 / 0.5416 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.3636, allocations: 3.984 kB / 0.5416 GB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.3648, allocations: 1.029 MB / 0.5426 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.3648, allocations: 7.984 kB / 0.5426 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005063/0.3653, allocations: 187.9 kB / 0.5428 GB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.376e-05/0.3654, allocations: 27.67 kB / 0.5428 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.3654, allocations: 15.98 kB / 0.5428 GB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.3669, allocations: 3.562 MB / 0.5463 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3669, allocations: 0 / 0.5463 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.3675, allocations: 0.5856 MB / 0.5469 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.3677, allocations: 103.6 kB / 0.547 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.3677, allocations: 8 kB / 0.547 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.3679, allocations: 20.67 kB / 0.547 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.368, allocations: 39.88 kB / 0.547 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.368, allocations: 35.98 kB / 0.5471 GB, free: 13.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002411/0.3682, allocations: 334.8 kB / 0.5474 GB, free: 13.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3682, allocations: 0 / 0.5474 GB, free: 13.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006038/0.3689, allocations: 295.7 kB / 0.5477 GB, free: 13.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0007348/0.3696, allocations: 409.9 kB / 0.5481 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006114/0.3702, allocations: 377.3 kB / 0.5484 GB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3702, allocations: 0 / 0.5484 GB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005505/0.3708, allocations: 398.7 kB / 0.5488 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008453/0.3716, allocations: 316.9 kB / 0.5491 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.3733, allocations: 1.116 MB / 0.5502 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.3734, allocations: 166.4 kB / 0.5503 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.3738, allocations: 225.1 kB / 0.5506 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.374, allocations: 84.47 kB / 0.5506 GB, free: 10.2 MB / 426.7 MB Notification: Performance of SimCode: time 9.11e-07/0.374, allocations: 0 / 0.5506 GB, free: 10.2 MB / 426.7 MB Notification: Performance of Templates: time 0.01782/0.3918, allocations: 16.42 MB / 0.5667 GB, free: 9.871 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.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.7488930011168122]