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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009509/0.0009508, allocations: 102.9 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 199.5 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002941, allocations: 8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 63.46 MB / 481.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4397/0.5778, allocations: 125.8 MB / 0.593 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.5801, allocations: 1.794 MB / 0.5947 GB, free: 5.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.5802, allocations: 4 kB / 0.5947 GB, free: 5.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.5805, allocations: 51.72 kB / 0.5948 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.5818, allocations: 446.7 kB / 0.5952 GB, free: 5.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.5821, allocations: 75.89 kB / 0.5953 GB, free: 5.293 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.5823, allocations: 168.2 kB / 0.5955 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/0.5824, allocations: 4.531 kB / 0.5955 GB, free: 5.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.5828, allocations: 171.5 kB / 0.5956 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.583, allocations: 63.81 kB / 0.5957 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.583, allocations: 12 kB / 0.5957 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.5846, allocations: 0.7256 MB / 0.5964 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.713e-05/0.5847, allocations: 79.77 kB / 0.5965 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.176e-05/0.5847, allocations: 61.58 kB / 0.5965 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007482/0.5855, allocations: 461 kB / 0.597 GB, free: 3.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5855, allocations: 4 kB / 0.597 GB, free: 3.566 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5855, allocations: 0 / 0.597 GB, free: 3.566 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.5855, allocations: 0 / 0.597 GB, free: 3.566 MB / 430.1 MB 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.0007233/0.5863, allocations: 471.8 kB / 0.5974 GB, free: 3.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5863, allocations: 8.031 kB / 0.5974 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.5882, allocations: 263.5 kB / 0.5977 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.5886, allocations: 250.8 kB / 0.5979 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.5886, allocations: 16.33 kB / 0.5979 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.577e-05/0.5887, allocations: 19.91 kB / 0.598 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.5895, allocations: 0.4889 MB / 0.5984 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5895, allocations: 3.938 kB / 0.5984 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.5895, allocations: 7.984 kB / 0.5985 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.5896, allocations: 8 kB / 0.5985 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008408/0.5904, allocations: 0.5849 MB / 0.599 GB, free: 1.371 MB / 430.1 MB 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.002201/0.5926, allocations: 0.9961 MB / 0.6 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.593, allocations: 245 kB / 0.6002 GB, free: 68 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009099/0.5939, allocations: 371.2 kB / 0.6006 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.594, allocations: 34.56 kB / 0.6006 GB, free: 15.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.594, allocations: 0 / 0.6006 GB, free: 15.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001849/0.5958, allocations: 0.606 MB / 0.6012 GB, free: 15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.5959, allocations: 85.06 kB / 0.6013 GB, free: 14.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.596, allocations: 133.7 kB / 0.6014 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/0.5961, allocations: 33.7 kB / 0.6015 GB, free: 14.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.5962, allocations: 112.4 kB / 0.6016 GB, free: 14.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.973e-05/0.5963, allocations: 102.5 kB / 0.6017 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.5963, allocations: 8 kB / 0.6017 GB, free: 14.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5965, allocations: 330.8 kB / 0.602 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.5968, allocations: 179.9 kB / 0.6022 GB, free: 13.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.5972, allocations: 293.5 kB / 0.6024 GB, free: 13.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.5975, allocations: 224.1 kB / 0.6027 GB, free: 13.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5975, allocations: 0 / 0.6027 GB, free: 13.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008975/0.5984, allocations: 0.5153 MB / 0.6032 GB, free: 12.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.5985, allocations: 8 kB / 0.6032 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5985, allocations: 4 kB / 0.6032 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5985, allocations: 4 kB / 0.6032 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.599, allocations: 79.84 kB / 0.6032 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.599, allocations: 15.92 kB / 0.6033 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/0.5994, allocations: 39.8 kB / 0.6033 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.5995, allocations: 19.98 kB / 0.6033 GB, free: 12.75 MB / 446.1 MB 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 (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.0001646/0.5997, allocations: 153.6 kB / 0.6035 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.5998, allocations: 15.89 kB / 0.6035 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008994/0.6007, allocations: 486.1 kB / 0.6039 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.6007, allocations: 4 kB / 0.6039 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6007, allocations: 0 / 0.6039 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.6007, allocations: 0 / 0.6039 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007181/0.6014, allocations: 470 kB / 0.6044 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6014, allocations: 0 / 0.6044 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/0.6019, allocations: 67.83 kB / 0.6045 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.6019, allocations: 0 / 0.6045 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.602, allocations: 11.98 kB / 0.6045 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.602, allocations: 0 / 0.6045 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.602, allocations: 4 kB / 0.6045 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.6031, allocations: 0.7017 MB / 0.6052 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.6031, allocations: 92.86 kB / 0.6052 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/0.6032, allocations: 8 kB / 0.6053 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.6037, allocations: 27.92 kB / 0.6053 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.6037, allocations: 19.97 kB / 0.6053 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.6038, allocations: 11.98 kB / 0.6053 GB, free: 10.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.968e-05/0.6039, allocations: 109.3 kB / 0.6054 GB, free: 10.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6039, allocations: 0 / 0.6054 GB, free: 10.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007552/0.6047, allocations: 159.9 kB / 0.6056 GB, free: 10.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (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.0007936/0.6055, allocations: 293 kB / 0.6059 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007946/0.6063, allocations: 435.6 kB / 0.6063 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.6063, allocations: 0 / 0.6063 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003239/0.6066, allocations: 211.8 kB / 0.6065 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.6072, allocations: 93.66 kB / 0.6066 GB, free: 9.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.6087, allocations: 1.076 MB / 0.6076 GB, free: 8.215 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.6091, allocations: 0.7444 MB / 0.6083 GB, free: 7.445 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006634/0.6098, allocations: 109.8 kB / 0.6084 GB, free: 7.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.6099, allocations: 31.42 kB / 0.6085 GB, free: 7.309 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6099, allocations: 0 / 0.6085 GB, free: 7.309 MB / 446.1 MB Notification: Performance of Templates: time 0.01533/0.6253, allocations: 7.575 MB / 0.6159 GB, free: 15.78 MB / 462.1 MB 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