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/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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 112.9 kB / 17.08 MB, free: 5.828 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.001243/0.001243, allocations: 197.2 kB / 18.02 MB, free: 4.938 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.308/1.308, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1865/0.1865, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.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.001248/0.001248, allocations: 69.45 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08657/0.08782, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.328/0.4159, allocations: 151.2 MB / 0.6362 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003286/0.4192, allocations: 3.032 MB / 0.6391 GB, free: 440 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.4193, allocations: 4 kB / 0.6391 GB, free: 436 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.4197, allocations: 59.64 kB / 0.6392 GB, free: 376 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.4218, allocations: 1.015 MB / 0.6402 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.4222, allocations: 196.5 kB / 0.6404 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.4226, allocations: 354.5 kB / 0.6407 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.4226, allocations: 13.06 kB / 0.6407 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.4229, allocations: 147.5 kB / 0.6409 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.4231, allocations: 111.6 kB / 0.641 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.4231, allocations: 16 kB / 0.641 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.4253, allocations: 1.457 MB / 0.6424 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.4254, allocations: 75.77 kB / 0.6425 GB, free: 13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.4256, allocations: 107.6 kB / 0.6426 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.4269, allocations: 0.9812 MB / 0.6435 GB, free: 11.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4269, allocations: 3.375 kB / 0.6435 GB, free: 11.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4269, allocations: 4 kB / 0.6435 GB, free: 11.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.4269, allocations: 4 kB / 0.6436 GB, free: 11.9 MB / 494.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.0008047/0.4277, allocations: 0.5422 MB / 0.6441 GB, free: 11.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.4278, allocations: 8.031 kB / 0.6441 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.4291, allocations: 200.5 kB / 0.6443 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.4294, allocations: 252.1 kB / 0.6445 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.4295, allocations: 12.94 kB / 0.6445 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.4295, allocations: 23.94 kB / 0.6446 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.4301, allocations: 377.4 kB / 0.6449 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.4301, allocations: 0 / 0.6449 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.4301, allocations: 8 kB / 0.6449 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.4301, allocations: 4 kB / 0.6449 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.4306, allocations: 411.2 kB / 0.6453 GB, free: 10 MB / 494.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.001462/0.4321, allocations: 0.8124 MB / 0.6461 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.4325, allocations: 221.1 kB / 0.6463 GB, free: 8.898 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.4326, allocations: 122.5 kB / 0.6464 GB, free: 8.773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.4342, allocations: 0.8971 MB / 0.6473 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.4342, allocations: 42.5 kB / 0.6474 GB, free: 7.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.4342, allocations: 0 / 0.6474 GB, free: 7.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.001046/0.4353, allocations: 353.6 kB / 0.6477 GB, free: 7.328 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.4353, allocations: 85.3 kB / 0.6478 GB, free: 7.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.4354, allocations: 115.6 kB / 0.6479 GB, free: 7.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.4355, allocations: 33.7 kB / 0.6479 GB, free: 7.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.4355, allocations: 116.3 kB / 0.648 GB, free: 6.945 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.986e-05/0.4356, allocations: 102.5 kB / 0.6481 GB, free: 6.844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.4357, allocations: 62.02 kB / 0.6482 GB, free: 6.777 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.4358, allocations: 326.8 kB / 0.6485 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.436, allocations: 92.61 kB / 0.6486 GB, free: 6.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.4362, allocations: 187.5 kB / 0.6488 GB, free: 6.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.4366, allocations: 302.6 kB / 0.6491 GB, free: 5.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4366, allocations: 4 kB / 0.6491 GB, free: 5.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005424/0.4371, allocations: 350.2 kB / 0.6494 GB, free: 5.457 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4372, allocations: 7.938 kB / 0.6494 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4372, allocations: 4 kB / 0.6494 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4372, allocations: 4 kB / 0.6494 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.4375, allocations: 71.91 kB / 0.6495 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4375, allocations: 11.92 kB / 0.6495 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.4377, allocations: 27.69 kB / 0.6495 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.4378, allocations: 16 kB / 0.6495 GB, free: 5.316 MB / 494.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.0001186/0.4379, allocations: 145.9 kB / 0.6497 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.438, allocations: 23.59 kB / 0.6497 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00058/0.4386, allocations: 324.3 kB / 0.65 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4386, allocations: 4 kB / 0.65 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.4386, allocations: 0 / 0.65 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4386, allocations: 0 / 0.65 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.4391, allocations: 335 kB / 0.6503 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4391, allocations: 0 / 0.6503 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.4395, allocations: 55.91 kB / 0.6504 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4395, allocations: 0 / 0.6504 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.4395, allocations: 11.98 kB / 0.6504 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4395, allocations: 4 kB / 0.6504 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4395, allocations: 4 kB / 0.6504 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/0.4402, allocations: 0.5111 MB / 0.6509 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.4402, allocations: 88.95 kB / 0.651 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.4403, allocations: 12 kB / 0.651 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.4406, allocations: 15.98 kB / 0.651 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.4406, allocations: 15.97 kB / 0.651 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.4407, allocations: 16 kB / 0.651 GB, free: 3.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.36e-05/0.4407, allocations: 91.58 kB / 0.6511 GB, free: 3.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4407, allocations: 0 / 0.6511 GB, free: 3.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006622/0.4414, allocations: 231.7 kB / 0.6513 GB, free: 3.363 MB / 494.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.0009046/0.4423, allocations: 430.6 kB / 0.6518 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000443/0.4427, allocations: 256.2 kB / 0.652 GB, free: 2.688 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4428, allocations: 0 / 0.652 GB, free: 2.688 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.443, allocations: 123.8 kB / 0.6521 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005741/0.4435, allocations: 92.23 kB / 0.6522 GB, free: 2.484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.4446, allocations: 0.7514 MB / 0.6529 GB, free: 1.695 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.4448, allocations: 0.7363 MB / 0.6537 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.445, allocations: 31.42 kB / 0.6537 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.445, allocations: 0 / 0.6537 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of Templates: time 0.008239/0.4532, allocations: 6.314 MB / 0.6599 GB, free: 10.58 MB / 0.4981 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches