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.001183/0.001183, allocations: 94.61 kB / 16.94 MB, free: 5.98 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.001339/0.001339, allocations: 178.9 kB / 17.82 MB, free: 5.652 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.44/1.44, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004473/0.0004475, allocations: 12 kB / 280.7 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.09497, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3086/0.4037, allocations: 125.9 MB / 454.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.4067, allocations: 2.507 MB / 456.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.4068, allocations: 0 / 456.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.4071, allocations: 51.72 kB / 456.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.409, allocations: 0.7049 MB / 457.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.4097, allocations: 156.8 kB / 457.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.4101, allocations: 211.6 kB / 457.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.137e-05/0.4102, allocations: 17.08 kB / 457.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.4106, allocations: 159.5 kB / 458.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.4108, allocations: 87.67 kB / 458.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.4108, allocations: 8 kB / 458.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.4142, allocations: 1.092 MB / 459.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.4143, allocations: 67.84 kB / 459.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.625e-05/0.4144, allocations: 57.64 kB / 459.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.4156, allocations: 0.5934 MB / 460 MB, free: 5.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.4156, allocations: 0 / 460 MB, free: 5.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4156, allocations: 0 / 460 MB, free: 5.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.4156, allocations: 0 / 460 MB, free: 5.102 MB / 350.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.0009427/0.4166, allocations: 0.5037 MB / 460.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4166, allocations: 8.031 kB / 460.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.419, allocations: 199.5 kB / 460.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.4194, allocations: 234.8 kB / 460.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.4194, allocations: 12.38 kB / 460.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.4195, allocations: 19.91 kB / 460.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008672/0.4204, allocations: 381.6 kB / 461.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4204, allocations: 0 / 461.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.4205, allocations: 8 kB / 461.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.4205, allocations: 4 kB / 461.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.4214, allocations: 407.8 kB / 461.7 MB, free: 3.254 MB / 350.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.002316/0.4238, allocations: 0.8048 MB / 462.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.4243, allocations: 225 kB / 462.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/0.4259, allocations: 0.6754 MB / 463.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.426, allocations: 42.55 kB / 463.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.385e-06/0.426, allocations: 3.938 kB / 463.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001833/0.4279, allocations: 362.4 kB / 463.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.4279, allocations: 89 kB / 463.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.4281, allocations: 117.7 kB / 464 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.4281, allocations: 33.7 kB / 464.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.4282, allocations: 108.4 kB / 464.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.4284, allocations: 110.5 kB / 464.3 MB, free: 480 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.4284, allocations: 4 kB / 464.3 MB, free: 476 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4286, allocations: 334.8 kB / 464.6 MB, free: 132 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.4289, allocations: 92.61 kB / 464.7 MB, free: 40 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/0.4293, allocations: 187.4 kB / 464.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.4297, allocations: 127.5 kB / 465 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4297, allocations: 0 / 465 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009426/0.4307, allocations: 337.1 kB / 465.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.4307, allocations: 8.312 kB / 465.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.4307, allocations: 4 kB / 465.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4307, allocations: 4 kB / 465.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.4312, allocations: 75.89 kB / 465.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.4313, allocations: 7.938 kB / 465.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/0.4317, allocations: 31.7 kB / 465.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.529e-05/0.4318, allocations: 15.98 kB / 465.5 MB, free: 15.22 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002809/0.432, allocations: 145.7 kB / 465.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.4322, allocations: 15.89 kB / 465.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.4333, allocations: 323.5 kB / 465.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.4333, allocations: 4 kB / 465.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.4333, allocations: 0 / 465.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.4334, allocations: 0 / 465.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009108/0.4343, allocations: 338.8 kB / 466.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4343, allocations: 3.938 kB / 466.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.4348, allocations: 55.91 kB / 466.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4348, allocations: 4 kB / 466.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.4349, allocations: 15.98 kB / 466.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.4349, allocations: 0.875 kB / 466.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4349, allocations: 4 kB / 466.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.4361, allocations: 0.5084 MB / 466.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/0.4362, allocations: 96.86 kB / 467 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.4362, allocations: 12.05 kB / 467 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/0.4367, allocations: 14.92 kB / 467 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.4368, allocations: 23.88 kB / 467 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/0.4369, allocations: 15.98 kB / 467 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.328e-05/0.437, allocations: 91.27 kB / 467.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.437, allocations: 0 / 467.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00129/0.4383, allocations: 215.8 kB / 467.3 MB, free: 13.26 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001497/0.4398, allocations: 362.9 kB / 467.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008169/0.4406, allocations: 252.2 kB / 467.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.4406, allocations: 4 kB / 467.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.441, allocations: 128.9 kB / 468.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/0.4418, allocations: 80.72 kB / 468.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.4438, allocations: 0.9 MB / 469 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.4443, allocations: 0.7326 MB / 469.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006031/0.4449, allocations: 77.77 kB / 469.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.445, allocations: 31.42 kB / 469.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.445, allocations: 4 kB / 469.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of Templates: time 0.0213/0.4664, allocations: 7.95 MB / 477.8 MB, free: 2.695 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches