Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 227.2 MB / 245 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009127/0.0009127, allocations: 106.9 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3801/0.3801, allocations: 45.23 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002741, allocations: 8 kB / 468.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3788, allocations: 63.25 MB / 0.5192 GB, free: 37.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.456/1.835, allocations: 0.7091 GB / 1.228 GB, free: 81.34 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/1.835, allocations: 69.22 kB / 1.228 GB, free: 81.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.08187/1.917, allocations: 40.65 MB / 1.268 GB, free: 46.42 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.402e-06/1.917, allocations: 0 / 1.268 GB, free: 46.42 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.407e-05/1.917, allocations: 7.984 kB / 1.268 GB, free: 46.41 MB / 0.5417 GB 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.0007137/1.918, allocations: 0.518 MB / 1.269 GB, free: 45.86 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/1.918, allocations: 8.031 kB / 1.269 GB, free: 45.85 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002948/1.921, allocations: 368.3 kB / 1.269 GB, free: 45.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/1.921, allocations: 267.7 kB / 1.269 GB, free: 45.26 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/1.921, allocations: 12.2 kB / 1.269 GB, free: 45.25 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.585e-05/1.921, allocations: 19.5 kB / 1.269 GB, free: 45.24 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008085/1.922, allocations: 478.4 kB / 1.27 GB, free: 44.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.922, allocations: 0 / 1.27 GB, free: 44.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/1.922, allocations: 11.69 kB / 1.27 GB, free: 44.89 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.922, allocations: 4 kB / 1.27 GB, free: 44.89 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/1.923, allocations: 498.3 kB / 1.27 GB, free: 44.56 MB / 0.5417 GB 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.001785/1.925, allocations: 0.9987 MB / 1.271 GB, free: 43.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/1.925, allocations: 272.2 kB / 1.271 GB, free: 43.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/1.926, allocations: 0.7604 MB / 1.272 GB, free: 42.63 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/1.926, allocations: 34.56 kB / 1.272 GB, free: 42.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/1.926, allocations: 0 / 1.272 GB, free: 42.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=29): time 0.0008094/1.927, allocations: 399 kB / 1.272 GB, free: 42.31 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/1.927, allocations: 81.11 kB / 1.273 GB, free: 42.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.1e-05/1.927, allocations: 112.1 kB / 1.273 GB, free: 42.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/1.927, allocations: 33.14 kB / 1.273 GB, free: 42.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/1.927, allocations: 114.9 kB / 1.273 GB, free: 41.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/1.927, allocations: 105.1 kB / 1.273 GB, free: 41.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/1.927, allocations: 11.5 kB / 1.273 GB, free: 41.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.754e-05/1.928, allocations: 318.1 kB / 1.273 GB, free: 41.54 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/1.928, allocations: 111.5 kB / 1.273 GB, free: 41.47 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/1.928, allocations: 205.5 kB / 1.274 GB, free: 41.28 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/1.928, allocations: 133.2 kB / 1.274 GB, free: 41.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.928, allocations: 4 kB / 1.274 GB, free: 41.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005985/1.929, allocations: 371.3 kB / 1.274 GB, free: 40.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.929, allocations: 8 kB / 1.274 GB, free: 40.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/1.929, allocations: 0 / 1.274 GB, free: 40.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.929, allocations: 4 kB / 1.274 GB, free: 40.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/1.929, allocations: 78.27 kB / 1.274 GB, free: 40.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/1.929, allocations: 19.83 kB / 1.274 GB, free: 40.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/1.929, allocations: 36.86 kB / 1.274 GB, free: 40.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/1.93, allocations: 14.25 kB / 1.274 GB, free: 40.79 MB / 0.5417 GB 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.0001066/1.93, allocations: 140.5 kB / 1.274 GB, free: 40.66 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/1.93, allocations: 11.91 kB / 1.274 GB, free: 40.64 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006835/1.93, allocations: 376.9 kB / 1.275 GB, free: 40.37 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.93, allocations: 4 kB / 1.275 GB, free: 40.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.93, allocations: 0 / 1.275 GB, free: 40.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.93, allocations: 7.938 kB / 1.275 GB, free: 40.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/1.931, allocations: 368 kB / 1.275 GB, free: 40 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.931, allocations: 0 / 1.275 GB, free: 40 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/1.931, allocations: 62.77 kB / 1.275 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.931, allocations: 0 / 1.275 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/1.931, allocations: 16.67 kB / 1.275 GB, free: 39.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/1.931, allocations: 4 kB / 1.275 GB, free: 39.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.931, allocations: 0 / 1.275 GB, free: 39.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007096/1.932, allocations: 0.5549 MB / 1.276 GB, free: 39.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/1.932, allocations: 92.86 kB / 1.276 GB, free: 39.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/1.932, allocations: 9.625 kB / 1.276 GB, free: 39.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/1.933, allocations: 19.23 kB / 1.276 GB, free: 39.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/1.933, allocations: 27.23 kB / 1.276 GB, free: 39.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/1.933, allocations: 11.98 kB / 1.276 GB, free: 39.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.081e-05/1.933, allocations: 87.97 kB / 1.276 GB, free: 39.22 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.01e-07/1.933, allocations: 0 / 1.276 GB, free: 39.22 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009501/1.934, allocations: 282.9 kB / 1.276 GB, free: 38.98 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * 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.001318/1.935, allocations: 0.7626 MB / 1.277 GB, free: 38.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005244/1.935, allocations: 288 kB / 1.277 GB, free: 38.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.935, allocations: 0 / 1.277 GB, free: 38.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/1.936, allocations: 145.9 kB / 1.277 GB, free: 37.92 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/1.936, allocations: 78.16 kB / 1.277 GB, free: 37.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009718/1.937, allocations: 0.8937 MB / 1.278 GB, free: 36.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/1.937, allocations: 0.7401 MB / 1.279 GB, free: 36.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004596/1.938, allocations: 89.7 kB / 1.279 GB, free: 36.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/1.938, allocations: 31.42 kB / 1.279 GB, free: 36.09 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/1.938, allocations: 0 / 1.279 GB, free: 36.09 MB / 0.5417 GB Notification: Performance of Templates: time 0.01552/1.953, allocations: 14.06 MB / 1.293 GB, free: 22.08 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches