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.001048/0.001048, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.001025/0.001025, allocations: 191 kB / 18.66 MB, free: 4.445 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.329/1.329, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001168/0.001168, allocations: 55.91 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.0937, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3299/0.4236, allocations: 151.2 MB / 0.514 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003511/0.4272, allocations: 3.038 MB / 0.517 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.781e-05/0.4273, allocations: 0 / 0.517 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.4277, allocations: 63.64 kB / 0.517 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00234/0.43, allocations: 1.015 MB / 0.518 GB, free: 3.867 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.4305, allocations: 196 kB / 0.5182 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.431, allocations: 354.7 kB / 0.5185 GB, free: 3.328 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.4311, allocations: 13.08 kB / 0.5185 GB, free: 3.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002769/0.4313, allocations: 155.4 kB / 0.5187 GB, free: 3.164 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.4316, allocations: 107.7 kB / 0.5188 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.4316, allocations: 12 kB / 0.5188 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.4342, allocations: 1.461 MB / 0.5202 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.4343, allocations: 75.77 kB / 0.5203 GB, free: 1.508 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.4345, allocations: 103.6 kB / 0.5204 GB, free: 1.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.436, allocations: 0.9877 MB / 0.5214 GB, free: 428 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.436, allocations: 0 / 0.5214 GB, free: 428 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4361, allocations: 4 kB / 0.5214 GB, free: 424 kB / 446.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.4361, allocations: 0 / 0.5214 GB, free: 424 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.0009274/0.437, allocations: 0.5468 MB / 0.5219 GB, free: 15.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.437, allocations: 8.031 kB / 0.5219 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.4384, allocations: 204.5 kB / 0.5221 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.4388, allocations: 252.1 kB / 0.5223 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.4389, allocations: 8.938 kB / 0.5224 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.4389, allocations: 31.84 kB / 0.5224 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.4395, allocations: 369.5 kB / 0.5227 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4395, allocations: 0 / 0.5227 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.4396, allocations: 8 kB / 0.5227 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.4396, allocations: 7.938 kB / 0.5228 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.4401, allocations: 419.6 kB / 0.5232 GB, free: 14.49 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.001623/0.4418, allocations: 0.8046 MB / 0.5239 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.4422, allocations: 230.7 kB / 0.5242 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.4423, allocations: 125.5 kB / 0.5243 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001722/0.4441, allocations: 0.8892 MB / 0.5251 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.4441, allocations: 38.56 kB / 0.5252 GB, free: 12.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.4441, allocations: 4 kB / 0.5252 GB, free: 12.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001184/0.4453, allocations: 354.2 kB / 0.5255 GB, free: 11.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4454, allocations: 81.11 kB / 0.5256 GB, free: 11.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.4455, allocations: 115 kB / 0.5257 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.4455, allocations: 29.7 kB / 0.5257 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.4456, allocations: 112.4 kB / 0.5258 GB, free: 11.46 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.4456, allocations: 110.5 kB / 0.526 GB, free: 11.35 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.821e-05/0.4457, allocations: 65.94 kB / 0.526 GB, free: 11.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.4459, allocations: 326.8 kB / 0.5263 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.446, allocations: 96.59 kB / 0.5264 GB, free: 10.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.4463, allocations: 196.9 kB / 0.5266 GB, free: 10.63 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.4468, allocations: 297.1 kB / 0.5269 GB, free: 10.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4468, allocations: 0 / 0.5269 GB, free: 10.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006093/0.4474, allocations: 345.2 kB / 0.5272 GB, free: 9.961 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.4474, allocations: 4 kB / 0.5272 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4474, allocations: 4 kB / 0.5272 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4475, allocations: 4 kB / 0.5272 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.4478, allocations: 75.83 kB / 0.5273 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.4478, allocations: 4 kB / 0.5273 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.448, allocations: 34.56 kB / 0.5273 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.4481, allocations: 15.98 kB / 0.5274 GB, free: 9.824 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.0001299/0.4482, allocations: 149.9 kB / 0.5275 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.4483, allocations: 19.75 kB / 0.5275 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006429/0.449, allocations: 324.5 kB / 0.5278 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.449, allocations: 4 kB / 0.5278 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.449, allocations: 0 / 0.5278 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.449, allocations: 3.984 kB / 0.5278 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.4496, allocations: 335 kB / 0.5282 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4496, allocations: 0 / 0.5282 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.4499, allocations: 59.89 kB / 0.5282 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.4499, allocations: 4 kB / 0.5282 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.45, allocations: 12 kB / 0.5282 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.45, allocations: 0 / 0.5282 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.45, allocations: 0 / 0.5282 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007689/0.4508, allocations: 0.5036 MB / 0.5287 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.4508, allocations: 92.95 kB / 0.5288 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.4509, allocations: 4.062 kB / 0.5288 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.4512, allocations: 19.98 kB / 0.5288 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.4512, allocations: 19.97 kB / 0.5288 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.4513, allocations: 19.98 kB / 0.5289 GB, free: 8.176 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.82e-05/0.4513, allocations: 87.58 kB / 0.529 GB, free: 8.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4514, allocations: 0 / 0.529 GB, free: 8.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007736/0.4521, allocations: 231.7 kB / 0.5292 GB, free: 7.863 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.00108/0.4532, allocations: 427.5 kB / 0.5296 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005034/0.4537, allocations: 259.7 kB / 0.5298 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4537, allocations: 0.625 kB / 0.5298 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.454, allocations: 132.1 kB / 0.53 GB, free: 7.055 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.4546, allocations: 90.45 kB / 0.53 GB, free: 6.969 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.4557, allocations: 0.7146 MB / 0.5307 GB, free: 6.227 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.456, allocations: 0.7322 MB / 0.5315 GB, free: 5.469 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.4563, allocations: 74.92 kB / 0.5315 GB, free: 5.395 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.4564, allocations: 31.38 kB / 0.5316 GB, free: 5.363 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4564, allocations: 4 kB / 0.5316 GB, free: 5.359 MB / 462.1 MB Notification: Performance of Templates: time 0.01426/0.4707, allocations: 8.384 MB / 0.5397 GB, free: 12.96 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