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.0009228/0.0009228, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001459/0.001459, allocations: 170.1 kB / 25.33 MB, free: 8.598 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.8437/0.8437, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.683e-06/1.683e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.056e-05, allocations: 2.312 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3153/0.3153, allocations: 144 MB / 395 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3172, allocations: 2.139 MB / 397.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.936e-05/0.3172, allocations: 0 / 397.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.3176, allocations: 56.28 kB / 397.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.3191, allocations: 0.637 MB / 397.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.3194, allocations: 115.4 kB / 397.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.3197, allocations: 257.2 kB / 398.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.3198, allocations: 8.344 kB / 398.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.3201, allocations: 172.2 kB / 398.4 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.3203, allocations: 88.53 kB / 398.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.3204, allocations: 9.062 kB / 398.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.3221, allocations: 0.7438 MB / 399.2 MB, free: 9.906 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.3223, allocations: 88.73 kB / 399.3 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.3224, allocations: 75.28 kB / 399.4 MB, free: 9.863 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.3238, allocations: 0.6774 MB / 400 MB, free: 9.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3238, allocations: 0 / 400 MB, free: 9.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3238, allocations: 0 / 400 MB, free: 9.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3238, allocations: 0 / 400 MB, free: 9.637 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.0008421/0.3247, allocations: 0.5286 MB / 400.6 MB, free: 9.176 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.3247, allocations: 15.95 kB / 400.6 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.3266, allocations: 331.1 kB / 400.9 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.3271, allocations: 217.7 kB / 401.1 MB, free: 8.883 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3271, allocations: 9.578 kB / 401.1 MB, free: 8.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.3272, allocations: 25.59 kB / 401.2 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007233/0.3279, allocations: 0.503 MB / 401.7 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.328, allocations: 3.938 kB / 401.7 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.662e-05/0.328, allocations: 3.25 kB / 401.7 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/0.328, allocations: 12.34 kB / 401.7 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006928/0.3287, allocations: 297.9 kB / 402 MB, free: 8.477 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.002044/0.3308, allocations: 0.9035 MB / 402.9 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.331, allocations: 182.4 kB / 403.1 MB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.3312, allocations: 106.5 kB / 403.2 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/0.3316, allocations: 120.3 kB / 403.3 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3316, allocations: 39.27 kB / 403.3 MB, free: 7.715 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 3.036e-06/0.3316, allocations: 0 / 403.3 MB, free: 7.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.00105/0.3327, allocations: 462.2 kB / 403.8 MB, free: 7.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.3327, allocations: 80.61 kB / 403.8 MB, free: 7.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.3328, allocations: 192 kB / 404 MB, free: 7.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.3328, allocations: 32.39 kB / 404.1 MB, free: 7.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.3329, allocations: 163.2 kB / 404.2 MB, free: 7.121 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/0.3329, allocations: 112.7 kB / 404.3 MB, free: 7.039 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.333, allocations: 72.22 kB / 404.4 MB, free: 7.008 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.3331, allocations: 0.4969 MB / 404.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3332, allocations: 96.64 kB / 405 MB, free: 6.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.3334, allocations: 261.9 kB / 405.3 MB, free: 6.293 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.3338, allocations: 372.3 kB / 405.6 MB, free: 6.094 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3338, allocations: 2.688 kB / 405.6 MB, free: 6.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004812/0.3343, allocations: 379.7 kB / 406 MB, free: 6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3343, allocations: 9.234 kB / 406 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3343, allocations: 5.781 kB / 406 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.3343, allocations: 13.97 kB / 406 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.3346, allocations: 80.14 kB / 406.1 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3346, allocations: 6.094 kB / 406.1 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.3348, allocations: 38.11 kB / 406.1 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.3348, allocations: 14.47 kB / 406.2 MB, free: 5.949 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 9.636e-05/0.3349, allocations: 179.6 kB / 406.3 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-05/0.335, allocations: 36.33 kB / 406.4 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/0.3355, allocations: 369.3 kB / 406.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3355, allocations: 7 kB / 406.7 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3355, allocations: 0 / 406.7 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3355, allocations: 2.688 kB / 406.7 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.3359, allocations: 316.4 kB / 407 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3359, allocations: 4.812 kB / 407 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.3362, allocations: 55.05 kB / 407.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3362, allocations: 6.938 kB / 407.1 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.3362, allocations: 13.64 kB / 407.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3362, allocations: 3.062 kB / 407.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3362, allocations: 3.938 kB / 407.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.3368, allocations: 0.6594 MB / 407.8 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.3368, allocations: 17.25 kB / 407.8 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.3368, allocations: 6.594 kB / 407.8 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.3371, allocations: 26.88 kB / 407.8 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.3371, allocations: 16.78 kB / 407.9 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.3371, allocations: 22.89 kB / 407.9 MB, free: 5.012 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.214e-05/0.3372, allocations: 138.9 kB / 408 MB, free: 4.887 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3372, allocations: 0 / 408 MB, free: 4.887 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006236/0.3378, allocations: 164.3 kB / 408.2 MB, free: 4.859 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.0006591/0.3385, allocations: 339.4 kB / 408.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004112/0.3389, allocations: 289.6 kB / 408.8 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3389, allocations: 192 / 408.8 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.339, allocations: 163.1 kB / 408.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.3395, allocations: 102.5 kB / 409 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.3408, allocations: 0.6719 MB / 409.7 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.445e-05/0.3409, allocations: 91.39 kB / 409.8 MB, free: 3.949 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002928/0.3411, allocations: 101.5 kB / 409.9 MB, free: 3.883 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3413, allocations: 28.5 kB / 409.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.3413, allocations: 0 / 409.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of Templates: time 0.009193/0.3505, allocations: 8.448 MB / 418.4 MB, free: 15.53 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.3604269861243665]