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.001087/0.001087, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001034/0.001034, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.367/1.367, allocations: 222.9 MB / 243 MB, free: 15.14 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.2031/0.2031, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 65.98 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1116, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4046/0.5162, allocations: 174.4 MB / 0.63 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007119/0.5233, allocations: 5.338 MB / 0.6352 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005668/0.5239, allocations: 19.88 kB / 0.6352 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009332/0.5249, allocations: 322 kB / 0.6355 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.5281, allocations: 1.241 MB / 0.6367 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.5305, allocations: 0.959 MB / 0.6376 GB, free: 9.793 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002162/0.5327, allocations: 1.852 MB / 0.6394 GB, free: 7.938 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006218/0.5333, allocations: 464.9 kB / 0.6399 GB, free: 7.48 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.5354, allocations: 1.063 MB / 0.6409 GB, free: 6.414 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008678/0.5362, allocations: 0.654 MB / 0.6416 GB, free: 5.758 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.5364, allocations: 60 kB / 0.6416 GB, free: 5.699 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.5378, allocations: 0.6242 MB / 0.6422 GB, free: 5.074 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.538, allocations: 263.2 kB / 0.6425 GB, free: 4.816 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004316/0.5385, allocations: 398.2 kB / 0.6429 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.5401, allocations: 1.301 MB / 0.6441 GB, free: 3.121 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5401, allocations: 3.938 kB / 0.6441 GB, free: 3.117 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5401, allocations: 4 kB / 0.6441 GB, free: 3.113 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.5401, allocations: 0 / 0.6441 GB, free: 3.113 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.002205/0.5423, allocations: 1.099 MB / 0.6452 GB, free: 1.961 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5424, allocations: 8.031 kB / 0.6452 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008311/0.5432, allocations: 135.1 kB / 0.6454 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009192/0.5441, allocations: 0.5313 MB / 0.6459 GB, free: 1.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.5443, allocations: 104.4 kB / 0.646 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-05/0.5444, allocations: 47.88 kB / 0.646 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.5456, allocations: 0.8136 MB / 0.6468 GB, free: 212 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.5456, allocations: 7.938 kB / 0.6468 GB, free: 204 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.5457, allocations: 23.98 kB / 0.6468 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.131e-05/0.5457, allocations: 48.92 kB / 0.6469 GB, free: 132 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.5468, allocations: 0.6205 MB / 0.6475 GB, free: 15.5 MB / 494.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.004393/0.5512, allocations: 3.954 MB / 0.6514 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.5518, allocations: 367.5 kB / 0.6517 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.552, allocations: 173.3 kB / 0.6519 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.5522, allocations: 89.38 kB / 0.652 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.5522, allocations: 38.84 kB / 0.652 GB, free: 10.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.5522, allocations: 0 / 0.652 GB, free: 10.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005384/0.5576, allocations: 1.66 MB / 0.6536 GB, free: 8.871 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.149e-05/0.5577, allocations: 140.5 kB / 0.6537 GB, free: 8.703 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.5584, allocations: 0.6094 MB / 0.6543 GB, free: 8.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.5585, allocations: 37.7 kB / 0.6544 GB, free: 8.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.5587, allocations: 370.8 kB / 0.6547 GB, free: 7.676 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.5589, allocations: 142 kB / 0.6549 GB, free: 7.535 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.5591, allocations: 162.5 kB / 0.655 GB, free: 7.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.5593, allocations: 370.8 kB / 0.6554 GB, free: 7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.5596, allocations: 209.8 kB / 0.6556 GB, free: 6.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.5602, allocations: 0.5202 MB / 0.6561 GB, free: 6.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009655/0.5612, allocations: 0.7397 MB / 0.6568 GB, free: 5.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.5612, allocations: 4 kB / 0.6568 GB, free: 5.246 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001457/0.5627, allocations: 0.8919 MB / 0.6577 GB, free: 4.344 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.5627, allocations: 15.12 kB / 0.6577 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.5627, allocations: 8.906 kB / 0.6577 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.5642, allocations: 321.6 kB / 0.658 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.5646, allocations: 119.8 kB / 0.6581 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.5656, allocations: 0.9369 MB / 0.659 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.5661, allocations: 20 kB / 0.6591 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-05/0.5662, allocations: 71.98 kB / 0.6591 GB, free: 2.84 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.0003418/0.5665, allocations: 241.9 kB / 0.6594 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.5667, allocations: 71.16 kB / 0.6594 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.5683, allocations: 0.8577 MB / 0.6603 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.5683, allocations: 4 kB / 0.6603 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5683, allocations: 0 / 0.6603 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.5683, allocations: 3.984 kB / 0.6603 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.5704, allocations: 1.465 MB / 0.6617 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5704, allocations: 0 / 0.6617 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.5714, allocations: 215.6 kB / 0.6619 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-05/0.5715, allocations: 29.03 kB / 0.6619 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.5716, allocations: 23.98 kB / 0.662 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/0.5736, allocations: 2.873 MB / 0.6648 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5736, allocations: 3.938 kB / 0.6648 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.5748, allocations: 0.8258 MB / 0.6656 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.5751, allocations: 188.3 kB / 0.6658 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.48e-05/0.5753, allocations: 8 kB / 0.6658 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.5756, allocations: 19.98 kB / 0.6658 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.5758, allocations: 39.97 kB / 0.6658 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.529e-05/0.5758, allocations: 47.97 kB / 0.6659 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005484/0.5764, allocations: 435 kB / 0.6663 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.034e-06/0.5764, allocations: 0 / 0.6663 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001013/0.5774, allocations: 259.9 kB / 0.6665 GB, free: 10.77 MB / 0.4981 GB 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.0007689/0.5782, allocations: 286.6 kB / 0.6668 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.5793, allocations: 0.5662 MB / 0.6674 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5793, allocations: 4 kB / 0.6674 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009376/0.5803, allocations: 422.2 kB / 0.6678 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.5817, allocations: 362.2 kB / 0.6681 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.5838, allocations: 1.333 MB / 0.6694 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.5843, allocations: 0.9261 MB / 0.6703 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008963/0.5852, allocations: 462.4 kB / 0.6708 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.5855, allocations: 111.4 kB / 0.6709 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.5855, allocations: 0 / 0.6709 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of Templates: time 0.02716/0.6127, allocations: 17.4 MB / 0.6879 GB, free: 5.004 MB / 0.5137 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 -s gbode -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