Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009833/0.0009833, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001106/0.001106, allocations: 164.5 kB / 24.99 MB, free: 8.746 MB / 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.099/1.099, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2667/0.2667, allocations: 34.25 MB / 296 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 180] 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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.703e-05, allocations: 6.312 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3152/0.3152, allocations: 170.9 MB / 0.5361 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00551/0.3207, allocations: 5.397 MB / 0.5413 GB, free: 13.03 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005343/0.3212, allocations: 30.75 kB / 0.5414 GB, free: 13.01 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007443/0.322, allocations: 314.8 kB / 0.5417 GB, free: 12.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.3244, allocations: 1.322 MB / 0.5429 GB, free: 12.12 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.3262, allocations: 1.005 MB / 0.5439 GB, free: 11.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.3283, allocations: 1.88 MB / 0.5458 GB, free: 10.75 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006726/0.329, allocations: 407.2 kB / 0.5461 GB, free: 10.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.3309, allocations: 1.355 MB / 0.5475 GB, free: 9.762 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008896/0.3318, allocations: 0.6412 MB / 0.5481 GB, free: 9.426 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.3319, allocations: 62.72 kB / 0.5482 GB, free: 9.426 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.333, allocations: 0.5592 MB / 0.5487 GB, free: 9.176 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.3332, allocations: 289.1 kB / 0.549 GB, free: 8.977 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.3334, allocations: 293.8 kB / 0.5493 GB, free: 8.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.3348, allocations: 1.09 MB / 0.5503 GB, free: 8.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3348, allocations: 0 / 0.5503 GB, free: 8.199 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3348, allocations: 0 / 0.5503 GB, free: 8.199 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.3348, allocations: 0 / 0.5503 GB, free: 8.199 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.001713/0.3365, allocations: 1.153 MB / 0.5515 GB, free: 7.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3366, allocations: 11.22 kB / 0.5515 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006753/0.3372, allocations: 220.5 kB / 0.5517 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006052/0.3379, allocations: 480.9 kB / 0.5521 GB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.338, allocations: 164.7 kB / 0.5523 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.244e-05/0.3381, allocations: 56.73 kB / 0.5523 GB, free: 6.664 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008557/0.3389, allocations: 1.006 MB / 0.5533 GB, free: 5.688 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3389, allocations: 2.938 kB / 0.5533 GB, free: 5.688 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.339, allocations: 21.91 kB / 0.5533 GB, free: 5.672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/0.339, allocations: 41.72 kB / 0.5534 GB, free: 5.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/0.3395, allocations: 312.4 kB / 0.5537 GB, free: 5.543 MB / 426.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.002888/0.3424, allocations: 3.869 MB / 0.5575 GB, free: 1.895 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.3428, allocations: 216.1 kB / 0.5577 GB, free: 1.672 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.3429, allocations: 88.2 kB / 0.5578 GB, free: 1.582 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.651e-05/0.343, allocations: 16.27 kB / 0.5578 GB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.343, allocations: 41.67 kB / 0.5578 GB, free: 1.516 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.136e-06/0.343, allocations: 0 / 0.5578 GB, free: 1.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.003004/0.346, allocations: 1.174 MB / 0.559 GB, free: 300 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.3461, allocations: 132.5 kB / 0.5591 GB, free: 136 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000449/0.3466, allocations: 0.5453 MB / 0.5596 GB, free: 15.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.3466, allocations: 33.7 kB / 0.5596 GB, free: 15.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.3468, allocations: 438.8 kB / 0.5601 GB, free: 15.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.3469, allocations: 158.7 kB / 0.5602 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.3471, allocations: 156.2 kB / 0.5604 GB, free: 14.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3473, allocations: 0.5508 MB / 0.5609 GB, free: 14.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.3474, allocations: 85.94 kB / 0.561 GB, free: 14.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.3478, allocations: 0.6152 MB / 0.5616 GB, free: 13.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/0.3484, allocations: 0.6723 MB / 0.5622 GB, free: 12.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.3484, allocations: 4 kB / 0.5622 GB, free: 12.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008432/0.3492, allocations: 0.6488 MB / 0.5629 GB, free: 11.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3493, allocations: 8 kB / 0.5629 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.3493, allocations: 12 kB / 0.5629 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007175/0.35, allocations: 256.2 kB / 0.5631 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.3502, allocations: 119.8 kB / 0.5633 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000667/0.3509, allocations: 1.005 MB / 0.5642 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.3511, allocations: 28 kB / 0.5643 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.3512, allocations: 63.17 kB / 0.5643 GB, free: 10.25 MB / 442.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.0001765/0.3514, allocations: 204.3 kB / 0.5645 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/0.3515, allocations: 71.62 kB / 0.5646 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000866/0.3523, allocations: 0.6898 MB / 0.5653 GB, free: 9.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3523, allocations: 4 kB / 0.5653 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3523, allocations: 0 / 0.5653 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3523, allocations: 3.984 kB / 0.5653 GB, free: 9.262 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.3535, allocations: 0.9411 MB / 0.5662 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3535, allocations: 3.375 kB / 0.5662 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.354, allocations: 191.8 kB / 0.5664 GB, free: 8.062 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-05/0.3541, allocations: 31.86 kB / 0.5664 GB, free: 8.027 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.3542, allocations: 15.98 kB / 0.5664 GB, free: 8.012 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.3558, allocations: 3.554 MB / 0.5699 GB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3558, allocations: 4 kB / 0.5699 GB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006451/0.3564, allocations: 0.5918 MB / 0.5705 GB, free: 3.574 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.3566, allocations: 99.56 kB / 0.5706 GB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.3566, allocations: 8 kB / 0.5706 GB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.3568, allocations: 23.92 kB / 0.5706 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.3569, allocations: 35.89 kB / 0.5706 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.357, allocations: 44.52 kB / 0.5707 GB, free: 3.367 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00028/0.3573, allocations: 342.8 kB / 0.571 GB, free: 3.035 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3573, allocations: 0 / 0.571 GB, free: 3.035 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007423/0.358, allocations: 255.7 kB / 0.5712 GB, free: 2.785 MB / 442.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.0005203/0.3585, allocations: 288.9 kB / 0.5715 GB, free: 2.496 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006655/0.3592, allocations: 385.8 kB / 0.5719 GB, free: 2.117 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3592, allocations: 0 / 0.5719 GB, free: 2.117 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.3598, allocations: 387 kB / 0.5723 GB, free: 1.719 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009185/0.3607, allocations: 329.1 kB / 0.5726 GB, free: 1.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.3626, allocations: 1.147 MB / 0.5737 GB, free: 224 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.3627, allocations: 166.4 kB / 0.5739 GB, free: 36 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006584/0.3634, allocations: 426.4 kB / 0.5743 GB, free: 15.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.3636, allocations: 96.39 kB / 0.5743 GB, free: 15.52 MB / 458.7 MB Notification: Performance of SimCode: time 1.573e-06/0.3636, allocations: 0 / 0.5743 GB, free: 15.52 MB / 458.7 MB Notification: Performance of Templates: time 0.01915/0.3827, allocations: 15.45 MB / 0.5894 GB, free: 320 kB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 4.017662517027929]