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.00133/0.00133, allocations: 112 kB / 17.33 MB, free: 5.988 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.001354/0.001354, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.368/1.368, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2097/0.2097, allocations: 44.18 MB / 336.2 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 64.56 kB / 407.9 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1233, allocations: 60.83 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4311/0.5544, allocations: 172.6 MB / 0.6263 GB, free: 4.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007253/0.5617, allocations: 5.417 MB / 0.6316 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005923/0.5623, allocations: 23.81 kB / 0.6316 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008756/0.5633, allocations: 274.5 kB / 0.6318 GB, free: 14.76 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.566, allocations: 1.153 MB / 0.633 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.5682, allocations: 0.8937 MB / 0.6338 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.5701, allocations: 1.856 MB / 0.6357 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005993/0.5707, allocations: 455.8 kB / 0.6361 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.5726, allocations: 1.063 MB / 0.6371 GB, free: 9.344 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008122/0.5734, allocations: 0.6929 MB / 0.6378 GB, free: 8.648 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.913e-05/0.5735, allocations: 64 kB / 0.6379 GB, free: 8.586 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.5747, allocations: 0.5852 MB / 0.6384 GB, free: 8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.5749, allocations: 275.2 kB / 0.6387 GB, free: 7.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.5753, allocations: 398.2 kB / 0.6391 GB, free: 7.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.5767, allocations: 1.301 MB / 0.6403 GB, free: 6.035 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5767, allocations: 4 kB / 0.6404 GB, free: 6.031 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5767, allocations: 0 / 0.6404 GB, free: 6.031 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.5767, allocations: 3.938 kB / 0.6404 GB, free: 6.027 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.002082/0.5788, allocations: 1.095 MB / 0.6414 GB, free: 4.879 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.5789, allocations: 12.03 kB / 0.6414 GB, free: 4.867 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008287/0.5797, allocations: 139 kB / 0.6416 GB, free: 4.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006744/0.5804, allocations: 0.5079 MB / 0.6421 GB, free: 4.184 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.5805, allocations: 100.4 kB / 0.6422 GB, free: 4.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/0.5806, allocations: 55.89 kB / 0.6422 GB, free: 4.016 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.5818, allocations: 0.8221 MB / 0.643 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.5818, allocations: 3.938 kB / 0.643 GB, free: 3.117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-05/0.5819, allocations: 24 kB / 0.643 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/0.582, allocations: 40.98 kB / 0.6431 GB, free: 3.055 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009993/0.583, allocations: 0.6204 MB / 0.6437 GB, free: 2.434 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.00421/0.5872, allocations: 3.962 MB / 0.6476 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.5878, allocations: 355.6 kB / 0.6479 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.5881, allocations: 177.3 kB / 0.6481 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.5883, allocations: 89.38 kB / 0.6482 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.5883, allocations: 46.64 kB / 0.6482 GB, free: 13.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.5883, allocations: 0 / 0.6482 GB, free: 13.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005382/0.5937, allocations: 1.658 MB / 0.6498 GB, free: 11.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/0.5938, allocations: 136.5 kB / 0.6499 GB, free: 11.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/0.5945, allocations: 0.6133 MB / 0.6505 GB, free: 11.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.5946, allocations: 37.7 kB / 0.6506 GB, free: 10.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.5948, allocations: 374.8 kB / 0.6509 GB, free: 10.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.595, allocations: 138 kB / 0.6511 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.5952, allocations: 158.5 kB / 0.6512 GB, free: 10.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5954, allocations: 374.8 kB / 0.6516 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.5957, allocations: 201.9 kB / 0.6518 GB, free: 9.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.5963, allocations: 0.5124 MB / 0.6523 GB, free: 9.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/0.5972, allocations: 0.7524 MB / 0.653 GB, free: 8.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5972, allocations: 4 kB / 0.653 GB, free: 8.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001354/0.5986, allocations: 0.8874 MB / 0.6539 GB, free: 7.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.5986, allocations: 8 kB / 0.6539 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5986, allocations: 12 kB / 0.6539 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.6, allocations: 315.9 kB / 0.6542 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.6004, allocations: 127.8 kB / 0.6543 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.6015, allocations: 0.9293 MB / 0.6552 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.602, allocations: 47.95 kB / 0.6553 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.903e-05/0.6021, allocations: 71.98 kB / 0.6553 GB, free: 5.75 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.0003216/0.6025, allocations: 242 kB / 0.6556 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.6026, allocations: 71.25 kB / 0.6556 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.6043, allocations: 0.8672 MB / 0.6565 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.6043, allocations: 4 kB / 0.6565 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.6043, allocations: 0 / 0.6565 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.6043, allocations: 5.484 kB / 0.6565 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.6064, allocations: 1.461 MB / 0.6579 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.6064, allocations: 0 / 0.6579 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.6075, allocations: 211.7 kB / 0.6581 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.382e-05/0.6076, allocations: 29.03 kB / 0.6582 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.6077, allocations: 23.98 kB / 0.6582 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.6098, allocations: 2.869 MB / 0.661 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6098, allocations: 3.938 kB / 0.661 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.6111, allocations: 0.8208 MB / 0.6618 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/0.6114, allocations: 196.2 kB / 0.662 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.6115, allocations: 8 kB / 0.662 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004416/0.612, allocations: 24.05 kB / 0.662 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.6121, allocations: 47.89 kB / 0.662 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.995e-05/0.6122, allocations: 39.98 kB / 0.6621 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005771/0.6128, allocations: 439 kB / 0.6625 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6128, allocations: 4 kB / 0.6625 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009398/0.6137, allocations: 263.9 kB / 0.6628 GB, free: 13.66 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.0007543/0.6145, allocations: 282.9 kB / 0.663 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.6158, allocations: 0.6127 MB / 0.6636 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6158, allocations: 0 / 0.6636 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.6168, allocations: 419.6 kB / 0.664 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.6185, allocations: 366.2 kB / 0.6644 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.6208, allocations: 1.549 MB / 0.6659 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.6213, allocations: 0.9261 MB / 0.6668 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001189/0.6225, allocations: 473.2 kB / 0.6672 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/0.6229, allocations: 115.4 kB / 0.6674 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.6229, allocations: 0 / 0.6674 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of Templates: time 0.02911/0.652, allocations: 17.34 MB / 0.6843 GB, free: 7.703 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/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