Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 169.2 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009969/0.000997, allocations: 104.7 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2578/0.2578, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.09e-05, allocations: 4 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1545, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.22/2.374, allocations: 0.7073 GB / 1.202 GB, free: 91.76 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/2.375, allocations: 76.61 kB / 1.202 GB, free: 91.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.08695/2.462, allocations: 39.93 MB / 1.241 GB, free: 51.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.464e-06/2.462, allocations: 0 / 1.241 GB, free: 51.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.063e-05/2.462, allocations: 4 kB / 1.241 GB, free: 51.48 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.001025/2.463, allocations: 0.5066 MB / 1.242 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/2.463, allocations: 11.98 kB / 1.242 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003011/2.466, allocations: 379.7 kB / 1.242 GB, free: 50.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/2.466, allocations: 266.8 kB / 1.242 GB, free: 50.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/2.466, allocations: 4 kB / 1.242 GB, free: 50.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.558e-05/2.466, allocations: 12 kB / 1.242 GB, free: 50.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007761/2.467, allocations: 456.6 kB / 1.243 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/2.468, allocations: 313.3 kB / 1.243 GB, free: 49.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/2.468, allocations: 0 / 1.243 GB, free: 49.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/2.468, allocations: 0 / 1.243 GB, free: 49.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/2.468, allocations: 4 kB / 1.243 GB, free: 49.46 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.002249/2.47, allocations: 0.9287 MB / 1.244 GB, free: 48.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/2.47, allocations: 251.1 kB / 1.244 GB, free: 48.22 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/2.471, allocations: 137.6 kB / 1.244 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/2.472, allocations: 0.762 MB / 1.245 GB, free: 47.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/2.472, allocations: 38.56 kB / 1.245 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 2.986e-06/2.472, allocations: 0 / 1.245 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.0007147/2.473, allocations: 260.1 kB / 1.245 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/2.473, allocations: 81.11 kB / 1.245 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/2.473, allocations: 104.9 kB / 1.245 GB, free: 46.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/2.473, allocations: 29.7 kB / 1.245 GB, free: 46.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/2.473, allocations: 120.4 kB / 1.246 GB, free: 46.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.121e-05/2.473, allocations: 98.55 kB / 1.246 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/2.473, allocations: 3.938 kB / 1.246 GB, free: 46.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001085/2.473, allocations: 322.8 kB / 1.246 GB, free: 46.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/2.474, allocations: 96.64 kB / 1.246 GB, free: 46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/2.474, allocations: 187.2 kB / 1.246 GB, free: 45.78 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/2.474, allocations: 120.1 kB / 1.246 GB, free: 45.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/2.474, allocations: 8 kB / 1.246 GB, free: 45.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005605/2.475, allocations: 332.5 kB / 1.247 GB, free: 45.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/2.475, allocations: 9.406 kB / 1.247 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/2.475, allocations: 4 kB / 1.247 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/2.475, allocations: 4 kB / 1.247 GB, free: 45.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/2.475, allocations: 72.2 kB / 1.247 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/2.475, allocations: 11.94 kB / 1.247 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/2.475, allocations: 31.67 kB / 1.247 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/2.475, allocations: 16 kB / 1.247 GB, free: 45.18 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 () * 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.0001146/2.476, allocations: 108.9 kB / 1.247 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/2.476, allocations: 15.86 kB / 1.247 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006753/2.476, allocations: 338.1 kB / 1.247 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/2.476, allocations: 4 kB / 1.247 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/2.476, allocations: 8 kB / 1.247 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/2.476, allocations: 3.984 kB / 1.247 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/2.477, allocations: 309.1 kB / 1.248 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/2.477, allocations: 0 / 1.248 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/2.477, allocations: 63.89 kB / 1.248 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/2.477, allocations: 0 / 1.248 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/2.477, allocations: 11.95 kB / 1.248 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/2.477, allocations: 4 kB / 1.248 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/2.477, allocations: 3.984 kB / 1.248 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005854/2.478, allocations: 0.5058 MB / 1.248 GB, free: 43.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/2.478, allocations: 92.95 kB / 1.248 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/2.478, allocations: 3.953 kB / 1.248 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/2.478, allocations: 27.77 kB / 1.248 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/2.479, allocations: 19.91 kB / 1.248 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/2.479, allocations: 20.05 kB / 1.248 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.525e-05/2.479, allocations: 87.22 kB / 1.248 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.479, allocations: 4 kB / 1.248 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001091/2.48, allocations: 243.8 kB / 1.249 GB, free: 43.24 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 () * 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.001726/2.481, allocations: 0.8256 MB / 1.249 GB, free: 42.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003766/2.482, allocations: 264 kB / 1.25 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/2.482, allocations: 4 kB / 1.25 GB, free: 42.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/2.482, allocations: 131.8 kB / 1.25 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/2.483, allocations: 76.48 kB / 1.25 GB, free: 41.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008572/2.483, allocations: 0.5966 MB / 1.25 GB, free: 41.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/2.484, allocations: 0.7479 MB / 1.251 GB, free: 40.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000473/2.484, allocations: 85.89 kB / 1.251 GB, free: 40.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/2.484, allocations: 35.42 kB / 1.251 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/2.484, allocations: 0 / 1.251 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.01502/2.499, allocations: 10.18 MB / 1.261 GB, free: 30.29 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches