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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 98.11 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 178 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 243 MB, free: 14.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1934/0.1934, allocations: 44.25 MB / 338.3 MB, free: 2.461 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 11.94 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.416/0.5291, allocations: 170.3 MB / 0.6281 GB, free: 8.391 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008167/0.5373, allocations: 5.41 MB / 0.6334 GB, free: 2.969 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009238/0.5382, allocations: 27.75 kB / 0.6334 GB, free: 2.941 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.5393, allocations: 278.5 kB / 0.6337 GB, free: 2.668 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003454/0.5427, allocations: 1.114 MB / 0.6348 GB, free: 1.555 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.5453, allocations: 0.8656 MB / 0.6356 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003303/0.5486, allocations: 2.71 MB / 0.6383 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009143/0.5495, allocations: 406.8 kB / 0.6387 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.5519, allocations: 0.9418 MB / 0.6396 GB, free: 12.63 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.5533, allocations: 0.6851 MB / 0.6403 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002099/0.5535, allocations: 32 kB / 0.6403 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.555, allocations: 0.5304 MB / 0.6408 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.5554, allocations: 247.2 kB / 0.6411 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006361/0.5561, allocations: 395.9 kB / 0.6414 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.5574, allocations: 0.947 MB / 0.6424 GB, free: 9.797 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.5574, allocations: 0 / 0.6424 GB, free: 9.797 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5574, allocations: 0 / 0.6424 GB, free: 9.797 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.724e-05/0.5574, allocations: 4 kB / 0.6424 GB, free: 9.793 MB / 478.1 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.002399/0.5598, allocations: 0.951 MB / 0.6433 GB, free: 8.789 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.5599, allocations: 11.97 kB / 0.6433 GB, free: 8.777 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009749/0.5609, allocations: 135.1 kB / 0.6434 GB, free: 8.645 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000979/0.5619, allocations: 0.5002 MB / 0.6439 GB, free: 8.105 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.562, allocations: 108.4 kB / 0.644 GB, free: 7.984 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.5622, allocations: 47.94 kB / 0.6441 GB, free: 7.938 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.5636, allocations: 0.8214 MB / 0.6449 GB, free: 7.043 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.5636, allocations: 0 / 0.6449 GB, free: 7.043 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.994e-05/0.5637, allocations: 23.98 kB / 0.6449 GB, free: 7.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.429e-05/0.5638, allocations: 40.92 kB / 0.6449 GB, free: 6.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.565, allocations: 0.6243 MB / 0.6455 GB, free: 6.355 MB / 478.1 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.004984/0.57, allocations: 3.966 MB / 0.6494 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.5706, allocations: 361.9 kB / 0.6498 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.5709, allocations: 165.3 kB / 0.6499 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.571, allocations: 93.36 kB / 0.65 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.5711, allocations: 39.34 kB / 0.65 GB, free: 1.453 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.5711, allocations: 0 / 0.65 GB, free: 1.453 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005908/0.577, allocations: 1.673 MB / 0.6517 GB, free: 15.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.5771, allocations: 140.5 kB / 0.6518 GB, free: 15.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007605/0.5779, allocations: 0.6132 MB / 0.6524 GB, free: 14.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.578, allocations: 33.7 kB / 0.6524 GB, free: 14.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.5783, allocations: 362.8 kB / 0.6528 GB, free: 14.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.5784, allocations: 146 kB / 0.6529 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.5785, allocations: 61.69 kB / 0.653 GB, free: 14.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5787, allocations: 374.8 kB / 0.6533 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.5791, allocations: 205.9 kB / 0.6535 GB, free: 13.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.5796, allocations: 0.5164 MB / 0.654 GB, free: 13.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.5807, allocations: 0.7563 MB / 0.6548 GB, free: 12.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.5807, allocations: 4 kB / 0.6548 GB, free: 12.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001575/0.5823, allocations: 0.8879 MB / 0.6557 GB, free: 11.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5823, allocations: 10.66 kB / 0.6557 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.5823, allocations: 15.94 kB / 0.6557 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.5838, allocations: 308.7 kB / 0.656 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.5842, allocations: 131.8 kB / 0.6561 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.5854, allocations: 0.9298 MB / 0.657 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.586, allocations: 43.88 kB / 0.6571 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.725e-05/0.5861, allocations: 64 kB / 0.6571 GB, free: 9.754 MB / 494.1 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.0003825/0.5865, allocations: 258 kB / 0.6574 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.5866, allocations: 67.25 kB / 0.6574 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.5884, allocations: 0.8683 MB / 0.6583 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5885, allocations: 4 kB / 0.6583 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5885, allocations: 0 / 0.6583 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.5885, allocations: 3.984 kB / 0.6583 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.5906, allocations: 1.454 MB / 0.6597 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.5907, allocations: 4 kB / 0.6597 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.5917, allocations: 215.9 kB / 0.6599 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.752e-05/0.5918, allocations: 20.84 kB / 0.6599 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.5919, allocations: 19.98 kB / 0.6599 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.5941, allocations: 2.695 MB / 0.6626 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5941, allocations: 0 / 0.6626 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.5954, allocations: 0.8128 MB / 0.6634 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.5957, allocations: 192.2 kB / 0.6636 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.5958, allocations: 11.94 kB / 0.6636 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.5963, allocations: 35.97 kB / 0.6636 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.5965, allocations: 39.91 kB / 0.6636 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.826e-05/0.5965, allocations: 43.97 kB / 0.6637 GB, free: 2.543 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005602/0.5971, allocations: 435 kB / 0.6641 GB, free: 2.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5971, allocations: 0 / 0.6641 GB, free: 2.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009651/0.5981, allocations: 256 kB / 0.6643 GB, free: 1.871 MB / 494.1 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 (39): * Single equations (assignments): 37 * 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.0009038/0.599, allocations: 287.6 kB / 0.6646 GB, free: 1.586 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.6008, allocations: 0.5557 MB / 0.6652 GB, free: 1.035 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.6008, allocations: 0 / 0.6652 GB, free: 1.035 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.6022, allocations: 410.3 kB / 0.6655 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/0.605, allocations: 351.2 kB / 0.6659 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.6085, allocations: 1.696 MB / 0.6675 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.6092, allocations: 0.926 MB / 0.6684 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/0.6099, allocations: 131.4 kB / 0.6686 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.6099, allocations: 0 / 0.6686 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.03265/0.6426, allocations: 16.38 MB / 0.6846 GB, free: 13.14 MB / 0.5138 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches