Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001585, allocations: 180.3 kB / 16.08 MB, free: 5.531 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.6 MB / 222.4 MB, free: 13.67 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008825/0.0008825, allocations: 94.2 kB / 270.8 MB, free: 13.19 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2124/0.2124, allocations: 43.68 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003111, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1206, allocations: 58.86 MB / 491.2 MB, free: 8.113 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3834/0.504, allocations: 139.4 MB / 0.6158 GB, free: 15.47 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004223/0.5083, allocations: 4.661 MB / 0.6204 GB, free: 10.41 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.5084, allocations: 0 / 0.6204 GB, free: 10.41 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.5087, allocations: 55.78 kB / 0.6204 GB, free: 10.36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.5108, allocations: 0.9282 MB / 0.6213 GB, free: 9.426 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.5112, allocations: 183.6 kB / 0.6215 GB, free: 9.246 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.5117, allocations: 474.5 kB / 0.622 GB, free: 8.781 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.5117, allocations: 21.09 kB / 0.622 GB, free: 8.762 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.512, allocations: 143.5 kB / 0.6221 GB, free: 8.621 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.5122, allocations: 115.6 kB / 0.6222 GB, free: 8.508 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.5122, allocations: 8 kB / 0.6222 GB, free: 8.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002804/0.515, allocations: 1.722 MB / 0.6239 GB, free: 6.773 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.847e-05/0.5151, allocations: 71.83 kB / 0.624 GB, free: 6.703 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.5153, allocations: 129.2 kB / 0.6241 GB, free: 6.57 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.5168, allocations: 1.107 MB / 0.6252 GB, free: 5.461 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5168, allocations: 0 / 0.6252 GB, free: 5.461 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5168, allocations: 3.938 kB / 0.6252 GB, free: 5.457 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.5168, allocations: 0 / 0.6252 GB, free: 5.457 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007125/0.5176, allocations: 0.4916 MB / 0.6257 GB, free: 4.918 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.5176, allocations: 12.03 kB / 0.6257 GB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003301/0.5209, allocations: 368.2 kB / 0.626 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.5213, allocations: 260.1 kB / 0.6263 GB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.5213, allocations: 20.94 kB / 0.6263 GB, free: 4.234 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.712e-05/0.5214, allocations: 19.94 kB / 0.6263 GB, free: 4.215 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009152/0.5223, allocations: 497.2 kB / 0.6268 GB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5223, allocations: 0 / 0.6268 GB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.5224, allocations: 15.94 kB / 0.6268 GB, free: 3.703 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5224, allocations: 4 kB / 0.6268 GB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.5234, allocations: 0.5114 MB / 0.6273 GB, free: 3.188 MB / 426.7 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.002168/0.5256, allocations: 0.9891 MB / 0.6283 GB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.5262, allocations: 293 kB / 0.6286 GB, free: 1.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.5264, allocations: 151.3 kB / 0.6287 GB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/0.528, allocations: 0.8932 MB / 0.6296 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.5281, allocations: 38.56 kB / 0.6296 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.5281, allocations: 0 / 0.6296 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009341/0.529, allocations: 401.8 kB / 0.63 GB, free: 204 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.5291, allocations: 85.11 kB / 0.6301 GB, free: 100 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.5292, allocations: 117.8 kB / 0.6302 GB, free: 15.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.5293, allocations: 29.7 kB / 0.6302 GB, free: 15.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.5293, allocations: 116.4 kB / 0.6303 GB, free: 15.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.5294, allocations: 110.4 kB / 0.6304 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.5295, allocations: 4 kB / 0.6304 GB, free: 15.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5296, allocations: 322.8 kB / 0.6307 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.5299, allocations: 116.6 kB / 0.6309 GB, free: 15.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.5301, allocations: 207.5 kB / 0.631 GB, free: 15.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.5307, allocations: 335 kB / 0.6314 GB, free: 14.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5307, allocations: 4 kB / 0.6314 GB, free: 14.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006956/0.5314, allocations: 377.8 kB / 0.6317 GB, free: 14.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5314, allocations: 8.062 kB / 0.6317 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.5314, allocations: 4 kB / 0.6317 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.5315, allocations: 4 kB / 0.6317 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.5319, allocations: 75.89 kB / 0.6318 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.5319, allocations: 4.547 kB / 0.6318 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.5322, allocations: 31.73 kB / 0.6319 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.5323, allocations: 20 kB / 0.6319 GB, free: 14.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.5324, allocations: 149.6 kB / 0.632 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.5325, allocations: 19.84 kB / 0.632 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008273/0.5334, allocations: 386.9 kB / 0.6324 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.5334, allocations: 0 / 0.6324 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.5334, allocations: 4 kB / 0.6324 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5334, allocations: 0 / 0.6324 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005988/0.534, allocations: 377.4 kB / 0.6328 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.534, allocations: 0 / 0.6328 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/0.5344, allocations: 55.91 kB / 0.6328 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5345, allocations: 0 / 0.6328 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.5345, allocations: 15.98 kB / 0.6328 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.5345, allocations: 0.5 kB / 0.6328 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5345, allocations: 4 kB / 0.6328 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.5354, allocations: 0.5453 MB / 0.6334 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.5354, allocations: 93.02 kB / 0.6335 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.5355, allocations: 8.875 kB / 0.6335 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.5359, allocations: 19.89 kB / 0.6335 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.5359, allocations: 15.97 kB / 0.6335 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.536, allocations: 23.92 kB / 0.6335 GB, free: 12.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.706e-05/0.536, allocations: 95.27 kB / 0.6336 GB, free: 12.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5361, allocations: 0 / 0.6336 GB, free: 12.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008808/0.5369, allocations: 235.8 kB / 0.6338 GB, free: 12.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/0.538, allocations: 422.7 kB / 0.6342 GB, free: 11.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005995/0.5386, allocations: 299.9 kB / 0.6345 GB, free: 11.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5386, allocations: 0 / 0.6345 GB, free: 11.31 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.5388, allocations: 155.8 kB / 0.6347 GB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.5395, allocations: 88.42 kB / 0.6348 GB, free: 11.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.5408, allocations: 0.9182 MB / 0.6357 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.5411, allocations: 0.7287 MB / 0.6364 GB, free: 9.363 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005169/0.5416, allocations: 86.77 kB / 0.6365 GB, free: 9.281 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.5418, allocations: 39.42 kB / 0.6365 GB, free: 9.242 MB / 442.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5418, allocations: 0 / 0.6365 GB, free: 9.242 MB / 442.7 MB Notification: Performance of Templates: time 0.01314/0.5549, allocations: 8.15 MB / 0.6445 GB, free: 1.137 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches