Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.0009427/0.0009427, allocations: 85.95 kB / 23 MB, free: 1.504 MB / 18.57 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.0009084/0.0009084, allocations: 175.7 kB / 26.39 MB, free: 7.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8681/0.8681, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 252.3 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.631e-05, allocations: 2.312 kB / 252.3 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.246/0.246, allocations: 141.2 MB / 393.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.2477, allocations: 2.11 MB / 395.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.2477, allocations: 2.344 kB / 395.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.2481, allocations: 54.23 kB / 395.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.2493, allocations: 0.6462 MB / 396.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.2495, allocations: 111 kB / 396.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.2498, allocations: 256.9 kB / 396.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.2498, allocations: 8.047 kB / 396.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.2501, allocations: 171.6 kB / 396.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.2502, allocations: 89.56 kB / 396.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.2502, allocations: 9.547 kB / 396.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009725/0.2512, allocations: 0.7501 MB / 397.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.892e-05/0.2513, allocations: 87.97 kB / 397.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.837e-05/0.2514, allocations: 77.98 kB / 397.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007695/0.2521, allocations: 0.6643 MB / 398.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2521, allocations: 2.594 kB / 398.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2522, allocations: 0 / 398.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2522, allocations: 4 kB / 398.5 MB, free: 10.23 MB / 330.7 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.0005243/0.2527, allocations: 0.5297 MB / 399 MB, free: 9.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.2527, allocations: 14.86 kB / 399 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.2537, allocations: 287.4 kB / 399.3 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.254, allocations: 210.8 kB / 399.5 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.254, allocations: 15.3 kB / 399.5 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.2541, allocations: 18.12 kB / 399.6 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.2544, allocations: 483.2 kB / 400 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2544, allocations: 7.875 kB / 400 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.2545, allocations: 9.109 kB / 400 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.2545, allocations: 12.28 kB / 400.1 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.2548, allocations: 247 kB / 400.3 MB, free: 9.125 MB / 330.7 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.001022/0.2558, allocations: 0.8611 MB / 401.2 MB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.256, allocations: 155 kB / 401.3 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.81e-05/0.256, allocations: 97.36 kB / 401.4 MB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003119/0.2563, allocations: 107.9 kB / 401.5 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.2564, allocations: 41.92 kB / 401.5 MB, free: 8.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.2564, allocations: 4 kB / 401.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008854/0.2573, allocations: 408.4 kB / 401.9 MB, free: 8.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.2573, allocations: 84.05 kB / 402 MB, free: 8.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.948e-05/0.2573, allocations: 189.4 kB / 402.2 MB, free: 7.984 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.2574, allocations: 32.05 kB / 402.2 MB, free: 7.953 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.2574, allocations: 157.7 kB / 402.4 MB, free: 7.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.2574, allocations: 119.6 kB / 402.5 MB, free: 7.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/0.2575, allocations: 69.55 kB / 402.6 MB, free: 7.691 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.2576, allocations: 0.5025 MB / 403.1 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.2577, allocations: 78.86 kB / 403.2 MB, free: 7.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.2578, allocations: 236.7 kB / 403.4 MB, free: 6.973 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.258, allocations: 332.2 kB / 403.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.258, allocations: 2.469 kB / 403.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003548/0.2583, allocations: 332.1 kB / 404 MB, free: 6.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2584, allocations: 7.656 kB / 404.1 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2584, allocations: 7.688 kB / 404.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2584, allocations: 13.77 kB / 404.1 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.2586, allocations: 72.84 kB / 404.1 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2586, allocations: 7 kB / 404.2 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.2588, allocations: 33.17 kB / 404.2 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.2588, allocations: 14.47 kB / 404.2 MB, free: 6.637 MB / 330.7 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 7.846e-05/0.2589, allocations: 183 kB / 404.4 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.987e-05/0.259, allocations: 25.17 kB / 404.4 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/0.2593, allocations: 328.1 kB / 404.7 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2593, allocations: 10.28 kB / 404.7 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.2593, allocations: 7.922 kB / 404.7 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2594, allocations: 0 / 404.7 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.2597, allocations: 297.4 kB / 405 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2597, allocations: 0 / 405 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.2599, allocations: 49.72 kB / 405.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2599, allocations: 0 / 405.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.2599, allocations: 12.12 kB / 405.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2599, allocations: 6.719 kB / 405.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2599, allocations: 0 / 405.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.2604, allocations: 0.6203 MB / 405.7 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.2604, allocations: 18.86 kB / 405.7 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.2604, allocations: 8.781 kB / 405.7 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.2606, allocations: 16.2 kB / 405.8 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.2607, allocations: 19.91 kB / 405.8 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.2607, allocations: 14.92 kB / 405.8 MB, free: 5.734 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.293e-05/0.2607, allocations: 137.5 kB / 405.9 MB, free: 5.609 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2607, allocations: 0 / 405.9 MB, free: 5.609 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004677/0.2612, allocations: 169.7 kB / 406.1 MB, free: 5.578 MB / 330.7 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.0005145/0.2617, allocations: 342.4 kB / 406.4 MB, free: 5.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.262, allocations: 247.9 kB / 406.7 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.262, allocations: 0 / 406.7 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.2621, allocations: 135.1 kB / 406.8 MB, free: 5.305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.2625, allocations: 107 kB / 406.9 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008722/0.2634, allocations: 0.6757 MB / 407.6 MB, free: 4.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.118e-05/0.2634, allocations: 89.89 kB / 407.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002593/0.2637, allocations: 80.17 kB / 407.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.264, allocations: 189.1 kB / 407.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.264, allocations: 0 / 407.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of Templates: time 0.01057/0.2745, allocations: 9.931 MB / 417.9 MB, free: 15.33 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.213710084091872]