Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.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.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_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 226.5 MB / 245.4 MB, free: 8.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009053/0.0009055, allocations: 102.5 kB / 297.5 MB, free: 6.855 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4325/0.4325, allocations: 44.83 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003518, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5035/0.5038, allocations: 62.96 MB / 0.5184 GB, free: 37.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.028/2.532, allocations: 0.7335 GB / 1.252 GB, free: 82.62 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/2.533, allocations: 81.03 kB / 1.252 GB, free: 82.55 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1293/2.662, allocations: 63.6 MB / 1.314 GB, free: 17.99 MB / 0.5417 GB Notification: Performance of FrontEnd: time 5.19e-06/2.662, allocations: 0 / 1.314 GB, free: 17.99 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.744e-05/2.662, allocations: 4 kB / 1.314 GB, free: 17.98 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001383/2.663, allocations: 487.2 kB / 1.315 GB, free: 17.45 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/2.664, allocations: 8.031 kB / 1.315 GB, free: 17.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005326/2.669, allocations: 0.6989 MB / 1.315 GB, free: 16.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006816/2.67, allocations: 284 kB / 1.316 GB, free: 16.43 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/2.67, allocations: 16.64 kB / 1.316 GB, free: 16.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/2.67, allocations: 20.36 kB / 1.316 GB, free: 16.39 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/2.671, allocations: 0.6845 MB / 1.316 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/2.671, allocations: 192 / 1.316 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/2.671, allocations: 15.94 kB / 1.316 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/2.672, allocations: 8 kB / 1.316 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/2.673, allocations: 0.7494 MB / 1.317 GB, free: 14.92 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.002736/2.676, allocations: 1.209 MB / 1.318 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006288/2.676, allocations: 312.9 kB / 1.318 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/2.677, allocations: 205.6 kB / 1.319 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007671/2.678, allocations: 375.3 kB / 1.319 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/2.678, allocations: 46.5 kB / 1.319 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=25): time 4.147e-06/2.678, allocations: 0 / 1.319 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=25): time 0.001308/2.679, allocations: 0.5431 MB / 1.32 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/2.679, allocations: 77.11 kB / 1.32 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/2.679, allocations: 135.6 kB / 1.32 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/2.679, allocations: 29.7 kB / 1.32 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/2.679, allocations: 120.2 kB / 1.32 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/2.679, allocations: 98.58 kB / 1.32 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/2.679, allocations: 12 kB / 1.32 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/2.679, allocations: 322.8 kB / 1.32 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/2.68, allocations: 179.6 kB / 1.321 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/2.68, allocations: 289.1 kB / 1.321 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/2.681, allocations: 480.7 kB / 1.321 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/2.681, allocations: 0 / 1.321 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009656/2.682, allocations: 0.5047 MB / 1.322 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/2.682, allocations: 15.97 kB / 1.322 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/2.682, allocations: 4 kB / 1.322 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/2.682, allocations: 7.984 kB / 1.322 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/2.683, allocations: 87.81 kB / 1.322 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/2.683, allocations: 4 kB / 1.322 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/2.683, allocations: 43.67 kB / 1.322 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/2.683, allocations: 23.98 kB / 1.322 GB, free: 9.566 MB / 0.5417 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0002024/2.683, allocations: 142.6 kB / 1.322 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/2.683, allocations: 19.84 kB / 1.322 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/2.684, allocations: 482 kB / 1.323 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/2.685, allocations: 0 / 1.323 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/2.685, allocations: 3.938 kB / 1.323 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/2.685, allocations: 7.984 kB / 1.323 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007321/2.685, allocations: 0.4948 MB / 1.323 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/2.685, allocations: 0 / 1.323 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/2.686, allocations: 55.95 kB / 1.323 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/2.686, allocations: 7.938 kB / 1.323 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/2.686, allocations: 11.98 kB / 1.323 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/2.686, allocations: 4 kB / 1.323 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/2.686, allocations: 0 / 1.323 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/2.687, allocations: 0.6737 MB / 1.324 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/2.687, allocations: 96.8 kB / 1.324 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/2.687, allocations: 11.94 kB / 1.324 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/2.688, allocations: 23.97 kB / 1.324 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/2.688, allocations: 11.98 kB / 1.324 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/2.688, allocations: 23.97 kB / 1.324 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.36e-05/2.688, allocations: 95.27 kB / 1.324 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/2.688, allocations: 0 / 1.324 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001134/2.689, allocations: 223.8 kB / 1.324 GB, free: 7.102 MB / 0.5417 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.001745/2.691, allocations: 0.7353 MB / 1.325 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000857/2.691, allocations: 427.5 kB / 1.325 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/2.691, allocations: 4 kB / 1.325 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003409/2.692, allocations: 202.8 kB / 1.326 GB, free: 5.746 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/2.693, allocations: 93.97 kB / 1.326 GB, free: 5.656 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/2.694, allocations: 1.059 MB / 1.327 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/2.694, allocations: 0.7403 MB / 1.327 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007695/2.695, allocations: 113.7 kB / 1.328 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/2.695, allocations: 27.42 kB / 1.328 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of SimCode: time 5.81e-07/2.695, allocations: 0 / 1.328 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of Templates: time 0.3649/3.06, allocations: 14.64 MB / 1.342 GB, free: 170.5 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches