Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 183 kB / 16.63 MB, free: 5.137 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.305/1.305, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.000993/0.0009928, allocations: 103.9 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3288/0.3288, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 51.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1286, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4001/0.5288, allocations: 149 MB / 0.6211 GB, free: 10.77 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.5323, allocations: 3.125 MB / 0.6241 GB, free: 8.309 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.5324, allocations: 4 kB / 0.6241 GB, free: 8.305 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.5328, allocations: 59.95 kB / 0.6242 GB, free: 8.258 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.5347, allocations: 0.9255 MB / 0.6251 GB, free: 7.582 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.5351, allocations: 182.9 kB / 0.6252 GB, free: 7.461 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.5356, allocations: 481.6 kB / 0.6257 GB, free: 7.215 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.5357, allocations: 12.78 kB / 0.6257 GB, free: 7.211 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.5359, allocations: 138.9 kB / 0.6259 GB, free: 7.148 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.5361, allocations: 118.9 kB / 0.626 GB, free: 7.086 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.5361, allocations: 7.344 kB / 0.626 GB, free: 7.086 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.5386, allocations: 1.728 MB / 0.6277 GB, free: 6.113 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.914e-05/0.5387, allocations: 70 kB / 0.6277 GB, free: 6.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.5389, allocations: 98.89 kB / 0.6278 GB, free: 6.02 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.5402, allocations: 1.105 MB / 0.6289 GB, free: 5.004 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5402, allocations: 0 / 0.6289 GB, free: 5.004 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.5402, allocations: 0 / 0.6289 GB, free: 5.004 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.5403, allocations: 8 kB / 0.6289 GB, free: 4.996 MB / 442.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.0008618/0.5411, allocations: 0.538 MB / 0.6294 GB, free: 4.414 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5412, allocations: 8.031 kB / 0.6294 GB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003695/0.5449, allocations: 384 kB / 0.6298 GB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.5453, allocations: 264.8 kB / 0.6301 GB, free: 3.738 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.5453, allocations: 16.94 kB / 0.6301 GB, free: 3.723 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.966e-05/0.5454, allocations: 19.94 kB / 0.6301 GB, free: 3.703 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000919/0.5463, allocations: 0.4928 MB / 0.6306 GB, free: 3.203 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5463, allocations: 0 / 0.6306 GB, free: 3.203 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/0.5464, allocations: 12 kB / 0.6306 GB, free: 3.191 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.5464, allocations: 4 kB / 0.6306 GB, free: 3.188 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/0.5474, allocations: 0.5113 MB / 0.6311 GB, free: 2.676 MB / 442.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.5496, allocations: 0.986 MB / 0.6321 GB, free: 1.652 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.5502, allocations: 293.9 kB / 0.6323 GB, free: 1.348 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.5504, allocations: 153.6 kB / 0.6325 GB, free: 1.191 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/0.5521, allocations: 0.8942 MB / 0.6334 GB, free: 156 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.5521, allocations: 42.5 kB / 0.6334 GB, free: 104 kB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 2.234e-06/0.5521, allocations: 0 / 0.6334 GB, free: 104 kB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009252/0.553, allocations: 408.3 kB / 0.6338 GB, free: 15.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.5531, allocations: 81.11 kB / 0.6339 GB, free: 15.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.5532, allocations: 117.8 kB / 0.634 GB, free: 15.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.5532, allocations: 29.7 kB / 0.634 GB, free: 15.44 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.5533, allocations: 108.4 kB / 0.6341 GB, free: 15.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/0.5534, allocations: 110.4 kB / 0.6342 GB, free: 15.22 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.5535, allocations: 66.02 kB / 0.6343 GB, free: 15.15 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5536, allocations: 322.8 kB / 0.6346 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.5538, allocations: 116.6 kB / 0.6347 GB, free: 14.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.5541, allocations: 211.3 kB / 0.6349 GB, free: 14.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.5547, allocations: 340.8 kB / 0.6352 GB, free: 14.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5547, allocations: 0 / 0.6352 GB, free: 14.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006629/0.5553, allocations: 386.8 kB / 0.6356 GB, free: 13.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5554, allocations: 7.984 kB / 0.6356 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5554, allocations: 4 kB / 0.6356 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5554, allocations: 4 kB / 0.6356 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.5558, allocations: 71.91 kB / 0.6357 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.5558, allocations: 16.78 kB / 0.6357 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.5562, allocations: 23.88 kB / 0.6357 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.5562, allocations: 27.98 kB / 0.6357 GB, free: 13.57 MB / 458.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.0001316/0.5564, allocations: 137.7 kB / 0.6359 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.717e-05/0.5565, allocations: 27.73 kB / 0.6359 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007398/0.5572, allocations: 359.6 kB / 0.6362 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.5572, allocations: 7.984 kB / 0.6362 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5572, allocations: 7.984 kB / 0.6363 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5573, allocations: 0 / 0.6363 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.5578, allocations: 360.7 kB / 0.6366 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5578, allocations: 0 / 0.6366 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.5582, allocations: 63.83 kB / 0.6367 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5583, allocations: 0 / 0.6367 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.5583, allocations: 11.98 kB / 0.6367 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.5583, allocations: 4 kB / 0.6367 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5583, allocations: 0 / 0.6367 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.5601, allocations: 1.633 MB / 0.6383 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.5602, allocations: 96.94 kB / 0.6384 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.5602, allocations: 8 kB / 0.6384 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.5606, allocations: 15.98 kB / 0.6384 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.5607, allocations: 15.97 kB / 0.6384 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.5607, allocations: 19.98 kB / 0.6384 GB, free: 10.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.927e-05/0.5608, allocations: 97.58 kB / 0.6385 GB, free: 10.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5608, allocations: 0 / 0.6385 GB, free: 10.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009081/0.5617, allocations: 259.7 kB / 0.6388 GB, free: 10.27 MB / 458.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.0009956/0.5627, allocations: 430.7 kB / 0.6392 GB, free: 9.836 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005659/0.5633, allocations: 302.1 kB / 0.6395 GB, free: 9.543 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5633, allocations: 4.062 kB / 0.6395 GB, free: 9.539 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.5635, allocations: 147.8 kB / 0.6396 GB, free: 9.395 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.5642, allocations: 81.83 kB / 0.6397 GB, free: 9.316 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.5656, allocations: 0.9953 MB / 0.6407 GB, free: 8.293 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.5659, allocations: 0.7365 MB / 0.6414 GB, free: 7.531 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004791/0.5664, allocations: 78.78 kB / 0.6414 GB, free: 7.453 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.5665, allocations: 39.36 kB / 0.6415 GB, free: 7.414 MB / 458.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5665, allocations: 4 kB / 0.6415 GB, free: 7.41 MB / 458.7 MB Notification: Performance of Templates: time 0.01357/0.5801, allocations: 8.351 MB / 0.6496 GB, free: 15.09 MB / 474.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@2/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