Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 104.1 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 190 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2338/0.2338, allocations: 44.18 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 59.44 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.154, allocations: 60.83 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5029/0.6569, allocations: 147.5 MB / 0.6016 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.6602, allocations: 2.246 MB / 0.6037 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.6604, allocations: 0 / 0.6037 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004524/0.6609, allocations: 60.45 kB / 0.6038 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.663, allocations: 0.568 MB / 0.6044 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.6634, allocations: 101 kB / 0.6045 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005498/0.6639, allocations: 378.8 kB / 0.6048 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.063e-05/0.664, allocations: 4 kB / 0.6048 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.6644, allocations: 121.7 kB / 0.6049 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.6647, allocations: 103.6 kB / 0.605 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.6648, allocations: 4 kB / 0.605 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.6672, allocations: 1.232 MB / 0.6062 GB, free: 9.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.6674, allocations: 79.81 kB / 0.6063 GB, free: 9.137 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.6676, allocations: 87.59 kB / 0.6064 GB, free: 9.051 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.6694, allocations: 0.7676 MB / 0.6072 GB, free: 8.281 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.6694, allocations: 0 / 0.6072 GB, free: 8.281 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.6694, allocations: 0 / 0.6072 GB, free: 8.281 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.6694, allocations: 0 / 0.6072 GB, free: 8.281 MB / 446.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.001098/0.6705, allocations: 0.5038 MB / 0.6076 GB, free: 7.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.6706, allocations: 12.03 kB / 0.6077 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007408/0.678, allocations: 0.7423 MB / 0.6084 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006512/0.6787, allocations: 280.2 kB / 0.6086 GB, free: 6.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.6787, allocations: 20.27 kB / 0.6087 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.6789, allocations: 16 kB / 0.6087 GB, free: 6.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.6808, allocations: 0.6995 MB / 0.6094 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.6808, allocations: 8 kB / 0.6094 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.681, allocations: 4 kB / 0.6094 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.681, allocations: 8 kB / 0.6094 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/0.6833, allocations: 0.9134 MB / 0.6103 GB, free: 4.984 MB / 446.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.005767/0.6893, allocations: 1.994 MB / 0.6122 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.6909, allocations: 0.5164 MB / 0.6127 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009538/0.6919, allocations: 325.5 kB / 0.613 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.693, allocations: 376.2 kB / 0.6134 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.693, allocations: 46.48 kB / 0.6134 GB, free: 1.469 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 3.997e-06/0.693, allocations: 0 / 0.6134 GB, free: 1.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.00237/0.6954, allocations: 0.8875 MB / 0.6143 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.6955, allocations: 81.11 kB / 0.6144 GB, free: 492 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.6957, allocations: 125.8 kB / 0.6145 GB, free: 356 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.907e-05/0.6957, allocations: 33.7 kB / 0.6145 GB, free: 316 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.6958, allocations: 124.3 kB / 0.6147 GB, free: 188 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.696, allocations: 98.56 kB / 0.6147 GB, free: 88 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.6963, allocations: 73.58 kB / 0.6148 GB, free: 8 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003588/0.6966, allocations: 330.9 kB / 0.6151 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006763/0.6973, allocations: 295.8 kB / 0.6154 GB, free: 15.38 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.6981, allocations: 413.3 kB / 0.6158 GB, free: 14.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.6998, allocations: 0.7006 MB / 0.6165 GB, free: 14.19 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.6999, allocations: 0 / 0.6165 GB, free: 14.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002043/0.7019, allocations: 0.7477 MB / 0.6172 GB, free: 13.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.702, allocations: 4 kB / 0.6172 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.702, allocations: 7.938 kB / 0.6172 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.404e-05/0.702, allocations: 8 kB / 0.6172 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.7031, allocations: 99.84 kB / 0.6173 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.7031, allocations: 8.125 kB / 0.6173 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008931/0.704, allocations: 55.73 kB / 0.6174 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.901e-05/0.7041, allocations: 27.48 kB / 0.6174 GB, free: 13.24 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000285/0.7044, allocations: 141.7 kB / 0.6176 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.7046, allocations: 19.81 kB / 0.6176 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.7068, allocations: 0.7716 MB / 0.6183 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.7069, allocations: 4 kB / 0.6183 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.7069, allocations: 0 / 0.6183 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.7069, allocations: 0 / 0.6183 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.7083, allocations: 0.8094 MB / 0.6191 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/0.7084, allocations: 4 kB / 0.6191 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.7096, allocations: 83.84 kB / 0.6192 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.016e-06/0.7096, allocations: 4 kB / 0.6192 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.138e-05/0.7097, allocations: 11.98 kB / 0.6192 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.7097, allocations: 4 kB / 0.6192 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.7097, allocations: 0 / 0.6192 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.712, allocations: 0.9629 MB / 0.6202 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.7121, allocations: 92.94 kB / 0.6203 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.7122, allocations: 12 kB / 0.6203 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009556/0.7132, allocations: 39.84 kB / 0.6203 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.7133, allocations: 23.97 kB / 0.6203 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-05/0.7134, allocations: 11.98 kB / 0.6203 GB, free: 10.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.904e-05/0.7135, allocations: 108.5 kB / 0.6204 GB, free: 9.992 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.7135, allocations: 0 / 0.6204 GB, free: 9.992 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001003/0.7145, allocations: 179.9 kB / 0.6206 GB, free: 9.816 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001402/0.7159, allocations: 357.7 kB / 0.621 GB, free: 9.461 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.7175, allocations: 0.6486 MB / 0.6216 GB, free: 8.812 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7175, allocations: 128 / 0.6216 GB, free: 8.812 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007118/0.7182, allocations: 327.7 kB / 0.6219 GB, free: 8.492 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.719, allocations: 100.3 kB / 0.622 GB, free: 8.395 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.7211, allocations: 0.9998 MB / 0.623 GB, free: 7.367 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.7216, allocations: 0.7369 MB / 0.6237 GB, free: 6.602 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001356/0.7229, allocations: 178.3 kB / 0.6239 GB, free: 6.422 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.7233, allocations: 39.41 kB / 0.6239 GB, free: 6.383 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.7233, allocations: 0 / 0.6239 GB, free: 6.383 MB / 462.1 MB Notification: Performance of Templates: time 0.0204/0.7437, allocations: 10.13 MB / 0.6338 GB, free: 12.26 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches