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.00113/0.00113, allocations: 98.88 kB / 16.27 MB, free: 5.961 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.001263/0.001264, allocations: 191.1 kB / 17.19 MB, free: 5.598 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.401/1.401, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2354/0.2354, allocations: 43.52 MB / 313.9 MB, free: 0.5469 MB / 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.001906/0.001906, allocations: 68.66 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1685, allocations: 57.79 MB / 440.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5633/0.7318, allocations: 179.7 MB / 0.6057 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.7437, allocations: 8.185 MB / 0.6137 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008867/0.7446, allocations: 17.97 kB / 0.6137 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.7462, allocations: 315.3 kB / 0.614 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007323/0.7536, allocations: 1.482 MB / 0.6154 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005483/0.7591, allocations: 1.155 MB / 0.6166 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00383/0.7629, allocations: 1.841 MB / 0.6184 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.7643, allocations: 465.8 kB / 0.6188 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004971/0.7693, allocations: 1.225 MB / 0.62 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.7714, allocations: 0.6613 MB / 0.6207 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004202/0.7719, allocations: 63.16 kB / 0.6207 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.7757, allocations: 0.7337 MB / 0.6214 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007888/0.7765, allocations: 260.3 kB / 0.6217 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.7779, allocations: 401 kB / 0.6221 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004187/0.7821, allocations: 1.402 MB / 0.6234 GB, free: 13.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7822, allocations: 4 kB / 0.6234 GB, free: 13.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.7822, allocations: 3.938 kB / 0.6234 GB, free: 13.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.753e-05/0.7822, allocations: 0 / 0.6234 GB, free: 13.55 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.005121/0.7874, allocations: 1.13 MB / 0.6245 GB, free: 12.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.57e-05/0.7875, allocations: 11.97 kB / 0.6246 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.7892, allocations: 135.1 kB / 0.6247 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.7907, allocations: 0.5118 MB / 0.6252 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.7909, allocations: 100.4 kB / 0.6253 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.7911, allocations: 51.98 kB / 0.6253 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.7931, allocations: 0.8174 MB / 0.6261 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/0.7932, allocations: 0 / 0.6261 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.7933, allocations: 24 kB / 0.6261 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.484e-05/0.7934, allocations: 40.97 kB / 0.6262 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.7949, allocations: 0.6243 MB / 0.6268 GB, free: 9.93 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.005751/0.8006, allocations: 3.982 MB / 0.6307 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006039/0.8013, allocations: 360.8 kB / 0.631 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.8015, allocations: 169.3 kB / 0.6312 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005011/0.8021, allocations: 365.4 kB / 0.6315 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.8021, allocations: 42.78 kB / 0.6316 GB, free: 4.707 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.8021, allocations: 0 / 0.6316 GB, free: 4.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.006154/0.8083, allocations: 1.662 MB / 0.6332 GB, free: 2.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.8084, allocations: 140.5 kB / 0.6333 GB, free: 2.805 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008016/0.8092, allocations: 0.6171 MB / 0.6339 GB, free: 2.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.8093, allocations: 37.7 kB / 0.634 GB, free: 2.137 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.8096, allocations: 363 kB / 0.6343 GB, free: 1.777 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.8097, allocations: 141.9 kB / 0.6345 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.81, allocations: 158.5 kB / 0.6346 GB, free: 1.477 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.8102, allocations: 378.8 kB / 0.635 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.8106, allocations: 201.9 kB / 0.6352 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007227/0.8113, allocations: 0.5125 MB / 0.6357 GB, free: 248 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.8126, allocations: 0.7487 MB / 0.6364 GB, free: 15.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.309e-05/0.8126, allocations: 8 kB / 0.6364 GB, free: 15.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001626/0.8143, allocations: 0.8754 MB / 0.6373 GB, free: 14.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.8143, allocations: 13 kB / 0.6373 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.8143, allocations: 8 kB / 0.6373 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/0.8158, allocations: 323.7 kB / 0.6376 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.8162, allocations: 123.8 kB / 0.6377 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.8175, allocations: 0.9308 MB / 0.6386 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/0.8181, allocations: 31.98 kB / 0.6386 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/0.8182, allocations: 60 kB / 0.6387 GB, free: 12.96 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.0003998/0.8186, allocations: 254.3 kB / 0.6389 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.8188, allocations: 71.19 kB / 0.639 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.8204, allocations: 0.6861 MB / 0.6397 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.8204, allocations: 7.938 kB / 0.6397 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8204, allocations: 0 / 0.6397 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.8204, allocations: 3.984 kB / 0.6397 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.8229, allocations: 1.61 MB / 0.6413 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8229, allocations: 3.938 kB / 0.6413 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.824, allocations: 211.9 kB / 0.6415 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.891e-05/0.8241, allocations: 16.84 kB / 0.6415 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.417e-05/0.8242, allocations: 23.98 kB / 0.6415 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/0.8265, allocations: 2.885 MB / 0.6443 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8265, allocations: 4.188 kB / 0.6443 GB, free: 6.734 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.8278, allocations: 0.8032 MB / 0.6451 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.8281, allocations: 188.2 kB / 0.6453 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.8282, allocations: 12.06 kB / 0.6453 GB, free: 5.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.8287, allocations: 23.98 kB / 0.6453 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.8288, allocations: 35.95 kB / 0.6454 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/0.8289, allocations: 39.98 kB / 0.6454 GB, free: 5.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005695/0.8294, allocations: 443 kB / 0.6458 GB, free: 5.156 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.893e-06/0.8295, allocations: 0 / 0.6458 GB, free: 5.156 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001138/0.8306, allocations: 295.9 kB / 0.6461 GB, free: 4.867 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.001291/0.8319, allocations: 368.2 kB / 0.6465 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.8334, allocations: 0.5975 MB / 0.647 GB, free: 3.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.8334, allocations: 7.797 kB / 0.647 GB, free: 3.902 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.8345, allocations: 427.7 kB / 0.6475 GB, free: 3.473 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.8363, allocations: 376.3 kB / 0.6478 GB, free: 3.109 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.8387, allocations: 1.31 MB / 0.6491 GB, free: 1.758 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006199/0.8394, allocations: 0.93 MB / 0.65 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00111/0.8405, allocations: 266 kB / 0.6503 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.8408, allocations: 99.41 kB / 0.6504 GB, free: 452 kB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.8408, allocations: 0 / 0.6504 GB, free: 452 kB / 462.1 MB Notification: Performance of Templates: time 0.03672/0.8775, allocations: 18.34 MB / 0.6683 GB, free: 14.15 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/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