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.001491/0.001491, allocations: 183.7 kB / 15.76 MB, free: 6.367 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.787/1.787, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001469/0.001469, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2485/0.2485, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.000403, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1516, allocations: 58.85 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.17/2.322, allocations: 0.7389 GB / 1.218 GB, free: 89.42 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/2.322, allocations: 72.97 kB / 1.218 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.08857/2.411, allocations: 39.73 MB / 1.257 GB, free: 55.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.533e-06/2.411, allocations: 0 / 1.257 GB, free: 55.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.933e-05/2.411, allocations: 11.98 kB / 1.257 GB, free: 55.32 MB / 0.5105 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.001299/2.412, allocations: 0.5056 MB / 1.257 GB, free: 54.78 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/2.412, allocations: 12.03 kB / 1.257 GB, free: 54.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/2.415, allocations: 363.7 kB / 1.257 GB, free: 54.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/2.416, allocations: 257.8 kB / 1.258 GB, free: 54.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/2.416, allocations: 15.88 kB / 1.258 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/2.416, allocations: 30.67 kB / 1.258 GB, free: 54.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/2.417, allocations: 478.9 kB / 1.258 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/2.417, allocations: 3.938 kB / 1.258 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.189e-05/2.417, allocations: 11.31 kB / 1.258 GB, free: 53.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/2.417, allocations: 4 kB / 1.258 GB, free: 53.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/2.418, allocations: 0.5083 MB / 1.259 GB, free: 53.46 MB / 0.5105 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.002433/2.421, allocations: 0.9949 MB / 1.26 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/2.421, allocations: 290.4 kB / 1.26 GB, free: 52.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/2.422, allocations: 0.6501 MB / 1.261 GB, free: 51.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/2.422, allocations: 42.38 kB / 1.261 GB, free: 51.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 3.957e-06/2.422, allocations: 0 / 1.261 GB, free: 51.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.001019/2.423, allocations: 390.9 kB / 1.261 GB, free: 51.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/2.423, allocations: 85.06 kB / 1.261 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/2.424, allocations: 113.2 kB / 1.261 GB, free: 51.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/2.424, allocations: 33.7 kB / 1.261 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/2.424, allocations: 108.4 kB / 1.261 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.785e-05/2.424, allocations: 110.4 kB / 1.261 GB, free: 50.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/2.424, allocations: 8 kB / 1.261 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/2.424, allocations: 326.8 kB / 1.262 GB, free: 50.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/2.424, allocations: 112.6 kB / 1.262 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/2.424, allocations: 203.5 kB / 1.262 GB, free: 50.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/2.425, allocations: 133.7 kB / 1.262 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/2.425, allocations: 11.94 kB / 1.262 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007201/2.425, allocations: 366.6 kB / 1.262 GB, free: 49.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/2.425, allocations: 6.656 kB / 1.262 GB, free: 49.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/2.425, allocations: 4 kB / 1.262 GB, free: 49.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/2.426, allocations: 4 kB / 1.263 GB, free: 49.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/2.426, allocations: 71.89 kB / 1.263 GB, free: 49.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/2.426, allocations: 12.23 kB / 1.263 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/2.426, allocations: 43.64 kB / 1.263 GB, free: 49.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.384e-05/2.426, allocations: 19.98 kB / 1.263 GB, free: 49.49 MB / 0.5105 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.0001779/2.427, allocations: 141.8 kB / 1.263 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/2.427, allocations: 15.81 kB / 1.263 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00079/2.427, allocations: 374.9 kB / 1.263 GB, free: 48.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/2.427, allocations: 4 kB / 1.263 GB, free: 48.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/2.428, allocations: 0 / 1.263 GB, free: 48.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/2.428, allocations: 0 / 1.263 GB, free: 48.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/2.428, allocations: 369.1 kB / 1.264 GB, free: 48.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/2.428, allocations: 0 / 1.264 GB, free: 48.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/2.429, allocations: 63.89 kB / 1.264 GB, free: 48.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/2.429, allocations: 3.984 kB / 1.264 GB, free: 48.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/2.429, allocations: 8 kB / 1.264 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/2.429, allocations: 8 kB / 1.264 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/2.429, allocations: 0 / 1.264 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/2.43, allocations: 0.5638 MB / 1.264 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/2.43, allocations: 100.9 kB / 1.264 GB, free: 47.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/2.43, allocations: 4 kB / 1.264 GB, free: 47.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/2.43, allocations: 19.98 kB / 1.264 GB, free: 47.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/2.43, allocations: 19.94 kB / 1.264 GB, free: 47.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/2.43, allocations: 23.97 kB / 1.264 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.994e-05/2.43, allocations: 83.28 kB / 1.264 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/2.43, allocations: 0 / 1.264 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0019/2.432, allocations: 267.7 kB / 1.265 GB, free: 47.33 MB / 0.5105 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.002771/2.435, allocations: 0.7559 MB / 1.265 GB, free: 46.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000798/2.436, allocations: 296 kB / 1.266 GB, free: 46.28 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/2.436, allocations: 0 / 1.266 GB, free: 46.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/2.436, allocations: 155.8 kB / 1.266 GB, free: 46.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/2.437, allocations: 80.67 kB / 1.266 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/2.439, allocations: 0.8986 MB / 1.267 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/2.439, allocations: 0.7365 MB / 1.267 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000596/2.44, allocations: 81.78 kB / 1.268 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/2.44, allocations: 35.42 kB / 1.268 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/2.44, allocations: 0 / 1.268 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.02164/2.462, allocations: 14.02 MB / 1.281 GB, free: 30.23 MB / 0.5105 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/jenkins/ws/OpenModelicaLibraryTestingWork/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