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.000968/0.000968, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001017/0.001017, allocations: 161.3 kB / 25.6 MB, free: 8.895 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.9305/0.9305, allocations: 158.6 MB / 187.5 MB, free: 2.809 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.653e-06/1.653e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.528e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3031/0.3032, allocations: 141.2 MB / 392.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.3051, allocations: 2.11 MB / 394.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.3051, allocations: 0 / 394.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.3055, allocations: 54.34 kB / 394.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.3067, allocations: 0.6418 MB / 395.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.3069, allocations: 111.6 kB / 395.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.3072, allocations: 260.4 kB / 395.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.3072, allocations: 6.812 kB / 395.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.3075, allocations: 170.3 kB / 396 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.3076, allocations: 84.88 kB / 396.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.3077, allocations: 8.5 kB / 396.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000932/0.3086, allocations: 0.7584 MB / 396.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.877e-05/0.3087, allocations: 83.92 kB / 397 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.3088, allocations: 81.44 kB / 397 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007556/0.3095, allocations: 0.6655 MB / 397.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3095, allocations: 0 / 397.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3095, allocations: 2.938 kB / 397.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.3095, allocations: 0 / 397.7 MB, free: 10.24 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.0004992/0.31, allocations: 0.5338 MB / 398.2 MB, free: 9.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3101, allocations: 14.64 kB / 398.3 MB, free: 9.793 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009418/0.311, allocations: 293.3 kB / 398.5 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.3112, allocations: 210.4 kB / 398.7 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3112, allocations: 15.98 kB / 398.8 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.3113, allocations: 17.16 kB / 398.8 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.3116, allocations: 481.4 kB / 399.2 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3116, allocations: 3.938 kB / 399.2 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.3117, allocations: 9.594 kB / 399.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.3117, allocations: 12.38 kB / 399.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.312, allocations: 248.7 kB / 399.5 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.0009871/0.3129, allocations: 0.8599 MB / 400.4 MB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3131, allocations: 160 kB / 400.5 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.57e-05/0.3132, allocations: 98.08 kB / 400.6 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/0.3135, allocations: 111.5 kB / 400.7 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.3135, allocations: 39.14 kB / 400.8 MB, free: 8.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.933e-06/0.3135, allocations: 0 / 400.8 MB, free: 8.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008232/0.3143, allocations: 412 kB / 401.2 MB, free: 8.262 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.3143, allocations: 88.55 kB / 401.3 MB, free: 8.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.572e-05/0.3144, allocations: 182.8 kB / 401.4 MB, free: 7.988 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3144, allocations: 31.64 kB / 401.5 MB, free: 7.957 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.3144, allocations: 159.6 kB / 401.6 MB, free: 7.809 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.3145, allocations: 117.5 kB / 401.7 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.3146, allocations: 71.48 kB / 401.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.3146, allocations: 0.5014 MB / 402.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.3147, allocations: 79.16 kB / 402.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3148, allocations: 229.7 kB / 402.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.3151, allocations: 334.3 kB / 402.9 MB, free: 6.777 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3151, allocations: 0 / 402.9 MB, free: 6.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003729/0.3155, allocations: 338.1 kB / 403.3 MB, free: 6.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3155, allocations: 9.406 kB / 403.3 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3155, allocations: 5.781 kB / 403.3 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3155, allocations: 9.188 kB / 403.3 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.3157, allocations: 85.97 kB / 403.4 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3158, allocations: 9.594 kB / 403.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.3159, allocations: 27.22 kB / 403.4 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.3159, allocations: 14.8 kB / 403.4 MB, free: 6.633 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 8.758e-05/0.316, allocations: 183.2 kB / 403.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.3161, allocations: 20.64 kB / 403.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.3164, allocations: 332.8 kB / 404 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3164, allocations: 5.656 kB / 404 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.3164, allocations: 7.875 kB / 404 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3164, allocations: 0 / 404 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.3167, allocations: 298.7 kB / 404.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3167, allocations: 0 / 404.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.317, allocations: 52.16 kB / 404.3 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.317, allocations: 2.844 kB / 404.3 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.317, allocations: 9.953 kB / 404.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.317, allocations: 2.844 kB / 404.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.317, allocations: 3.938 kB / 404.3 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.3174, allocations: 0.6216 MB / 404.9 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.3174, allocations: 17.66 kB / 405 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.3174, allocations: 9.906 kB / 405 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.3176, allocations: 16.78 kB / 405 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.3176, allocations: 23.53 kB / 405 MB, free: 5.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.3177, allocations: 19.92 kB / 405 MB, free: 5.723 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.188e-05/0.3177, allocations: 131.3 kB / 405.2 MB, free: 5.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3177, allocations: 0 / 405.2 MB, free: 5.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000398/0.3181, allocations: 161 kB / 405.3 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.0004864/0.3186, allocations: 345.7 kB / 405.7 MB, free: 5.395 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.3188, allocations: 254.4 kB / 405.9 MB, free: 5.332 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3188, allocations: 0 / 405.9 MB, free: 5.332 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3189, allocations: 133 kB / 406 MB, free: 5.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.3193, allocations: 108 kB / 406.1 MB, free: 5.254 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.3202, allocations: 0.6673 MB / 406.8 MB, free: 4.754 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.579e-05/0.3202, allocations: 96.31 kB / 406.9 MB, free: 4.668 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002392/0.3205, allocations: 71.8 kB / 407 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.3208, allocations: 186.4 kB / 407.2 MB, free: 4.516 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3208, allocations: 4 kB / 407.2 MB, free: 4.512 MB / 330.7 MB Notification: Performance of Templates: time 0.009738/0.3305, allocations: 9.833 MB / 417 MB, free: 15.38 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.1895712772384286]