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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 83.92 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 164 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2022/0.2022, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.518e-05, allocations: 9.375 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3397/0.3397, allocations: 131.7 MB / 0.5583 GB, free: 6.254 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.3426, allocations: 1.975 MB / 0.5603 GB, free: 4.289 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.3427, allocations: 0 / 0.5603 GB, free: 4.289 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.343, allocations: 47.27 kB / 0.5603 GB, free: 4.246 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.3447, allocations: 0.6644 MB / 0.561 GB, free: 3.578 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.3451, allocations: 104.6 kB / 0.5611 GB, free: 3.477 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.3455, allocations: 266.9 kB / 0.5613 GB, free: 3.215 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.3455, allocations: 8 kB / 0.5613 GB, free: 3.207 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.3459, allocations: 179.3 kB / 0.5615 GB, free: 3.031 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.3461, allocations: 87.73 kB / 0.5616 GB, free: 2.945 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.3461, allocations: 8 kB / 0.5616 GB, free: 2.938 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.3476, allocations: 0.7673 MB / 0.5623 GB, free: 2.168 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.3477, allocations: 87.77 kB / 0.5624 GB, free: 2.082 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.3478, allocations: 75.83 kB / 0.5625 GB, free: 2.008 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.349, allocations: 0.717 MB / 0.5632 GB, free: 1.289 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.349, allocations: 4 kB / 0.5632 GB, free: 1.285 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.349, allocations: 0 / 0.5632 GB, free: 1.285 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.349, allocations: 0 / 0.5632 GB, free: 1.285 MB / 462.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.0008834/0.3499, allocations: 441.4 kB / 0.5636 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.35, allocations: 8.031 kB / 0.5636 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.3521, allocations: 280.3 kB / 0.5639 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.3525, allocations: 225.5 kB / 0.5641 GB, free: 308 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3525, allocations: 12.7 kB / 0.5641 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-05/0.3526, allocations: 16.56 kB / 0.5641 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009654/0.3535, allocations: 0.6564 MB / 0.5648 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3536, allocations: 0 / 0.5648 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.3536, allocations: 8 kB / 0.5648 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.3536, allocations: 8 kB / 0.5648 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00095/0.3546, allocations: 0.5785 MB / 0.5653 GB, free: 14.97 MB / 478.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.002258/0.3569, allocations: 0.9064 MB / 0.5662 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.3573, allocations: 233.1 kB / 0.5665 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.3576, allocations: 185.6 kB / 0.5666 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008448/0.3584, allocations: 147.8 kB / 0.5668 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3584, allocations: 42.55 kB / 0.5668 GB, free: 13.41 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.3584, allocations: 5.781 kB / 0.5668 GB, free: 13.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002088/0.3605, allocations: 0.6072 MB / 0.5674 GB, free: 12.79 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.3606, allocations: 81.11 kB / 0.5675 GB, free: 12.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3607, allocations: 127.2 kB / 0.5676 GB, free: 12.56 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.3608, allocations: 29.7 kB / 0.5676 GB, free: 12.53 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.3608, allocations: 116.5 kB / 0.5677 GB, free: 12.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.361, allocations: 115 kB / 0.5679 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.3611, allocations: 65.69 kB / 0.5679 GB, free: 12.22 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3613, allocations: 330.8 kB / 0.5682 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.3616, allocations: 179.9 kB / 0.5684 GB, free: 11.71 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.3621, allocations: 305.3 kB / 0.5687 GB, free: 11.37 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/0.3629, allocations: 491.5 kB / 0.5692 GB, free: 10.85 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3629, allocations: 0 / 0.5692 GB, free: 10.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001046/0.364, allocations: 0.5166 MB / 0.5697 GB, free: 10.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.364, allocations: 8 kB / 0.5697 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.364, allocations: 7.938 kB / 0.5697 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.364, allocations: 4 kB / 0.5697 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/0.3646, allocations: 83.83 kB / 0.5698 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3646, allocations: 10.34 kB / 0.5698 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.365, allocations: 44.11 kB / 0.5698 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.365, allocations: 20.86 kB / 0.5698 GB, free: 10.15 MB / 478.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.0001799/0.3652, allocations: 146.4 kB / 0.57 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.3653, allocations: 15.91 kB / 0.57 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.3664, allocations: 490.4 kB / 0.5705 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3664, allocations: 4 kB / 0.5705 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3664, allocations: 0 / 0.5705 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.3664, allocations: 4.859 kB / 0.5705 GB, free: 9.492 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006952/0.3671, allocations: 342 kB / 0.5708 GB, free: 9.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3671, allocations: 0 / 0.5708 GB, free: 9.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/0.3676, allocations: 63.89 kB / 0.5709 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3676, allocations: 4 kB / 0.5709 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.3676, allocations: 12 kB / 0.5709 GB, free: 9.051 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.3677, allocations: 6.188 kB / 0.5709 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3677, allocations: 0 / 0.5709 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.3689, allocations: 0.6925 MB / 0.5716 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.3689, allocations: 27.83 kB / 0.5716 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.369, allocations: 7.938 kB / 0.5716 GB, free: 8.305 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/0.3695, allocations: 23.97 kB / 0.5716 GB, free: 8.281 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.3695, allocations: 19.97 kB / 0.5716 GB, free: 8.262 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/0.3696, allocations: 15.98 kB / 0.5716 GB, free: 8.246 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.35e-05/0.3697, allocations: 97.78 kB / 0.5717 GB, free: 8.152 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3697, allocations: 0 / 0.5717 GB, free: 8.152 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000669/0.3703, allocations: 171.6 kB / 0.5719 GB, free: 7.984 MB / 478.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.0008824/0.3712, allocations: 349.8 kB / 0.5722 GB, free: 7.633 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008737/0.3721, allocations: 431.2 kB / 0.5727 GB, free: 7.215 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3721, allocations: 0 / 0.5727 GB, free: 7.215 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000386/0.3725, allocations: 207.8 kB / 0.5728 GB, free: 7.012 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007462/0.3732, allocations: 93.38 kB / 0.5729 GB, free: 6.926 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.3745, allocations: 0.6958 MB / 0.5736 GB, free: 6.203 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.3747, allocations: 123.6 kB / 0.5737 GB, free: 6.066 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004491/0.3751, allocations: 113.8 kB / 0.5738 GB, free: 5.953 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.3753, allocations: 36.48 kB / 0.5739 GB, free: 5.918 MB / 478.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3753, allocations: 0 / 0.5739 GB, free: 5.918 MB / 478.1 MB Notification: Performance of Templates: time 0.01457/0.3899, allocations: 8.159 MB / 0.5818 GB, free: 13.85 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.172132030129433]