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/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) 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001394/0.001395, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.312/1.312, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.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.001096/0.001096, allocations: 43.94 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.08783, allocations: 46.63 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3355/0.4234, allocations: 151.2 MB / 0.514 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003664/0.4271, allocations: 3.036 MB / 0.517 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.4273, allocations: 0 / 0.517 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.4277, allocations: 59.64 kB / 0.517 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.4302, allocations: 1.011 MB / 0.518 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.4307, allocations: 200.1 kB / 0.5182 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004361/0.4311, allocations: 346.7 kB / 0.5185 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.388e-05/0.4312, allocations: 13.08 kB / 0.5185 GB, free: 3.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.4315, allocations: 151.4 kB / 0.5187 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.4317, allocations: 115.6 kB / 0.5188 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.4317, allocations: 12 kB / 0.5188 GB, free: 3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.4344, allocations: 1.464 MB / 0.5202 GB, free: 1.535 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.4345, allocations: 79.83 kB / 0.5203 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.4347, allocations: 99.58 kB / 0.5204 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.4364, allocations: 0.9858 MB / 0.5214 GB, free: 380 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4364, allocations: 4 kB / 0.5214 GB, free: 376 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4364, allocations: 11.88 kB / 0.5214 GB, free: 364 kB / 446.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.4364, allocations: 0 / 0.5214 GB, free: 364 kB / 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.001032/0.4375, allocations: 0.5413 MB / 0.5219 GB, free: 15.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.4375, allocations: 8.031 kB / 0.5219 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.4389, allocations: 208.6 kB / 0.5221 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.4393, allocations: 244.1 kB / 0.5224 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.4393, allocations: 12.94 kB / 0.5224 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.4394, allocations: 27.89 kB / 0.5224 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.44, allocations: 377.5 kB / 0.5228 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.44, allocations: 0 / 0.5228 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.44, allocations: 8 kB / 0.5228 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.4401, allocations: 11.94 kB / 0.5228 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/0.4406, allocations: 419.6 kB / 0.5232 GB, free: 14.43 MB / 462.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.001606/0.4422, allocations: 0.8011 MB / 0.524 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.4426, allocations: 225.1 kB / 0.5242 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.4428, allocations: 121.6 kB / 0.5243 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/0.4445, allocations: 0.897 MB / 0.5252 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.4445, allocations: 38.5 kB / 0.5252 GB, free: 12.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.914e-06/0.4446, allocations: 4 kB / 0.5252 GB, free: 12.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001173/0.4457, allocations: 362.4 kB / 0.5255 GB, free: 11.76 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.4458, allocations: 81.11 kB / 0.5256 GB, free: 11.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/0.4459, allocations: 109.8 kB / 0.5257 GB, free: 11.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.4459, allocations: 33.7 kB / 0.5258 GB, free: 11.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.446, allocations: 108.6 kB / 0.5259 GB, free: 11.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.584e-05/0.4461, allocations: 119 kB / 0.526 GB, free: 11.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.715e-05/0.4462, allocations: 62.03 kB / 0.526 GB, free: 11.21 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4463, allocations: 322.8 kB / 0.5263 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.4465, allocations: 105.4 kB / 0.5264 GB, free: 10.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.4467, allocations: 183.5 kB / 0.5266 GB, free: 10.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.4472, allocations: 312.1 kB / 0.5269 GB, free: 10.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4472, allocations: 0 / 0.5269 GB, free: 10.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006232/0.4478, allocations: 345.7 kB / 0.5272 GB, free: 9.887 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.4479, allocations: 8 kB / 0.5273 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4479, allocations: 0 / 0.5273 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4479, allocations: 4 kB / 0.5273 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.4483, allocations: 78.58 kB / 0.5273 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.4483, allocations: 7.938 kB / 0.5273 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.4485, allocations: 27.78 kB / 0.5274 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.4485, allocations: 20 kB / 0.5274 GB, free: 9.746 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.0001403/0.4487, allocations: 149.9 kB / 0.5275 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.4488, allocations: 19.84 kB / 0.5275 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007001/0.4495, allocations: 325 kB / 0.5279 GB, free: 9.238 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.4495, allocations: 4 kB / 0.5279 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4495, allocations: 0 / 0.5279 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4496, allocations: 7.984 kB / 0.5279 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/0.4501, allocations: 323.1 kB / 0.5282 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4502, allocations: 0 / 0.5282 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.4505, allocations: 55.97 kB / 0.5282 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.4505, allocations: 0 / 0.5282 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.4506, allocations: 15.98 kB / 0.5282 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4506, allocations: 7.938 kB / 0.5283 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4506, allocations: 0 / 0.5283 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007765/0.4514, allocations: 0.5068 MB / 0.5287 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.4514, allocations: 89 kB / 0.5288 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.4515, allocations: 12 kB / 0.5288 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.4518, allocations: 15.98 kB / 0.5289 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.4518, allocations: 19.97 kB / 0.5289 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.4519, allocations: 16.86 kB / 0.5289 GB, free: 8.102 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.328e-05/0.452, allocations: 87.28 kB / 0.529 GB, free: 8.016 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.452, allocations: 0 / 0.529 GB, free: 8.016 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007776/0.4527, allocations: 235.4 kB / 0.5292 GB, free: 7.785 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.0009586/0.4537, allocations: 430.3 kB / 0.5296 GB, free: 7.355 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004944/0.4542, allocations: 255.6 kB / 0.5299 GB, free: 7.105 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4542, allocations: 4.625 kB / 0.5299 GB, free: 7.102 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.4544, allocations: 135.8 kB / 0.53 GB, free: 6.969 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.4551, allocations: 88.45 kB / 0.5301 GB, free: 6.887 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.4562, allocations: 0.714 MB / 0.5308 GB, free: 6.145 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4565, allocations: 0.7283 MB / 0.5315 GB, free: 5.391 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.4568, allocations: 79.12 kB / 0.5316 GB, free: 5.312 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.717e-05/0.4569, allocations: 31.44 kB / 0.5316 GB, free: 5.281 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4569, allocations: 4 kB / 0.5316 GB, free: 5.277 MB / 462.1 MB Notification: Performance of Templates: time 0.01302/0.4699, allocations: 8.343 MB / 0.5397 GB, free: 12.92 MB / 478.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches