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.0009094/0.0009094, allocations: 93.09 kB / 17.35 MB, free: 6.371 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.0007933/0.0007933, allocations: 172.4 kB / 18.25 MB, free: 5.523 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.455/1.455, allocations: 223.3 MB / 242.3 MB, free: 14.52 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.2004/0.2004, allocations: 44.24 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 11.98 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1431, allocations: 61.93 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5289/0.6721, allocations: 170.3 MB / 0.6275 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00853/0.6807, allocations: 5.417 MB / 0.6328 GB, free: 2.918 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.6817, allocations: 23.75 kB / 0.6328 GB, free: 2.895 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.6828, allocations: 274.5 kB / 0.6331 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003879/0.6867, allocations: 1.115 MB / 0.6341 GB, free: 1.512 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.6894, allocations: 0.8765 MB / 0.635 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003578/0.693, allocations: 2.71 MB / 0.6377 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009381/0.694, allocations: 402.4 kB / 0.638 GB, free: 13.53 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.6967, allocations: 0.9457 MB / 0.639 GB, free: 12.58 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.6981, allocations: 0.6851 MB / 0.6396 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002313/0.6984, allocations: 32 kB / 0.6397 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.7, allocations: 0.5305 MB / 0.6402 GB, free: 11.33 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004413/0.7005, allocations: 243.2 kB / 0.6404 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008395/0.7013, allocations: 399.9 kB / 0.6408 GB, free: 10.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.7041, allocations: 1.25 MB / 0.642 GB, free: 9.441 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7041, allocations: 3.984 kB / 0.642 GB, free: 9.438 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.7041, allocations: 0 / 0.642 GB, free: 9.438 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.59e-05/0.7042, allocations: 0 / 0.642 GB, free: 9.438 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.00362/0.7078, allocations: 0.9454 MB / 0.6429 GB, free: 8.441 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.7078, allocations: 15.97 kB / 0.643 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.7091, allocations: 140.6 kB / 0.6431 GB, free: 8.289 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.7104, allocations: 0.504 MB / 0.6436 GB, free: 7.746 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.7106, allocations: 108.3 kB / 0.6437 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.7107, allocations: 51.94 kB / 0.6437 GB, free: 7.574 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.7124, allocations: 0.8136 MB / 0.6445 GB, free: 6.688 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.7125, allocations: 3.938 kB / 0.6445 GB, free: 6.684 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.7126, allocations: 27.98 kB / 0.6446 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.161e-05/0.7126, allocations: 40.97 kB / 0.6446 GB, free: 6.617 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.7139, allocations: 0.6204 MB / 0.6452 GB, free: 5.996 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.005321/0.7192, allocations: 3.966 MB / 0.6491 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.7198, allocations: 351.6 kB / 0.6494 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.7202, allocations: 177.3 kB / 0.6496 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.7204, allocations: 85.39 kB / 0.6497 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.7204, allocations: 42.84 kB / 0.6497 GB, free: 1.094 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.7204, allocations: 0 / 0.6497 GB, free: 1.094 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.006046/0.7265, allocations: 1.668 MB / 0.6513 GB, free: 15.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/0.7266, allocations: 140.4 kB / 0.6515 GB, free: 15.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/0.7274, allocations: 0.6171 MB / 0.6521 GB, free: 14.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.299e-05/0.7275, allocations: 37.7 kB / 0.6521 GB, free: 14.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.7279, allocations: 362.8 kB / 0.6524 GB, free: 14.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.728, allocations: 146 kB / 0.6526 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.7281, allocations: 57.69 kB / 0.6526 GB, free: 13.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.7283, allocations: 374.8 kB / 0.653 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.7287, allocations: 205.9 kB / 0.6532 GB, free: 13.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000653/0.7294, allocations: 0.5202 MB / 0.6537 GB, free: 12.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.7305, allocations: 0.7485 MB / 0.6544 GB, free: 11.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.7306, allocations: 4 kB / 0.6544 GB, free: 11.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001672/0.7322, allocations: 0.8871 MB / 0.6553 GB, free: 10.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.7323, allocations: 8.969 kB / 0.6553 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.7323, allocations: 8 kB / 0.6553 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.7338, allocations: 324.5 kB / 0.6556 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.7342, allocations: 115.8 kB / 0.6557 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.7354, allocations: 0.9333 MB / 0.6567 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/0.736, allocations: 47.95 kB / 0.6567 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.376e-05/0.7361, allocations: 67.98 kB / 0.6568 GB, free: 9.395 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.0004056/0.7365, allocations: 250 kB / 0.657 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.7367, allocations: 71.25 kB / 0.6571 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.7385, allocations: 0.8658 MB / 0.6579 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.7385, allocations: 4 kB / 0.6579 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.7385, allocations: 3.938 kB / 0.6579 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.7385, allocations: 3.938 kB / 0.6579 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.7408, allocations: 1.458 MB / 0.6594 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7408, allocations: 0 / 0.6594 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.7419, allocations: 211.7 kB / 0.6596 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-05/0.742, allocations: 33.02 kB / 0.6596 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.7421, allocations: 20 kB / 0.6596 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.7442, allocations: 2.68 MB / 0.6622 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.7442, allocations: 8.219 kB / 0.6622 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.7455, allocations: 0.8128 MB / 0.663 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/0.7459, allocations: 200.2 kB / 0.6632 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.746, allocations: 15.94 kB / 0.6632 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.7464, allocations: 27.92 kB / 0.6633 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.7465, allocations: 40.02 kB / 0.6633 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.931e-05/0.7466, allocations: 43.98 kB / 0.6633 GB, free: 2.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005602/0.7472, allocations: 443 kB / 0.6638 GB, free: 1.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7472, allocations: 0 / 0.6638 GB, free: 1.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001008/0.7482, allocations: 252 kB / 0.664 GB, free: 1.504 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.000836/0.749, allocations: 284.3 kB / 0.6643 GB, free: 1.223 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.7503, allocations: 0.5439 MB / 0.6648 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.7503, allocations: 4 kB / 0.6648 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.7513, allocations: 430.6 kB / 0.6652 GB, free: 252 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.7533, allocations: 352 kB / 0.6656 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.7557, allocations: 1.65 MB / 0.6672 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.7562, allocations: 0.9261 MB / 0.6681 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001297/0.7575, allocations: 470.3 kB / 0.6685 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/0.7579, allocations: 107.4 kB / 0.6686 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.7579, allocations: 0 / 0.6686 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.03015/0.7881, allocations: 16.72 MB / 0.6849 GB, free: 12.13 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/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