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.001307/0.001307, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001434/0.001434, allocations: 194 kB / 18.77 MB, free: 4.742 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.439/1.439, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.2133/0.2133, allocations: 44.18 MB / 336.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.31 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1121, allocations: 60.84 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3886/0.5007, allocations: 172.6 MB / 0.6267 GB, free: 4.578 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007517/0.5083, allocations: 5.482 MB / 0.6321 GB, free: 15.08 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008221/0.5091, allocations: 27.81 kB / 0.6321 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009254/0.5101, allocations: 274.5 kB / 0.6324 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.5132, allocations: 1.115 MB / 0.6334 GB, free: 13.67 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.5154, allocations: 0.8579 MB / 0.6343 GB, free: 12.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002815/0.5183, allocations: 2.718 MB / 0.6369 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006527/0.5189, allocations: 402 kB / 0.6373 GB, free: 9.703 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.5213, allocations: 0.9496 MB / 0.6382 GB, free: 8.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.5226, allocations: 0.689 MB / 0.6389 GB, free: 8.059 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.5228, allocations: 32 kB / 0.6389 GB, free: 8.027 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.5244, allocations: 0.5344 MB / 0.6395 GB, free: 7.492 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003952/0.5248, allocations: 239.2 kB / 0.6397 GB, free: 7.258 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006072/0.5254, allocations: 378.2 kB / 0.6401 GB, free: 6.887 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.5272, allocations: 0.9628 MB / 0.641 GB, free: 5.922 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5272, allocations: 0 / 0.641 GB, free: 5.922 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5272, allocations: 3.938 kB / 0.641 GB, free: 5.918 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.5273, allocations: 4 kB / 0.641 GB, free: 5.914 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.002772/0.53, allocations: 1.106 MB / 0.6421 GB, free: 4.758 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.5301, allocations: 15.97 kB / 0.6421 GB, free: 4.742 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008576/0.531, allocations: 135 kB / 0.6422 GB, free: 4.609 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008407/0.5318, allocations: 0.5002 MB / 0.6427 GB, free: 4.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.532, allocations: 104.4 kB / 0.6428 GB, free: 3.953 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.746e-05/0.5321, allocations: 51.89 kB / 0.6429 GB, free: 3.902 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.5334, allocations: 0.8175 MB / 0.6437 GB, free: 3.012 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.5335, allocations: 3.938 kB / 0.6437 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.109e-05/0.5335, allocations: 23.98 kB / 0.6437 GB, free: 2.984 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/0.5336, allocations: 40.97 kB / 0.6437 GB, free: 2.945 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.5348, allocations: 0.6243 MB / 0.6443 GB, free: 2.32 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.004818/0.5396, allocations: 3.962 MB / 0.6482 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.5402, allocations: 347.6 kB / 0.6485 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.5405, allocations: 173.3 kB / 0.6487 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.5407, allocations: 89.39 kB / 0.6488 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.5407, allocations: 38.84 kB / 0.6488 GB, free: 13.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.5407, allocations: 0 / 0.6488 GB, free: 13.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.006236/0.547, allocations: 1.668 MB / 0.6505 GB, free: 11.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/0.5471, allocations: 140.4 kB / 0.6506 GB, free: 11.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008867/0.548, allocations: 0.6132 MB / 0.6512 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/0.5481, allocations: 33.7 kB / 0.6512 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.5484, allocations: 362.9 kB / 0.6516 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.5486, allocations: 150 kB / 0.6517 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.5488, allocations: 154.4 kB / 0.6519 GB, free: 10.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.549, allocations: 378.8 kB / 0.6522 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.5494, allocations: 205.9 kB / 0.6524 GB, free: 9.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.5501, allocations: 0.5125 MB / 0.6529 GB, free: 8.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.5511, allocations: 0.7602 MB / 0.6537 GB, free: 8.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.5511, allocations: 4 kB / 0.6537 GB, free: 8.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001562/0.5527, allocations: 0.8841 MB / 0.6545 GB, free: 7.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.5527, allocations: 8 kB / 0.6545 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.5528, allocations: 12 kB / 0.6545 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.5542, allocations: 304.6 kB / 0.6548 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.5547, allocations: 127.8 kB / 0.655 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.5558, allocations: 0.9308 MB / 0.6559 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005985/0.5564, allocations: 47.88 kB / 0.6559 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.5566, allocations: 67.94 kB / 0.656 GB, free: 5.645 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.0003864/0.5569, allocations: 250.1 kB / 0.6562 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.5571, allocations: 67.25 kB / 0.6563 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.5589, allocations: 0.8728 MB / 0.6571 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.559, allocations: 7.984 kB / 0.6571 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.559, allocations: 0 / 0.6571 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.559, allocations: 3.984 kB / 0.6571 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.5613, allocations: 1.458 MB / 0.6586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.5613, allocations: 0 / 0.6586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.5624, allocations: 211.9 kB / 0.6588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.913e-05/0.5625, allocations: 32.78 kB / 0.6588 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.5626, allocations: 19.98 kB / 0.6588 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.5647, allocations: 2.676 MB / 0.6614 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5647, allocations: 4 kB / 0.6614 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.566, allocations: 0.8207 MB / 0.6622 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.5663, allocations: 184.2 kB / 0.6624 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.5665, allocations: 15.94 kB / 0.6624 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000543/0.5671, allocations: 27.92 kB / 0.6625 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.5672, allocations: 43.95 kB / 0.6625 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-05/0.5673, allocations: 43.98 kB / 0.6625 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006065/0.5679, allocations: 447 kB / 0.663 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5679, allocations: 0 / 0.663 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001005/0.5689, allocations: 252 kB / 0.6632 GB, free: 13.76 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.0008872/0.5698, allocations: 290.4 kB / 0.6635 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.5711, allocations: 0.5473 MB / 0.664 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.5711, allocations: 4.562 kB / 0.664 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.5721, allocations: 402.4 kB / 0.6644 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.5739, allocations: 359.5 kB / 0.6647 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.5765, allocations: 1.611 MB / 0.6663 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.577, allocations: 0.93 MB / 0.6672 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/0.5775, allocations: 119.4 kB / 0.6673 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of SimCode: time 7.12e-07/0.5775, allocations: 0 / 0.6673 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of Templates: time 0.02459/0.6021, allocations: 16.45 MB / 0.6834 GB, free: 9.055 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 -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