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.001129/0.001129, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0012/0.0012, allocations: 165.4 kB / 24.56 MB, free: 16 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.009/1.009, allocations: 177.2 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] 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.2734/0.2734, allocations: 32.81 MB / 294.3 MB, free: 1.227 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 2.555e-06/2.555e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.311e-05, allocations: 4.844 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3442/0.3442, allocations: 148.7 MB / 0.5125 GB, free: 17.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.348, allocations: 2.586 MB / 0.515 GB, free: 15.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006255/0.3487, allocations: 30.84 kB / 0.515 GB, free: 15.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006196/0.3493, allocations: 215.3 kB / 0.5152 GB, free: 15.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.3516, allocations: 1.093 MB / 0.5163 GB, free: 15.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.3534, allocations: 0.832 MB / 0.5171 GB, free: 14.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00215/0.3555, allocations: 1.905 MB / 0.519 GB, free: 13.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008245/0.3564, allocations: 424.6 kB / 0.5194 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.358, allocations: 1.137 MB / 0.5205 GB, free: 13.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007807/0.3588, allocations: 0.5847 MB / 0.5211 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.359, allocations: 58.91 kB / 0.5211 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008774/0.3598, allocations: 459.9 kB / 0.5216 GB, free: 12.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.36, allocations: 286.1 kB / 0.5218 GB, free: 12.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.3603, allocations: 286.9 kB / 0.5221 GB, free: 12.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.3615, allocations: 0.9908 MB / 0.5231 GB, free: 12.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3615, allocations: 0 / 0.5231 GB, free: 12.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3615, allocations: 0 / 0.5231 GB, free: 12.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.3615, allocations: 0 / 0.5231 GB, free: 12.13 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.001544/0.3631, allocations: 1.131 MB / 0.5242 GB, free: 11.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3631, allocations: 8.969 kB / 0.5242 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006001/0.3637, allocations: 226.2 kB / 0.5244 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/0.3643, allocations: 497.3 kB / 0.5249 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/0.3644, allocations: 155.3 kB / 0.525 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.661e-05/0.3645, allocations: 65.3 kB / 0.5251 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007807/0.3653, allocations: 0.9721 MB / 0.526 GB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.3653, allocations: 2.406 kB / 0.526 GB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.644e-05/0.3653, allocations: 21.97 kB / 0.5261 GB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/0.3654, allocations: 44.78 kB / 0.5261 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/0.3658, allocations: 308.1 kB / 0.5264 GB, free: 9.875 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.002224/0.3681, allocations: 3.862 MB / 0.5302 GB, free: 6.582 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.3684, allocations: 215.8 kB / 0.5304 GB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.3685, allocations: 85.45 kB / 0.5305 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-05/0.3685, allocations: 18.39 kB / 0.5305 GB, free: 6.469 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.3686, allocations: 40.45 kB / 0.5305 GB, free: 6.422 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/0.3686, allocations: 2.719 kB / 0.5305 GB, free: 6.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.00267/0.3712, allocations: 1.169 MB / 0.5317 GB, free: 5.836 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3713, allocations: 135.9 kB / 0.5318 GB, free: 5.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.3717, allocations: 0.5547 MB / 0.5323 GB, free: 5.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.3717, allocations: 36.42 kB / 0.5324 GB, free: 5.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.3719, allocations: 440.1 kB / 0.5328 GB, free: 4.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.372, allocations: 153.1 kB / 0.5329 GB, free: 4.848 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.3721, allocations: 167.2 kB / 0.5331 GB, free: 4.758 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.3722, allocations: 0.5467 MB / 0.5336 GB, free: 4.234 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.3724, allocations: 93.91 kB / 0.5337 GB, free: 4.223 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.3727, allocations: 0.642 MB / 0.5343 GB, free: 3.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.3732, allocations: 0.7009 MB / 0.535 GB, free: 2.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3732, allocations: 2.375 kB / 0.535 GB, free: 2.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007652/0.3739, allocations: 0.6688 MB / 0.5357 GB, free: 2.512 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.374, allocations: 12.84 kB / 0.5357 GB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.374, allocations: 11.25 kB / 0.5357 GB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006847/0.3747, allocations: 251.7 kB / 0.5359 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.3749, allocations: 129.5 kB / 0.5361 GB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005223/0.3754, allocations: 1.005 MB / 0.537 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.3757, allocations: 31.41 kB / 0.5371 GB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/0.3757, allocations: 62.72 kB / 0.5371 GB, free: 1.578 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (70): * Single equations (assignments): 69 * 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.0001526/0.3759, allocations: 209.4 kB / 0.5373 GB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.3759, allocations: 74.84 kB / 0.5374 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008151/0.3768, allocations: 0.688 MB / 0.5381 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3768, allocations: 10.3 kB / 0.5381 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3768, allocations: 4 kB / 0.5381 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3768, allocations: 0 / 0.5381 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009998/0.3778, allocations: 0.9306 MB / 0.539 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3778, allocations: 6.031 kB / 0.539 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/0.3783, allocations: 194.9 kB / 0.5392 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-05/0.3784, allocations: 31.78 kB / 0.5392 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.3784, allocations: 12.53 kB / 0.5392 GB, free: 500 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.3799, allocations: 3.554 MB / 0.5427 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3799, allocations: 2.562 kB / 0.5427 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.3805, allocations: 0.5996 MB / 0.5433 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.3806, allocations: 96.88 kB / 0.5434 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.3807, allocations: 11.31 kB / 0.5434 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3809, allocations: 19.58 kB / 0.5434 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.3809, allocations: 43.03 kB / 0.5435 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.381, allocations: 39.48 kB / 0.5435 GB, free: 12.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002555/0.3812, allocations: 344.3 kB / 0.5438 GB, free: 12.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3812, allocations: 0 / 0.5438 GB, free: 12.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006411/0.3819, allocations: 246.5 kB / 0.5441 GB, free: 12.2 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.0004684/0.3824, allocations: 273.7 kB / 0.5443 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006224/0.383, allocations: 388.7 kB / 0.5447 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.383, allocations: 3.938 kB / 0.5447 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004914/0.3835, allocations: 392.3 kB / 0.5451 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007884/0.3843, allocations: 317.6 kB / 0.5454 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.386, allocations: 1.16 MB / 0.5465 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.3861, allocations: 166.4 kB / 0.5467 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006857/0.3868, allocations: 430.3 kB / 0.5471 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.3869, allocations: 100.4 kB / 0.5472 GB, free: 10.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3869, allocations: 0 / 0.5472 GB, free: 10.75 MB / 426.7 MB Notification: Performance of Templates: time 0.0196/0.4065, allocations: 16.36 MB / 0.5631 GB, free: 12.32 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] 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","",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.797822655644268]