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.001804/0.001804, allocations: 85.22 kB / 21.99 MB, free: 4.754 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.00182/0.00182, allocations: 157.4 kB / 25.25 MB, free: 2.742 MB / 14.72 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 1.345/1.345, allocations: 158.6 MB / 187 MB, free: 6.352 MB / 174.1 MB " [Timeout remaining time 178] 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.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|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.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 58.73 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2084, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3572/0.5656, allocations: 129.8 MB / 478.3 MB, free: 1.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.5678, allocations: 1.879 MB / 480.2 MB, free: 1.414 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.5679, allocations: 1.312 kB / 480.2 MB, free: 1.414 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.5682, allocations: 54.53 kB / 480.3 MB, free: 1.414 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.5695, allocations: 0.6266 MB / 480.9 MB, free: 1.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.5698, allocations: 116.7 kB / 481 MB, free: 1.375 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.5701, allocations: 265.4 kB / 481.3 MB, free: 1.375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.5702, allocations: 4.125 kB / 481.3 MB, free: 1.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.5704, allocations: 140 kB / 481.4 MB, free: 1.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.5706, allocations: 91.73 kB / 481.5 MB, free: 1.375 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.5706, allocations: 10.59 kB / 481.5 MB, free: 1.375 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.5718, allocations: 0.7423 MB / 482.3 MB, free: 1.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.5719, allocations: 84.58 kB / 482.3 MB, free: 1.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.572, allocations: 83.06 kB / 482.4 MB, free: 1.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007927/0.5728, allocations: 0.6402 MB / 483.1 MB, free: 1.344 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5728, allocations: 3.312 kB / 483.1 MB, free: 1.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5728, allocations: 0 / 483.1 MB, free: 1.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.5728, allocations: 0.8438 kB / 483.1 MB, free: 1.344 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.0007803/0.5736, allocations: 442.5 kB / 483.5 MB, free: 17.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.5736, allocations: 12.77 kB / 483.5 MB, free: 17.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.5755, allocations: 277.2 kB / 483.8 MB, free: 17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.5759, allocations: 222.9 kB / 484 MB, free: 16.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.5759, allocations: 11.81 kB / 484 MB, free: 16.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.576, allocations: 21.78 kB / 484 MB, free: 16.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/0.5767, allocations: 0.6505 MB / 484.7 MB, free: 16.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5768, allocations: 2.172 kB / 484.7 MB, free: 16.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.5768, allocations: 7.188 kB / 484.7 MB, free: 16.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.5768, allocations: 7.344 kB / 484.7 MB, free: 16.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/0.5775, allocations: 0.5886 MB / 485.3 MB, free: 16.62 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.001953/0.5795, allocations: 0.915 MB / 486.2 MB, free: 16.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.5798, allocations: 237.4 kB / 486.4 MB, free: 16.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.58, allocations: 179.6 kB / 486.6 MB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000659/0.5806, allocations: 130.7 kB / 486.7 MB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.5807, allocations: 41.39 kB / 486.8 MB, free: 16.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.5807, allocations: 0 / 486.8 MB, free: 16.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001878/0.5826, allocations: 0.5991 MB / 487.4 MB, free: 16.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.5826, allocations: 86.91 kB / 487.5 MB, free: 16.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.5827, allocations: 127 kB / 487.6 MB, free: 15.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.5828, allocations: 31.92 kB / 487.6 MB, free: 15.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.5828, allocations: 128.7 kB / 487.7 MB, free: 15.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.5829, allocations: 106.2 kB / 487.8 MB, free: 15.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.583, allocations: 69.53 kB / 487.9 MB, free: 15.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5831, allocations: 322.9 kB / 488.2 MB, free: 15.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.5834, allocations: 188.3 kB / 488.4 MB, free: 15.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.5838, allocations: 287 kB / 488.7 MB, free: 15.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006357/0.5844, allocations: 493.3 kB / 489.2 MB, free: 15.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5844, allocations: 0 / 489.2 MB, free: 15.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008127/0.5852, allocations: 0.5244 MB / 489.7 MB, free: 15.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.5852, allocations: 12.16 kB / 489.7 MB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5852, allocations: 4.031 kB / 489.7 MB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.5852, allocations: 5.281 kB / 489.7 MB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.5858, allocations: 84.7 kB / 489.8 MB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.5858, allocations: 6.859 kB / 489.8 MB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.5862, allocations: 37.42 kB / 489.8 MB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.5862, allocations: 16.72 kB / 489.9 MB, free: 15.11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.5864, allocations: 147 kB / 490 MB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.5865, allocations: 25.52 kB / 490 MB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000843/0.5873, allocations: 496.8 kB / 490.5 MB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.5874, allocations: 6.609 kB / 490.5 MB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5874, allocations: 2.094 kB / 490.5 MB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.5874, allocations: 0 / 490.5 MB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.5879, allocations: 340.9 kB / 490.9 MB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5879, allocations: 2.625 kB / 490.9 MB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.5885, allocations: 60.56 kB / 490.9 MB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5885, allocations: 4.75 kB / 490.9 MB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.5885, allocations: 14 kB / 490.9 MB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5885, allocations: 0.7188 kB / 490.9 MB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5885, allocations: 0 / 490.9 MB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009883/0.5895, allocations: 0.688 MB / 491.6 MB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.5895, allocations: 20.81 kB / 491.6 MB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.5896, allocations: 11.47 kB / 491.7 MB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005161/0.5901, allocations: 25.28 kB / 491.7 MB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.5901, allocations: 18.44 kB / 491.7 MB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.5902, allocations: 17.28 kB / 491.7 MB, free: 14.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.5902, allocations: 101.2 kB / 491.8 MB, free: 14.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5902, allocations: 0 / 491.8 MB, free: 14.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006191/0.5909, allocations: 157.7 kB / 492 MB, free: 14.41 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 (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.0007109/0.5916, allocations: 341.2 kB / 492.3 MB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006782/0.5922, allocations: 421.2 kB / 492.7 MB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5923, allocations: 3.469 kB / 492.7 MB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.5925, allocations: 204.7 kB / 492.9 MB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007062/0.5932, allocations: 98.58 kB / 493 MB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.5945, allocations: 0.8732 MB / 493.9 MB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.5946, allocations: 128.4 kB / 494 MB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004394/0.595, allocations: 111.5 kB / 494.1 MB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.5952, allocations: 36.23 kB / 494.2 MB, free: 13.69 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.5952, allocations: 0 / 494.2 MB, free: 13.69 MB / 446.1 MB Notification: Performance of Templates: time 0.01213/0.6073, allocations: 8.289 MB / 0.4907 GB, free: 12.81 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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.12867239897605]