Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001545/0.001545, allocations: 109.2 kB / 17.04 MB, free: 5.809 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.001709/0.001709, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2115/0.2115, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 63.81 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1171, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4682/0.5854, allocations: 179.7 MB / 0.6071 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009811/0.5952, allocations: 8.178 MB / 0.6151 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008344/0.5961, allocations: 20.22 kB / 0.6151 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009665/0.5971, allocations: 313 kB / 0.6154 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00413/0.6013, allocations: 1.491 MB / 0.6169 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.6043, allocations: 1.15 MB / 0.618 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002242/0.6066, allocations: 1.835 MB / 0.6198 GB, free: 332 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006157/0.6072, allocations: 465.8 kB / 0.6202 GB, free: 24 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/0.6099, allocations: 1.235 MB / 0.6214 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008516/0.6108, allocations: 0.6562 MB / 0.6221 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.453e-05/0.6109, allocations: 62.53 kB / 0.6221 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.6126, allocations: 0.8271 MB / 0.6229 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.6129, allocations: 258.4 kB / 0.6232 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.6133, allocations: 395.1 kB / 0.6236 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.615, allocations: 1.422 MB / 0.625 GB, free: 12.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.615, allocations: 7.938 kB / 0.625 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.615, allocations: 0 / 0.625 GB, free: 12.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.6151, allocations: 0 / 0.625 GB, free: 12.89 MB / 446.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.002255/0.6173, allocations: 1.126 MB / 0.6261 GB, free: 11.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6174, allocations: 15.97 kB / 0.6261 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007863/0.6182, allocations: 131.1 kB / 0.6262 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000927/0.6191, allocations: 0.5314 MB / 0.6267 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.6192, allocations: 108.4 kB / 0.6268 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.429e-05/0.6193, allocations: 48 kB / 0.6269 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.6207, allocations: 0.8135 MB / 0.6277 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.6207, allocations: 0 / 0.6277 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.536e-05/0.6208, allocations: 24 kB / 0.6277 GB, free: 9.926 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.405e-05/0.6208, allocations: 48.95 kB / 0.6277 GB, free: 9.879 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000997/0.6218, allocations: 0.6204 MB / 0.6283 GB, free: 9.258 MB / 446.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.004494/0.6263, allocations: 3.973 MB / 0.6322 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005413/0.6269, allocations: 348.8 kB / 0.6326 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.6272, allocations: 173.3 kB / 0.6327 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004468/0.6276, allocations: 361.5 kB / 0.6331 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.6277, allocations: 46.77 kB / 0.6331 GB, free: 4.051 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.6277, allocations: 0 / 0.6331 GB, free: 4.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005152/0.6328, allocations: 1.661 MB / 0.6347 GB, free: 2.316 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.6329, allocations: 144.5 kB / 0.6349 GB, free: 2.145 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006655/0.6336, allocations: 0.621 MB / 0.6355 GB, free: 1.516 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.6337, allocations: 37.7 kB / 0.6355 GB, free: 1.473 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.6339, allocations: 355 kB / 0.6358 GB, free: 1.121 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.6341, allocations: 145.9 kB / 0.636 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.6343, allocations: 158.5 kB / 0.6361 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.6345, allocations: 374.8 kB / 0.6365 GB, free: 452 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/0.6348, allocations: 201.9 kB / 0.6367 GB, free: 252 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/0.6354, allocations: 0.5203 MB / 0.6372 GB, free: 15.58 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009735/0.6363, allocations: 0.7487 MB / 0.6379 GB, free: 14.69 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.6364, allocations: 1.125 kB / 0.6379 GB, free: 14.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001373/0.6377, allocations: 0.8763 MB / 0.6388 GB, free: 13.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6378, allocations: 8 kB / 0.6388 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.6378, allocations: 16.12 kB / 0.6388 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.6391, allocations: 319.6 kB / 0.6391 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.6395, allocations: 120.9 kB / 0.6392 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.6405, allocations: 0.9308 MB / 0.6401 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000434/0.641, allocations: 32.06 kB / 0.6402 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.48e-05/0.6411, allocations: 63.98 kB / 0.6402 GB, free: 12.3 MB / 462.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.0002996/0.6414, allocations: 250.3 kB / 0.6405 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.6415, allocations: 71.17 kB / 0.6405 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.6429, allocations: 0.6873 MB / 0.6412 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.6429, allocations: 4 kB / 0.6412 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6429, allocations: 4 kB / 0.6412 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.6429, allocations: 0 / 0.6412 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.6451, allocations: 1.607 MB / 0.6428 GB, free: 9.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.6451, allocations: 3.938 kB / 0.6428 GB, free: 9.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.6461, allocations: 203.8 kB / 0.643 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.399e-05/0.6462, allocations: 24.84 kB / 0.643 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.6463, allocations: 23.98 kB / 0.643 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.6484, allocations: 2.881 MB / 0.6458 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6484, allocations: 0 / 0.6458 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.6496, allocations: 0.8043 MB / 0.6466 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.6499, allocations: 200.3 kB / 0.6468 GB, free: 5.047 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/0.65, allocations: 11.98 kB / 0.6468 GB, free: 5.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.6504, allocations: 12 kB / 0.6468 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/0.6505, allocations: 43.81 kB / 0.6469 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/0.6506, allocations: 43.98 kB / 0.6469 GB, free: 4.938 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005134/0.6511, allocations: 443 kB / 0.6473 GB, free: 4.508 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6511, allocations: 0 / 0.6473 GB, free: 4.508 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009791/0.6521, allocations: 299.9 kB / 0.6476 GB, free: 4.215 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.000889/0.653, allocations: 364.8 kB / 0.648 GB, free: 3.855 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.6541, allocations: 0.5442 MB / 0.6485 GB, free: 3.312 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6541, allocations: 3.859 kB / 0.6485 GB, free: 3.309 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009576/0.6551, allocations: 422.5 kB / 0.6489 GB, free: 2.883 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.6565, allocations: 371.5 kB / 0.6493 GB, free: 2.527 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.6585, allocations: 1.306 MB / 0.6505 GB, free: 1.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.659, allocations: 0.9338 MB / 0.6515 GB, free: 224 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000741/0.6597, allocations: 262 kB / 0.6517 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.66, allocations: 103.3 kB / 0.6518 GB, free: 15.86 MB / 478.1 MB Notification: Performance of SimCode: time 4.61e-07/0.66, allocations: 0 / 0.6518 GB, free: 15.86 MB / 478.1 MB Notification: Performance of Templates: time 0.02845/0.6885, allocations: 18.32 MB / 0.6697 GB, free: 13.58 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches