Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009281/0.0009281, allocations: 106.7 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008012/0.0008012, allocations: 43.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1937, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3204/0.5142, allocations: 148.9 MB / 0.5105 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.5175, allocations: 3.129 MB / 0.5136 GB, free: 13.1 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.5176, allocations: 1.031 kB / 0.5136 GB, free: 13.1 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.5181, allocations: 57.5 kB / 0.5136 GB, free: 13.09 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.5199, allocations: 0.9282 MB / 0.5145 GB, free: 12.89 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.5203, allocations: 182.3 kB / 0.5147 GB, free: 12.88 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.5207, allocations: 484 kB / 0.5152 GB, free: 12.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.5208, allocations: 19.91 kB / 0.5152 GB, free: 12.81 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.521, allocations: 142.1 kB / 0.5153 GB, free: 12.79 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.5212, allocations: 110.6 kB / 0.5154 GB, free: 12.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.5212, allocations: 7.688 kB / 0.5154 GB, free: 12.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.5237, allocations: 1.73 MB / 0.5171 GB, free: 12.64 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.5238, allocations: 74.67 kB / 0.5172 GB, free: 12.64 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.524, allocations: 101.2 kB / 0.5173 GB, free: 12.63 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.5254, allocations: 1.116 MB / 0.5184 GB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5254, allocations: 0 / 0.5184 GB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.5254, allocations: 3.938 kB / 0.5184 GB, free: 12.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.5254, allocations: 0 / 0.5184 GB, free: 12.56 MB / 394.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.0007569/0.5262, allocations: 0.5408 MB / 0.5189 GB, free: 12.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.5262, allocations: 9.969 kB / 0.5189 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.5298, allocations: 386.4 kB / 0.5193 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.5302, allocations: 258.2 kB / 0.5195 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.5302, allocations: 14.62 kB / 0.5195 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.5303, allocations: 24.09 kB / 0.5196 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009159/0.5312, allocations: 495.7 kB / 0.52 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.5313, allocations: 1.062 kB / 0.52 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.5313, allocations: 9.656 kB / 0.5201 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.5313, allocations: 3.969 kB / 0.5201 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.5324, allocations: 0.5118 MB / 0.5206 GB, free: 11.81 MB / 394.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.002219/0.5346, allocations: 0.9875 MB / 0.5215 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.5352, allocations: 300.3 kB / 0.5218 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.5355, allocations: 152.2 kB / 0.522 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/0.537, allocations: 0.8889 MB / 0.5228 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.5371, allocations: 48.36 kB / 0.5229 GB, free: 10.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.453e-06/0.5371, allocations: 0 / 0.5229 GB, free: 10.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008259/0.5379, allocations: 397.6 kB / 0.5232 GB, free: 10.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.538, allocations: 83.8 kB / 0.5233 GB, free: 10.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.538, allocations: 113.4 kB / 0.5234 GB, free: 9.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.5381, allocations: 31.89 kB / 0.5235 GB, free: 9.883 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.5381, allocations: 114.9 kB / 0.5236 GB, free: 9.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.5382, allocations: 112.6 kB / 0.5237 GB, free: 9.691 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.5383, allocations: 57 kB / 0.5237 GB, free: 9.672 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5384, allocations: 322.8 kB / 0.524 GB, free: 9.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.5387, allocations: 123.6 kB / 0.5242 GB, free: 9.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.5389, allocations: 203.6 kB / 0.5244 GB, free: 9.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.5394, allocations: 340.9 kB / 0.5247 GB, free: 9.082 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5394, allocations: 2.375 kB / 0.5247 GB, free: 9.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006225/0.54, allocations: 383.7 kB / 0.525 GB, free: 8.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.54, allocations: 5.656 kB / 0.5251 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5401, allocations: 4.688 kB / 0.5251 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5401, allocations: 6.672 kB / 0.5251 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.5405, allocations: 77.64 kB / 0.5251 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.5405, allocations: 13 kB / 0.5252 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.5408, allocations: 31.08 kB / 0.5252 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.5409, allocations: 15.97 kB / 0.5252 GB, free: 8.938 MB / 394.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.0001204/0.541, allocations: 144 kB / 0.5253 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-05/0.5411, allocations: 17.72 kB / 0.5254 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007011/0.5418, allocations: 379.2 kB / 0.5257 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5418, allocations: 2.938 kB / 0.5257 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5418, allocations: 1.781 kB / 0.5257 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5418, allocations: 0 / 0.5257 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.5423, allocations: 371.7 kB / 0.5261 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5424, allocations: 0 / 0.5261 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.5428, allocations: 61.55 kB / 0.5261 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5428, allocations: 0 / 0.5261 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.5428, allocations: 16.67 kB / 0.5261 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5428, allocations: 1.812 kB / 0.5261 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5428, allocations: 0 / 0.5261 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.5444, allocations: 1.626 MB / 0.5277 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.5445, allocations: 93.64 kB / 0.5278 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.5445, allocations: 5.219 kB / 0.5278 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.5449, allocations: 15.3 kB / 0.5278 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.545, allocations: 29.7 kB / 0.5279 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.545, allocations: 17.73 kB / 0.5279 GB, free: 7.078 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.334e-05/0.5451, allocations: 94.3 kB / 0.528 GB, free: 6.996 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5451, allocations: 0 / 0.528 GB, free: 6.996 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001118/0.5462, allocations: 250.5 kB / 0.5282 GB, free: 6.961 MB / 394.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.0009459/0.5472, allocations: 428.4 kB / 0.5286 GB, free: 6.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005084/0.5477, allocations: 293.5 kB / 0.5289 GB, free: 6.703 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.5477, allocations: 0 / 0.5289 GB, free: 6.703 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.5479, allocations: 143.6 kB / 0.529 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.5486, allocations: 95.44 kB / 0.5291 GB, free: 6.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.5498, allocations: 1 MB / 0.5301 GB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.5501, allocations: 0.7349 MB / 0.5308 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004604/0.5506, allocations: 92.23 kB / 0.5309 GB, free: 5.141 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5507, allocations: 31.16 kB / 0.5309 GB, free: 5.133 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5507, allocations: 0 / 0.5309 GB, free: 5.133 MB / 394.7 MB Notification: Performance of Templates: time 0.0116/0.5623, allocations: 8.456 MB / 0.5392 GB, free: 0.8555 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches