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.002718/0.002718, allocations: 91.61 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.002902/0.002902, allocations: 169.3 kB / 24.28 MB, free: 152 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.566/1.566, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.3654/0.3654, allocations: 34.27 MB / 295.3 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.202e-06/1.202e-06, allocations: 0 / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.468e-05, allocations: 2.312 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3575/0.3575, allocations: 170.8 MB / 0.5353 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009072/0.3665, allocations: 5.415 MB / 0.5405 GB, free: 13.02 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007205/0.3673, allocations: 27.88 kB / 0.5406 GB, free: 13 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000965/0.3682, allocations: 306.7 kB / 0.5409 GB, free: 12.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003767/0.372, allocations: 1.318 MB / 0.5422 GB, free: 12.11 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.3747, allocations: 1.003 MB / 0.5431 GB, free: 11.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002527/0.3772, allocations: 1.889 MB / 0.545 GB, free: 10.74 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000693/0.3779, allocations: 422.2 kB / 0.5454 GB, free: 10.48 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.3806, allocations: 1.348 MB / 0.5467 GB, free: 9.805 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.3817, allocations: 0.6369 MB / 0.5473 GB, free: 9.473 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.3819, allocations: 62.75 kB / 0.5474 GB, free: 9.473 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.3834, allocations: 0.5553 MB / 0.5479 GB, free: 9.227 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004011/0.3838, allocations: 291.3 kB / 0.5482 GB, free: 9.027 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.3843, allocations: 284.1 kB / 0.5485 GB, free: 8.895 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.3868, allocations: 1.395 MB / 0.5498 GB, free: 8.004 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3868, allocations: 0 / 0.5498 GB, free: 8.004 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3868, allocations: 0 / 0.5498 GB, free: 8.004 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.3868, allocations: 0 / 0.5498 GB, free: 8.004 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.002837/0.3896, allocations: 1.187 MB / 0.551 GB, free: 7.098 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3897, allocations: 8.625 kB / 0.551 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.3907, allocations: 228.8 kB / 0.5512 GB, free: 6.977 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.3917, allocations: 0.4903 MB / 0.5517 GB, free: 6.613 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.3919, allocations: 157.7 kB / 0.5518 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.392, allocations: 55.59 kB / 0.5519 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.3936, allocations: 1.123 MB / 0.553 GB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.3936, allocations: 6.781 kB / 0.553 GB, free: 5.398 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.3937, allocations: 20.59 kB / 0.553 GB, free: 5.387 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-05/0.3937, allocations: 41.08 kB / 0.5531 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009113/0.3946, allocations: 463.3 kB / 0.5535 GB, free: 5.176 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.005889/0.4005, allocations: 4.14 MB / 0.5575 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/0.4012, allocations: 308.1 kB / 0.5578 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.4015, allocations: 134 kB / 0.558 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.4016, allocations: 12.28 kB / 0.558 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.4016, allocations: 45.61 kB / 0.558 GB, free: 452 kB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.4016, allocations: 4 kB / 0.558 GB, free: 448 kB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.006234/0.4079, allocations: 1.388 MB / 0.5594 GB, free: 15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.408, allocations: 132.5 kB / 0.5595 GB, free: 14.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009276/0.4089, allocations: 0.6546 MB / 0.5601 GB, free: 14.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.882e-05/0.409, allocations: 37.7 kB / 0.5602 GB, free: 14.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/0.4094, allocations: 455 kB / 0.5606 GB, free: 13.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.4096, allocations: 162.8 kB / 0.5608 GB, free: 13.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/0.4099, allocations: 180.2 kB / 0.5609 GB, free: 13.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003902/0.4103, allocations: 0.582 MB / 0.5615 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.4106, allocations: 141.9 kB / 0.5616 GB, free: 12.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008832/0.4115, allocations: 0.6849 MB / 0.5623 GB, free: 11.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.4127, allocations: 0.7822 MB / 0.5631 GB, free: 10.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.4127, allocations: 0 / 0.5631 GB, free: 10.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001657/0.4144, allocations: 0.7855 MB / 0.5638 GB, free: 9.926 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.4144, allocations: 8 kB / 0.5639 GB, free: 9.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.4144, allocations: 8 kB / 0.5639 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.4159, allocations: 291.5 kB / 0.5641 GB, free: 9.621 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.4163, allocations: 127.8 kB / 0.5643 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.418, allocations: 1.128 MB / 0.5654 GB, free: 8.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.4185, allocations: 35.92 kB / 0.5654 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.813e-05/0.4186, allocations: 56 kB / 0.5655 GB, free: 8.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.0004001/0.419, allocations: 252.4 kB / 0.5657 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.4192, allocations: 75.62 kB / 0.5658 GB, free: 7.918 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.4209, allocations: 0.7877 MB / 0.5665 GB, free: 7.117 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4209, allocations: 8 kB / 0.5665 GB, free: 7.109 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4209, allocations: 3.984 kB / 0.5665 GB, free: 7.105 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4209, allocations: 0 / 0.5665 GB, free: 7.105 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.4232, allocations: 1.148 MB / 0.5677 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.4232, allocations: 4 kB / 0.5677 GB, free: 5.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.4243, allocations: 196 kB / 0.5679 GB, free: 5.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/0.4244, allocations: 35.59 kB / 0.5679 GB, free: 5.648 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.4245, allocations: 12 kB / 0.5679 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003129/0.4276, allocations: 3.651 MB / 0.5715 GB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.4276, allocations: 7.938 kB / 0.5715 GB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.4293, allocations: 0.7635 MB / 0.5722 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.4296, allocations: 95.58 kB / 0.5723 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-05/0.4297, allocations: 16.17 kB / 0.5723 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.4301, allocations: 23.92 kB / 0.5724 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.4302, allocations: 35.94 kB / 0.5724 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-05/0.4303, allocations: 35.98 kB / 0.5724 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005946/0.4309, allocations: 402.8 kB / 0.5728 GB, free: 344 kB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4309, allocations: 0 / 0.5728 GB, free: 344 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.001029/0.4319, allocations: 251.7 kB / 0.573 GB, free: 92 kB / 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.0007543/0.4327, allocations: 294.8 kB / 0.5733 GB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.4339, allocations: 0.4907 MB / 0.5738 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.4339, allocations: 4 kB / 0.5738 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.435, allocations: 442.2 kB / 0.5742 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.4367, allocations: 326.2 kB / 0.5745 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.4392, allocations: 1.199 MB / 0.5757 GB, free: 13.29 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.4396, allocations: 320.3 kB / 0.576 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001052/0.4406, allocations: 426.1 kB / 0.5764 GB, free: 12.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.4409, allocations: 100.5 kB / 0.5765 GB, free: 12.44 MB / 458.7 MB Notification: Performance of SimCode: time 2.565e-06/0.4409, allocations: 0 / 0.5765 GB, free: 12.44 MB / 458.7 MB Notification: Performance of Templates: time 0.0304/0.4713, allocations: 15.45 MB / 0.5916 GB, free: 13.22 MB / 474.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.9540079809958115]