Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.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.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000907/0.0009071, allocations: 94.61 kB / 261.8 MB, free: 1.676 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.2356/0.2356, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.833e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 58.85 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.013/2.162, allocations: 0.7635 GB / 1.229 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/2.162, allocations: 71.25 kB / 1.229 GB, free: 56.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4179/2.58, allocations: 60.96 MB / 1.289 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/2.58, allocations: 0 / 1.289 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.293e-05/2.58, allocations: 4.188 kB / 1.289 GB, free: 162.5 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001232/2.582, allocations: 468.3 kB / 1.289 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/2.582, allocations: 8.719 kB / 1.289 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006165/2.588, allocations: 0.6989 MB / 1.29 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007861/2.589, allocations: 281.7 kB / 1.29 GB, free: 161.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/2.589, allocations: 8.469 kB / 1.29 GB, free: 161.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/2.589, allocations: 12.12 kB / 1.29 GB, free: 161.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001537/2.591, allocations: 0.6429 MB / 1.291 GB, free: 161.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009059/2.591, allocations: 406.5 kB / 1.291 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/2.591, allocations: 0 / 1.291 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-05/2.592, allocations: 3.828 kB / 1.291 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/2.592, allocations: 9.344 kB / 1.291 GB, free: 161.8 MB / 0.4948 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.003284/2.595, allocations: 1.33 MB / 1.293 GB, free: 161.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/2.595, allocations: 326 kB / 1.293 GB, free: 161.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/2.596, allocations: 219.9 kB / 1.293 GB, free: 161.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006254/2.596, allocations: 252.4 kB / 1.294 GB, free: 161 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/2.596, allocations: 38.31 kB / 1.294 GB, free: 161 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.144e-06/2.596, allocations: 0 / 1.294 GB, free: 161 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.001035/2.598, allocations: 437.6 kB / 1.294 GB, free: 160.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/2.598, allocations: 88.86 kB / 1.294 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/2.598, allocations: 126.5 kB / 1.294 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/2.598, allocations: 27.02 kB / 1.294 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/2.598, allocations: 111.8 kB / 1.294 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/2.598, allocations: 105.5 kB / 1.294 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/2.598, allocations: 0 / 1.294 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.505e-05/2.598, allocations: 327.1 kB / 1.295 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/2.598, allocations: 200.5 kB / 1.295 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/2.599, allocations: 299.7 kB / 1.295 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/2.599, allocations: 225.9 kB / 1.295 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/2.599, allocations: 3.812 kB / 1.295 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001003/2.6, allocations: 0.5165 MB / 1.296 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/2.6, allocations: 7.094 kB / 1.296 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/2.6, allocations: 2.156 kB / 1.296 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/2.6, allocations: 7 kB / 1.296 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/2.601, allocations: 92.12 kB / 1.296 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/2.601, allocations: 5.984 kB / 1.296 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/2.601, allocations: 41.94 kB / 1.296 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.865e-05/2.602, allocations: 23.75 kB / 1.296 GB, free: 160.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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.0001823/2.602, allocations: 111.4 kB / 1.296 GB, free: 160 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/2.602, allocations: 16 kB / 1.296 GB, free: 160 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/2.603, allocations: 0.5254 MB / 1.297 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/2.603, allocations: 4.203 kB / 1.297 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/2.603, allocations: 0.5 kB / 1.297 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/2.603, allocations: 2.547 kB / 1.297 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/2.604, allocations: 0.51 MB / 1.297 GB, free: 159.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/2.604, allocations: 8.531 kB / 1.297 GB, free: 159.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006027/2.605, allocations: 65.06 kB / 1.297 GB, free: 159.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/2.605, allocations: 4.844 kB / 1.297 GB, free: 159.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/2.605, allocations: 12.02 kB / 1.297 GB, free: 159.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/2.605, allocations: 5.219 kB / 1.297 GB, free: 159.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.605, allocations: 0.5625 kB / 1.297 GB, free: 159.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/2.606, allocations: 0.722 MB / 1.298 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.251e-05/2.606, allocations: 93.75 kB / 1.298 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/2.606, allocations: 3.719 kB / 1.298 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000547/2.607, allocations: 27.17 kB / 1.298 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/2.607, allocations: 20.81 kB / 1.298 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-05/2.607, allocations: 21.59 kB / 1.298 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.03e-05/2.607, allocations: 96.86 kB / 1.298 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.964e-06/2.607, allocations: 0 / 1.298 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001391/2.608, allocations: 196.3 kB / 1.298 GB, free: 159.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.611, allocations: 0.8201 MB / 1.299 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009159/2.612, allocations: 467 kB / 1.3 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/2.612, allocations: 0.9375 kB / 1.3 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003663/2.612, allocations: 227.3 kB / 1.3 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006575/2.613, allocations: 94.45 kB / 1.3 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/2.614, allocations: 0.7838 MB / 1.301 GB, free: 158.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/2.614, allocations: 0.745 MB / 1.302 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008822/2.615, allocations: 129.5 kB / 1.302 GB, free: 158 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/2.616, allocations: 32.16 kB / 1.302 GB, free: 158 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/2.616, allocations: 0 / 1.302 GB, free: 158 MB / 0.4948 GB Notification: Performance of Templates: time 0.02099/2.637, allocations: 10.61 MB / 1.312 GB, free: 157 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches