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.001131/0.001131, allocations: 198.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.2 MB / 245 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009513/0.0009511, allocations: 104.6 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.402/0.402, allocations: 45.23 MB / 394.7 MB, free: 31.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 8 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4188, allocations: 63.24 MB / 0.5192 GB, free: 43.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.36/1.779, allocations: 0.7336 GB / 1.253 GB, free: 75.01 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/1.779, allocations: 69.36 kB / 1.253 GB, free: 74.97 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1181/1.897, allocations: 63.63 MB / 1.315 GB, free: 18.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.673e-06/1.897, allocations: 0 / 1.315 GB, free: 18.24 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.407e-05/1.897, allocations: 0 / 1.315 GB, free: 18.24 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.0007753/1.898, allocations: 487.4 kB / 1.315 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/1.898, allocations: 8.031 kB / 1.315 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005365/1.903, allocations: 0.7166 MB / 1.316 GB, free: 16.99 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/1.904, allocations: 278.8 kB / 1.316 GB, free: 16.68 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/1.904, allocations: 20.27 kB / 1.316 GB, free: 16.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/1.904, allocations: 27.83 kB / 1.316 GB, free: 16.63 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/1.905, allocations: 0.6878 MB / 1.317 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/1.905, allocations: 0 / 1.317 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-05/1.905, allocations: 8 kB / 1.317 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/1.905, allocations: 8 kB / 1.317 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/1.907, allocations: 0.7534 MB / 1.318 GB, free: 15.16 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.002324/1.909, allocations: 1.213 MB / 1.319 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/1.91, allocations: 313 kB / 1.319 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006683/1.91, allocations: 371.2 kB / 1.32 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/1.91, allocations: 38.81 kB / 1.32 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/1.91, allocations: 0 / 1.32 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=25): time 0.001119/1.912, allocations: 0.558 MB / 1.32 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/1.912, allocations: 81.11 kB / 1.32 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/1.912, allocations: 114.4 kB / 1.32 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/1.912, allocations: 33.7 kB / 1.32 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/1.912, allocations: 120.2 kB / 1.321 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.084e-05/1.912, allocations: 94.64 kB / 1.321 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/1.912, allocations: 8 kB / 1.321 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.35e-05/1.912, allocations: 326.8 kB / 1.321 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/1.912, allocations: 181.5 kB / 1.321 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/1.913, allocations: 294.6 kB / 1.321 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/1.913, allocations: 207.9 kB / 1.322 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.913, allocations: 3.938 kB / 1.322 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008585/1.914, allocations: 0.508 MB / 1.322 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.914, allocations: 4 kB / 1.322 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.914, allocations: 4 kB / 1.322 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/1.914, allocations: 11.98 kB / 1.322 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/1.914, allocations: 75.83 kB / 1.322 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.914, allocations: 8 kB / 1.322 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/1.915, allocations: 43.75 kB / 1.322 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/1.915, allocations: 16.09 kB / 1.322 GB, free: 10.35 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.0001271/1.915, allocations: 151.1 kB / 1.322 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.481e-05/1.915, allocations: 15.81 kB / 1.322 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008871/1.916, allocations: 486 kB / 1.323 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.916, allocations: 4 kB / 1.323 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.916, allocations: 4 kB / 1.323 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.916, allocations: 0 / 1.323 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/1.917, allocations: 0.5064 MB / 1.323 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.917, allocations: 0 / 1.323 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/1.917, allocations: 51.95 kB / 1.323 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.917, allocations: 4 kB / 1.323 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/1.917, allocations: 11.98 kB / 1.324 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.917, allocations: 0 / 1.324 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.917, allocations: 4 kB / 1.324 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000992/1.918, allocations: 0.6853 MB / 1.324 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/1.918, allocations: 96.84 kB / 1.324 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/1.918, allocations: 8 kB / 1.324 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/1.919, allocations: 19.98 kB / 1.324 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/1.919, allocations: 23.91 kB / 1.324 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/1.919, allocations: 15.98 kB / 1.324 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.094e-05/1.919, allocations: 105.2 kB / 1.324 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/1.919, allocations: 0 / 1.324 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007751/1.92, allocations: 219.8 kB / 1.325 GB, free: 7.855 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.001293/1.921, allocations: 0.7366 MB / 1.325 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000723/1.922, allocations: 431.5 kB / 1.326 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.922, allocations: 4.812 kB / 1.326 GB, free: 6.691 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/1.922, allocations: 207.8 kB / 1.326 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/1.922, allocations: 88.95 kB / 1.326 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/1.924, allocations: 1.047 MB / 1.327 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/1.924, allocations: 0.7367 MB / 1.328 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006792/1.924, allocations: 117.7 kB / 1.328 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/1.925, allocations: 31.42 kB / 1.328 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/1.925, allocations: 4 kB / 1.328 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of Templates: time 0.2206/2.145, allocations: 14.43 MB / 1.342 GB, free: 160.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/jenkins/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