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.001275/0.001275, allocations: 108.1 kB / 17.04 MB, free: 5.797 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.001171/0.001171, allocations: 196 kB / 17.98 MB, free: 5.016 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.392/1.392, 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.2261/0.2261, 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.001735/0.001736, allocations: 66.66 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1272, allocations: 57.78 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5856/0.7129, allocations: 179.7 MB / 0.6071 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.7265, allocations: 8.184 MB / 0.6151 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.7277, allocations: 20.88 kB / 0.6151 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.7291, allocations: 312.8 kB / 0.6154 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005988/0.7351, allocations: 1.49 MB / 0.6169 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.7389, allocations: 1.146 MB / 0.618 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003576/0.7425, allocations: 1.843 MB / 0.6198 GB, free: 336 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008552/0.7434, allocations: 458.9 kB / 0.6202 GB, free: 32 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003876/0.7472, allocations: 1.238 MB / 0.6214 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.7486, allocations: 0.6556 MB / 0.6221 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.7488, allocations: 60.47 kB / 0.6221 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.7513, allocations: 0.8234 MB / 0.6229 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003938/0.7517, allocations: 258 kB / 0.6232 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005956/0.7523, allocations: 398.6 kB / 0.6236 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.7547, allocations: 1.421 MB / 0.625 GB, free: 12.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.7547, allocations: 4 kB / 0.625 GB, free: 12.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.7547, allocations: 4 kB / 0.625 GB, free: 12.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.7547, allocations: 0 / 0.625 GB, free: 12.93 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.002365/0.7571, allocations: 1.126 MB / 0.6261 GB, free: 11.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.7572, allocations: 11.97 kB / 0.6261 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008088/0.758, allocations: 131.1 kB / 0.6262 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.759, allocations: 0.543 MB / 0.6267 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.7592, allocations: 106 kB / 0.6268 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.7593, allocations: 48 kB / 0.6269 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.7606, allocations: 0.8135 MB / 0.6277 GB, free: 9.977 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.7606, allocations: 3.938 kB / 0.6277 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-05/0.7607, allocations: 24 kB / 0.6277 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.056e-05/0.7608, allocations: 40.98 kB / 0.6277 GB, free: 9.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.7619, allocations: 0.6205 MB / 0.6283 GB, free: 9.289 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.004908/0.7668, allocations: 3.973 MB / 0.6322 GB, free: 5.062 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/0.7674, allocations: 352.8 kB / 0.6326 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.7677, allocations: 173.2 kB / 0.6327 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/0.7683, allocations: 361.4 kB / 0.6331 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.7683, allocations: 42.84 kB / 0.6331 GB, free: 4.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 3.075e-06/0.7683, allocations: 0 / 0.6331 GB, free: 4.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005763/0.7741, allocations: 1.667 MB / 0.6347 GB, free: 2.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.994e-05/0.7742, allocations: 136.5 kB / 0.6349 GB, free: 2.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007828/0.775, allocations: 0.621 MB / 0.6355 GB, free: 1.551 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.7751, allocations: 37.7 kB / 0.6355 GB, free: 1.508 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.7754, allocations: 359 kB / 0.6358 GB, free: 1.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.7755, allocations: 145.9 kB / 0.636 GB, free: 1.008 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.7758, allocations: 154.5 kB / 0.6361 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.776, allocations: 374.8 kB / 0.6365 GB, free: 488 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.7763, allocations: 205.9 kB / 0.6367 GB, free: 284 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/0.777, allocations: 0.5203 MB / 0.6372 GB, free: 15.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/0.778, allocations: 0.7448 MB / 0.6379 GB, free: 14.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.778, allocations: 4 kB / 0.6379 GB, free: 14.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001375/0.7794, allocations: 0.8763 MB / 0.6388 GB, free: 13.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.7794, allocations: 8 kB / 0.6388 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.7794, allocations: 12.16 kB / 0.6388 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.7808, allocations: 316.8 kB / 0.6391 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.7812, allocations: 123.8 kB / 0.6392 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.7823, allocations: 0.9424 MB / 0.6401 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.7828, allocations: 32.06 kB / 0.6402 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.98e-05/0.7829, allocations: 63.98 kB / 0.6402 GB, free: 12.32 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.0003481/0.7833, allocations: 246.3 kB / 0.6405 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.7834, allocations: 71.19 kB / 0.6405 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.7847, allocations: 0.6835 MB / 0.6412 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.7847, allocations: 7.984 kB / 0.6412 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.7848, allocations: 0 / 0.6412 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.7848, allocations: 0 / 0.6412 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.787, allocations: 1.607 MB / 0.6428 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.787, allocations: 7.938 kB / 0.6428 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.7881, allocations: 211.7 kB / 0.643 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.891e-05/0.7882, allocations: 20.84 kB / 0.643 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.7882, allocations: 16 kB / 0.643 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.7905, allocations: 2.889 MB / 0.6458 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.7905, allocations: 3.938 kB / 0.6459 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.7917, allocations: 0.8005 MB / 0.6466 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.7921, allocations: 192.2 kB / 0.6468 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.818e-05/0.7922, allocations: 8 kB / 0.6468 GB, free: 5.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.7925, allocations: 19.98 kB / 0.6468 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.7927, allocations: 43.75 kB / 0.6469 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.7927, allocations: 39.98 kB / 0.6469 GB, free: 4.969 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004771/0.7932, allocations: 443 kB / 0.6473 GB, free: 4.539 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7932, allocations: 0 / 0.6473 GB, free: 4.539 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001065/0.7943, allocations: 300 kB / 0.6476 GB, free: 4.246 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.0009294/0.7952, allocations: 360.7 kB / 0.648 GB, free: 3.891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.7964, allocations: 0.548 MB / 0.6485 GB, free: 3.344 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.7964, allocations: 7.859 kB / 0.6485 GB, free: 3.336 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009481/0.7974, allocations: 418.7 kB / 0.6489 GB, free: 2.914 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.7988, allocations: 375.9 kB / 0.6493 GB, free: 2.551 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.8009, allocations: 1.302 MB / 0.6505 GB, free: 1.207 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.8015, allocations: 0.9338 MB / 0.6515 GB, free: 252 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007804/0.8023, allocations: 262.1 kB / 0.6517 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.8025, allocations: 99.39 kB / 0.6518 GB, free: 15.89 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/0.8025, allocations: 0 / 0.6518 GB, free: 15.89 MB / 478.1 MB Notification: Performance of Templates: time 0.03079/0.8334, allocations: 18.32 MB / 0.6697 GB, free: 13.62 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 cvode -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