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.001627/0.001627, allocations: 82.89 kB / 21.43 MB, free: 296 kB / 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.001451/0.001451, allocations: 164 kB / 24.7 MB, free: 3.547 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.342/1.342, allocations: 158.6 MB / 186.5 MB, free: 6.418 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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.719e-05, allocations: 2.281 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3097/0.3097, allocations: 129.9 MB / 428.8 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.3127, allocations: 1.877 MB / 430.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3128, allocations: 4 kB / 430.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.3131, allocations: 50.34 kB / 430.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.3151, allocations: 0.6411 MB / 431.4 MB, free: 9.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.3154, allocations: 113.1 kB / 431.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.3159, allocations: 258.9 kB / 431.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/0.3159, allocations: 4 kB / 431.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003696/0.3163, allocations: 171.4 kB / 431.9 MB, free: 8.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.3165, allocations: 87.75 kB / 432 MB, free: 8.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.3166, allocations: 8 kB / 432 MB, free: 8.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.3182, allocations: 0.7594 MB / 432.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.3184, allocations: 87.78 kB / 432.9 MB, free: 8.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.3185, allocations: 79.81 kB / 432.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.3199, allocations: 0.6936 MB / 433.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3199, allocations: 0.5625 kB / 433.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3199, allocations: 4 kB / 433.6 MB, free: 7.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3199, allocations: 0 / 433.6 MB, free: 7.246 MB / 382.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.0009484/0.3209, allocations: 442 kB / 434.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3209, allocations: 15.98 kB / 434.1 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.3231, allocations: 268.5 kB / 434.4 MB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.3235, allocations: 219.1 kB / 434.6 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.3235, allocations: 16.7 kB / 434.6 MB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-05/0.3236, allocations: 16.38 kB / 434.6 MB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009628/0.3246, allocations: 0.6595 MB / 435.3 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3246, allocations: 7.922 kB / 435.3 MB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.98e-05/0.3247, allocations: 8 kB / 435.3 MB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.3247, allocations: 8 kB / 435.3 MB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009549/0.3256, allocations: 0.5856 MB / 435.9 MB, free: 4.922 MB / 382.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.002358/0.328, allocations: 0.9067 MB / 436.8 MB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.3285, allocations: 229.1 kB / 437 MB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.3287, allocations: 187.8 kB / 437.2 MB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007363/0.3295, allocations: 119.9 kB / 437.3 MB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.3295, allocations: 42.5 kB / 437.3 MB, free: 3.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.784e-06/0.3295, allocations: 0 / 437.3 MB, free: 3.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002238/0.3318, allocations: 0.6091 MB / 437.9 MB, free: 2.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.3318, allocations: 85.06 kB / 438 MB, free: 2.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.332, allocations: 133.9 kB / 438.2 MB, free: 2.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.332, allocations: 25.7 kB / 438.2 MB, free: 2.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3322, allocations: 124.5 kB / 438.3 MB, free: 2.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.3323, allocations: 107.3 kB / 438.4 MB, free: 2.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.3324, allocations: 69.64 kB / 438.5 MB, free: 2.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3326, allocations: 326.8 kB / 438.8 MB, free: 1.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.333, allocations: 183.9 kB / 439 MB, free: 1.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/0.3335, allocations: 300 kB / 439.3 MB, free: 1.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009244/0.3344, allocations: 492.5 kB / 439.8 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3344, allocations: 0 / 439.8 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001125/0.3355, allocations: 0.5173 MB / 440.3 MB, free: 308 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3355, allocations: 8 kB / 440.3 MB, free: 300 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.3356, allocations: 4 kB / 440.3 MB, free: 296 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.3356, allocations: 8.344 kB / 440.3 MB, free: 288 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.3362, allocations: 87.83 kB / 440.4 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.3362, allocations: 8 kB / 440.4 MB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.3366, allocations: 35.77 kB / 440.4 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/0.3367, allocations: 19.98 kB / 440.4 MB, free: 136 kB / 382.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.0002257/0.3369, allocations: 149.8 kB / 440.6 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.337, allocations: 11.95 kB / 440.6 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.3381, allocations: 496.5 kB / 441.1 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.3382, allocations: 7.938 kB / 441.1 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3382, allocations: 0 / 441.1 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.3382, allocations: 3.984 kB / 441.1 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007795/0.3389, allocations: 357.9 kB / 441.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.339, allocations: 4 kB / 441.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.3395, allocations: 63.89 kB / 441.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.3395, allocations: 4 kB / 441.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.3396, allocations: 8 kB / 441.5 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3396, allocations: 0 / 441.5 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3396, allocations: 3.938 kB / 441.5 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.3408, allocations: 0.6799 MB / 442.2 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.3409, allocations: 27.77 kB / 442.2 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.341, allocations: 15.94 kB / 442.2 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005328/0.3415, allocations: 23.91 kB / 442.3 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.3416, allocations: 19.91 kB / 442.3 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/0.3416, allocations: 15.98 kB / 442.3 MB, free: 14.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.3417, allocations: 103.3 kB / 442.4 MB, free: 14.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3417, allocations: 0 / 442.4 MB, free: 14.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008851/0.3426, allocations: 159.6 kB / 442.6 MB, free: 13.95 MB / 398.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.001131/0.3437, allocations: 340.2 kB / 442.9 MB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009332/0.3447, allocations: 415.6 kB / 443.3 MB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.3447, allocations: 4 kB / 443.3 MB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004208/0.3451, allocations: 212.1 kB / 443.5 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000813/0.3459, allocations: 99.25 kB / 443.6 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.3473, allocations: 0.6944 MB / 444.3 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.3474, allocations: 119.6 kB / 444.4 MB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000488/0.3479, allocations: 117.8 kB / 444.5 MB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.3481, allocations: 28.48 kB / 444.6 MB, free: 11.9 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3481, allocations: 4 kB / 444.6 MB, free: 11.89 MB / 398.1 MB Notification: Performance of Templates: time 0.01528/0.3633, allocations: 8.271 MB / 452.8 MB, free: 3.629 MB / 398.1 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/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: 4.855773322284222]