Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002051/0.002051, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.947/1.947, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001148/0.001147, allocations: 98.08 kB / 270.9 MB, free: 8.379 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.5483/0.5483, allocations: 43.53 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004612, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.321/2.449, allocations: 0.7389 GB / 1.218 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/2.45, allocations: 74.59 kB / 1.218 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4829/2.933, allocations: 39.74 MB / 1.257 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.286e-06/2.933, allocations: 3.406 kB / 1.257 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.278e-05/2.933, allocations: 0 / 1.257 GB, free: 150.3 MB / 0.4948 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.001137/2.934, allocations: 0.5145 MB / 1.257 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/2.934, allocations: 13.75 kB / 1.257 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/2.939, allocations: 366.3 kB / 1.257 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/2.94, allocations: 255.6 kB / 1.258 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/2.94, allocations: 12.94 kB / 1.258 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/2.94, allocations: 30 kB / 1.258 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/2.941, allocations: 488.3 kB / 1.258 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/2.942, allocations: 0 / 1.258 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/2.942, allocations: 9.219 kB / 1.258 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/2.942, allocations: 2.906 kB / 1.258 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/2.944, allocations: 0.501 MB / 1.259 GB, free: 149.6 MB / 0.4948 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.003538/2.947, allocations: 0.9902 MB / 1.26 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009399/2.948, allocations: 284.4 kB / 1.26 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001716/2.95, allocations: 0.6606 MB / 1.261 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/2.95, allocations: 45.22 kB / 1.261 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 3.015e-06/2.95, allocations: 0 / 1.261 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29): time 0.001583/2.951, allocations: 392 kB / 1.261 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/2.952, allocations: 81.5 kB / 1.261 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.249e-05/2.952, allocations: 112.2 kB / 1.261 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/2.952, allocations: 34.06 kB / 1.261 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/2.952, allocations: 176.4 kB / 1.261 GB, free: 148 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/2.952, allocations: 108.7 kB / 1.261 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/2.952, allocations: 6.375 kB / 1.261 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.08e-05/2.952, allocations: 329 kB / 1.262 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/2.952, allocations: 112.7 kB / 1.262 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/2.953, allocations: 197 kB / 1.262 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/2.953, allocations: 134.9 kB / 1.262 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/2.953, allocations: 3.188 kB / 1.262 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001171/2.955, allocations: 388 kB / 1.263 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/2.955, allocations: 5.75 kB / 1.263 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/2.955, allocations: 2.875 kB / 1.263 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/2.955, allocations: 2.656 kB / 1.263 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006919/2.955, allocations: 75.41 kB / 1.263 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/2.955, allocations: 7.625 kB / 1.263 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/2.956, allocations: 35.69 kB / 1.263 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/2.956, allocations: 17.09 kB / 1.263 GB, free: 147.4 MB / 0.4948 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.0002485/2.956, allocations: 153 kB / 1.263 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/2.956, allocations: 16.95 kB / 1.263 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/2.958, allocations: 375.2 kB / 1.263 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/2.958, allocations: 3.25 kB / 1.263 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/2.958, allocations: 0.7969 kB / 1.263 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/2.958, allocations: 8.828 kB / 1.263 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/2.959, allocations: 357.3 kB / 1.264 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/2.959, allocations: 0 / 1.264 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007123/2.96, allocations: 56.45 kB / 1.264 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/2.96, allocations: 6.984 kB / 1.264 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/2.96, allocations: 16.28 kB / 1.264 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/2.96, allocations: 0.6094 kB / 1.264 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/2.96, allocations: 0 / 1.264 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/2.961, allocations: 0.5598 MB / 1.264 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/2.962, allocations: 96.33 kB / 1.264 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/2.962, allocations: 7.797 kB / 1.264 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006072/2.962, allocations: 20.42 kB / 1.264 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/2.962, allocations: 19.77 kB / 1.264 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.663e-05/2.962, allocations: 20.66 kB / 1.264 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.593e-05/2.962, allocations: 87.41 kB / 1.264 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.5e-07/2.962, allocations: 3.031 kB / 1.264 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001532/2.964, allocations: 263.8 kB / 1.265 GB, free: 146.3 MB / 0.4948 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.002226/2.966, allocations: 0.7604 MB / 1.265 GB, free: 146 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001192/2.968, allocations: 290.6 kB / 1.266 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/2.968, allocations: 0 / 1.266 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004652/2.968, allocations: 152.3 kB / 1.266 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009754/2.969, allocations: 76.45 kB / 1.266 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/2.971, allocations: 0.9283 MB / 1.267 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/2.971, allocations: 0.7408 MB / 1.268 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/2.972, allocations: 39.55 kB / 1.268 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/2.972, allocations: 3.938 kB / 1.268 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.02146/2.993, allocations: 9.141 MB / 1.277 GB, free: 143.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches