Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001771/0.001771, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.437/1.437, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2128/0.2128, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.28 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1186, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4204/0.539, allocations: 149.9 MB / 0.6053 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005495/0.5446, allocations: 3.138 MB / 0.6084 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.5448, allocations: 4 kB / 0.6084 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.5452, allocations: 55.66 kB / 0.6084 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.5491, allocations: 1.033 MB / 0.6094 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008621/0.55, allocations: 196.3 kB / 0.6096 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006487/0.5506, allocations: 350.7 kB / 0.6099 GB, free: 6.121 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.5507, allocations: 21.06 kB / 0.61 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000367/0.5511, allocations: 147.5 kB / 0.6101 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.5514, allocations: 103.7 kB / 0.6102 GB, free: 5.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.5514, allocations: 12 kB / 0.6102 GB, free: 5.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004198/0.5557, allocations: 1.516 MB / 0.6117 GB, free: 4.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.5558, allocations: 83.7 kB / 0.6118 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.5561, allocations: 107.6 kB / 0.6119 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.5584, allocations: 0.9978 MB / 0.6128 GB, free: 3.133 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.5584, allocations: 0 / 0.6128 GB, free: 3.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.604e-06/0.5584, allocations: 0 / 0.6128 GB, free: 3.133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.5584, allocations: 0 / 0.6128 GB, free: 3.133 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001174/0.5596, allocations: 0.539 MB / 0.6134 GB, free: 2.547 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5596, allocations: 8.031 kB / 0.6134 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00658/0.5662, allocations: 388.2 kB / 0.6138 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.5668, allocations: 264.2 kB / 0.614 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.5668, allocations: 20.31 kB / 0.614 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.5669, allocations: 16 kB / 0.614 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.5685, allocations: 493.3 kB / 0.6145 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.5685, allocations: 0 / 0.6145 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-05/0.5686, allocations: 8.688 kB / 0.6145 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.5686, allocations: 4 kB / 0.6145 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.5703, allocations: 0.5036 MB / 0.615 GB, free: 0.8203 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.003463/0.5738, allocations: 0.9891 MB / 0.616 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009426/0.5748, allocations: 307.3 kB / 0.6163 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.5752, allocations: 145.7 kB / 0.6164 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002751/0.578, allocations: 0.9801 MB / 0.6174 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.5781, allocations: 42.55 kB / 0.6174 GB, free: 14.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 3.526e-06/0.5781, allocations: 0 / 0.6174 GB, free: 14.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001548/0.5796, allocations: 402.6 kB / 0.6178 GB, free: 13.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.5797, allocations: 81.11 kB / 0.6179 GB, free: 13.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.5798, allocations: 109.8 kB / 0.618 GB, free: 13.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.5799, allocations: 37.7 kB / 0.618 GB, free: 13.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/0.58, allocations: 112.4 kB / 0.6181 GB, free: 13.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.5802, allocations: 106.5 kB / 0.6182 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.5803, allocations: 65.95 kB / 0.6183 GB, free: 13.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5805, allocations: 326.8 kB / 0.6186 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.5809, allocations: 120.6 kB / 0.6187 GB, free: 12.72 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.5814, allocations: 195.5 kB / 0.6189 GB, free: 12.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009065/0.5823, allocations: 345.1 kB / 0.6192 GB, free: 12.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.5823, allocations: 3.938 kB / 0.6192 GB, free: 12.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001223/0.5836, allocations: 379.5 kB / 0.6196 GB, free: 11.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.5836, allocations: 8 kB / 0.6196 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.5836, allocations: 4.312 kB / 0.6196 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.5837, allocations: 8 kB / 0.6196 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/0.5844, allocations: 71.89 kB / 0.6197 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.5844, allocations: 4 kB / 0.6197 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.5849, allocations: 27.72 kB / 0.6197 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/0.585, allocations: 23.98 kB / 0.6197 GB, free: 11.6 MB / 462.1 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.0002249/0.5853, allocations: 141.7 kB / 0.6199 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.5855, allocations: 19.8 kB / 0.6199 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.5868, allocations: 360.2 kB / 0.6202 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.5868, allocations: 7.938 kB / 0.6202 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.5868, allocations: 3.984 kB / 0.6202 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.5868, allocations: 4 kB / 0.6202 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009573/0.5878, allocations: 360.7 kB / 0.6206 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5878, allocations: 4 kB / 0.6206 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/0.5885, allocations: 55.89 kB / 0.6206 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.5886, allocations: 4 kB / 0.6207 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.5886, allocations: 15.98 kB / 0.6207 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.5886, allocations: 0 / 0.6207 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5886, allocations: 0 / 0.6207 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.5899, allocations: 0.5559 MB / 0.6212 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.59, allocations: 92.86 kB / 0.6213 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.59, allocations: 12.06 kB / 0.6213 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/0.5905, allocations: 11.98 kB / 0.6213 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.5906, allocations: 27.91 kB / 0.6213 GB, free: 9.848 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.5906, allocations: 11.98 kB / 0.6214 GB, free: 9.836 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.002e-05/0.5907, allocations: 88.84 kB / 0.6214 GB, free: 9.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5907, allocations: 0 / 0.6214 GB, free: 9.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009042/0.5916, allocations: 235.8 kB / 0.6217 GB, free: 9.52 MB / 462.1 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.001214/0.5928, allocations: 438.7 kB / 0.6221 GB, free: 9.082 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007078/0.5935, allocations: 321.8 kB / 0.6224 GB, free: 8.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5935, allocations: 0 / 0.6224 GB, free: 8.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.5938, allocations: 148.4 kB / 0.6225 GB, free: 8.625 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.5945, allocations: 89.53 kB / 0.6226 GB, free: 8.543 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.5958, allocations: 0.7536 MB / 0.6234 GB, free: 7.758 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.5961, allocations: 0.7362 MB / 0.6241 GB, free: 6.996 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.5963, allocations: 39.42 kB / 0.6241 GB, free: 6.961 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5963, allocations: 0 / 0.6241 GB, free: 6.961 MB / 462.1 MB Notification: Performance of Templates: time 0.01333/0.6096, allocations: 6.48 MB / 0.6304 GB, free: 488 kB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches