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.001006/0.001006, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001118/0.001118, allocations: 168.7 kB / 24.99 MB, free: 8.793 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.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2819/0.2819, allocations: 32.81 MB / 294.6 MB, free: 1.309 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.284e-06/2.284e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.255e-05/3.484e-05, allocations: 2.312 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3201/0.3201, allocations: 170.9 MB / 0.5341 GB, free: 2.789 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004972/0.3251, allocations: 5.402 MB / 0.5394 GB, free: 15.17 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005447/0.3257, allocations: 30.84 kB / 0.5394 GB, free: 15.15 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008038/0.3265, allocations: 307.1 kB / 0.5397 GB, free: 14.98 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.3291, allocations: 1.323 MB / 0.541 GB, free: 14.26 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.331, allocations: 1.007 MB / 0.5419 GB, free: 13.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.3328, allocations: 1.887 MB / 0.5438 GB, free: 12.88 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005446/0.3334, allocations: 411.2 kB / 0.5442 GB, free: 12.63 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.3352, allocations: 1.343 MB / 0.5455 GB, free: 12.06 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007475/0.336, allocations: 0.6434 MB / 0.5461 GB, free: 11.79 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.671e-05/0.3361, allocations: 63.78 kB / 0.5462 GB, free: 11.78 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.3371, allocations: 0.5542 MB / 0.5467 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.3373, allocations: 288.5 kB / 0.547 GB, free: 11.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.3375, allocations: 289.6 kB / 0.5473 GB, free: 11.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.3387, allocations: 1.085 MB / 0.5483 GB, free: 10.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3387, allocations: 7.031 kB / 0.5483 GB, free: 10.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3387, allocations: 4 kB / 0.5483 GB, free: 10.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.3387, allocations: 0 / 0.5483 GB, free: 10.56 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.001408/0.3401, allocations: 1.145 MB / 0.5495 GB, free: 9.672 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3402, allocations: 12.5 kB / 0.5495 GB, free: 9.668 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006207/0.3408, allocations: 227.8 kB / 0.5497 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.3414, allocations: 480.5 kB / 0.5502 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.3415, allocations: 156.5 kB / 0.5503 GB, free: 9.051 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/0.3415, allocations: 56.92 kB / 0.5504 GB, free: 9.031 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008017/0.3423, allocations: 1.011 MB / 0.5513 GB, free: 8.047 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.3424, allocations: 6.906 kB / 0.5513 GB, free: 8.043 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.3424, allocations: 20.34 kB / 0.5514 GB, free: 8.031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.3425, allocations: 37.61 kB / 0.5514 GB, free: 8.023 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.3429, allocations: 316.7 kB / 0.5517 GB, free: 7.902 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.002908/0.3458, allocations: 3.876 MB / 0.5555 GB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.3461, allocations: 222.3 kB / 0.5557 GB, free: 4.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.3463, allocations: 84.05 kB / 0.5558 GB, free: 4.234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.072e-05/0.3464, allocations: 15.81 kB / 0.5558 GB, free: 4.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.3464, allocations: 43.55 kB / 0.5558 GB, free: 4.184 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.3464, allocations: 0 / 0.5558 GB, free: 4.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.002839/0.3492, allocations: 1.167 MB / 0.557 GB, free: 3.477 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.3493, allocations: 138.1 kB / 0.5571 GB, free: 3.316 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.3497, allocations: 0.5412 MB / 0.5576 GB, free: 2.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.3497, allocations: 41.69 kB / 0.5577 GB, free: 2.723 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.3499, allocations: 435 kB / 0.5581 GB, free: 2.289 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.563e-05/0.35, allocations: 146.8 kB / 0.5582 GB, free: 2.145 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.3502, allocations: 160.2 kB / 0.5584 GB, free: 1.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3503, allocations: 0.5469 MB / 0.5589 GB, free: 1.422 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3505, allocations: 93.94 kB / 0.559 GB, free: 1.328 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.3509, allocations: 0.6152 MB / 0.5596 GB, free: 500 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007543/0.3516, allocations: 0.6658 MB / 0.5603 GB, free: 15.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3516, allocations: 4 kB / 0.5603 GB, free: 15.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007967/0.3524, allocations: 0.6489 MB / 0.5609 GB, free: 14.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3525, allocations: 8 kB / 0.5609 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3525, allocations: 20.08 kB / 0.5609 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007071/0.3532, allocations: 247.4 kB / 0.5612 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.3534, allocations: 123.8 kB / 0.5613 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006745/0.3541, allocations: 0.995 MB / 0.5623 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.3543, allocations: 28 kB / 0.5623 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/0.3544, allocations: 59.98 kB / 0.5623 GB, free: 13.46 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.0002028/0.3546, allocations: 208.4 kB / 0.5625 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.855e-05/0.3547, allocations: 76.38 kB / 0.5626 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009632/0.3557, allocations: 0.6951 MB / 0.5633 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3557, allocations: 7.984 kB / 0.5633 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3557, allocations: 0 / 0.5633 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3557, allocations: 0 / 0.5633 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.357, allocations: 0.9373 MB / 0.5642 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.357, allocations: 8.031 kB / 0.5642 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.3575, allocations: 195.8 kB / 0.5644 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.932e-05/0.3576, allocations: 19.67 kB / 0.5644 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.3576, allocations: 20 kB / 0.5644 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.3595, allocations: 3.553 MB / 0.5679 GB, free: 7.422 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.3595, allocations: 4 kB / 0.5679 GB, free: 7.418 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006717/0.3602, allocations: 0.5998 MB / 0.5685 GB, free: 6.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.3603, allocations: 99.58 kB / 0.5686 GB, free: 6.672 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.3604, allocations: 8 kB / 0.5686 GB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.3606, allocations: 23.86 kB / 0.5686 GB, free: 6.641 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.3606, allocations: 43.88 kB / 0.5687 GB, free: 6.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.3607, allocations: 31.98 kB / 0.5687 GB, free: 6.566 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00025/0.3609, allocations: 342.8 kB / 0.569 GB, free: 6.234 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3609, allocations: 0 / 0.569 GB, free: 6.234 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006982/0.3616, allocations: 259.8 kB / 0.5693 GB, free: 5.98 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.0005008/0.3621, allocations: 296 kB / 0.5696 GB, free: 5.684 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000655/0.3628, allocations: 378.5 kB / 0.5699 GB, free: 5.312 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3628, allocations: 0 / 0.5699 GB, free: 5.312 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.3633, allocations: 389.9 kB / 0.5703 GB, free: 4.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008257/0.3641, allocations: 327.5 kB / 0.5706 GB, free: 4.625 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.3659, allocations: 1.15 MB / 0.5717 GB, free: 3.418 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.366, allocations: 170.4 kB / 0.5719 GB, free: 3.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005882/0.3666, allocations: 422.3 kB / 0.5723 GB, free: 2.812 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.3668, allocations: 100.5 kB / 0.5724 GB, free: 2.715 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/0.3668, allocations: 0 / 0.5724 GB, free: 2.715 MB / 442.7 MB Notification: Performance of Templates: time 0.01919/0.386, allocations: 15.45 MB / 0.5875 GB, free: 3.512 MB / 458.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.844384682131931]