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.001319/0.001319, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001372/0.001372, allocations: 170.2 kB / 25.69 MB, free: 8.453 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.8625/0.8625, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.413e-06/1.413e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.267e-06/1.068e-05, allocations: 2.312 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2276/0.2276, allocations: 143.3 MB / 394.9 MB, free: 9.266 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.2295, allocations: 2.141 MB / 397 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.2295, allocations: 0 / 397 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.2298, allocations: 52.41 kB / 397 MB, free: 9.113 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.2309, allocations: 0.6516 MB / 397.7 MB, free: 9.023 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.2311, allocations: 102.6 kB / 397.8 MB, free: 9.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.2314, allocations: 260.3 kB / 398.1 MB, free: 9.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.2314, allocations: 5.562 kB / 398.1 MB, free: 9.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.2316, allocations: 171.2 kB / 398.2 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.2318, allocations: 84.14 kB / 398.3 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.2318, allocations: 14.69 kB / 398.3 MB, free: 9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000886/0.2327, allocations: 0.7333 MB / 399.1 MB, free: 8.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.426e-05/0.2327, allocations: 87.78 kB / 399.1 MB, free: 8.922 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.2328, allocations: 80.5 kB / 399.2 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006763/0.2335, allocations: 0.6679 MB / 399.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2335, allocations: 0 / 399.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2335, allocations: 0 / 399.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.2335, allocations: 0 / 399.9 MB, free: 8.75 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.0004628/0.234, allocations: 414.9 kB / 400.3 MB, free: 8.418 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.234, allocations: 12.42 kB / 400.3 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.2353, allocations: 305.9 kB / 400.6 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.2355, allocations: 214.3 kB / 400.8 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2355, allocations: 12.58 kB / 400.8 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.017e-05/0.2356, allocations: 17.91 kB / 400.8 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.236, allocations: 453.4 kB / 401.3 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.236, allocations: 3.938 kB / 401.3 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.2361, allocations: 9.062 kB / 401.3 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.2361, allocations: 8.844 kB / 401.3 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/0.2364, allocations: 209.6 kB / 401.5 MB, free: 7.746 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.00116/0.2376, allocations: 0.6829 MB / 402.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2378, allocations: 171.5 kB / 402.4 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.656e-05/0.2378, allocations: 74.7 kB / 402.4 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/0.2382, allocations: 105.6 kB / 402.5 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.2382, allocations: 40.84 kB / 402.6 MB, free: 7.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.2382, allocations: 0 / 402.6 MB, free: 7.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009414/0.2391, allocations: 358.4 kB / 402.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.2392, allocations: 82.89 kB / 403 MB, free: 6.949 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.386e-05/0.2392, allocations: 125 kB / 403.1 MB, free: 6.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.2393, allocations: 31.7 kB / 403.2 MB, free: 6.805 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.2393, allocations: 112.3 kB / 403.3 MB, free: 6.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.2393, allocations: 115.7 kB / 403.4 MB, free: 6.617 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-05/0.2394, allocations: 61.88 kB / 403.4 MB, free: 6.594 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.293e-05/0.2395, allocations: 329.9 kB / 403.8 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.601e-05/0.2396, allocations: 65.31 kB / 403.8 MB, free: 6.266 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.2397, allocations: 180.3 kB / 404 MB, free: 6.125 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.24, allocations: 278.1 kB / 404.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.24, allocations: 0 / 404.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003565/0.2403, allocations: 287.4 kB / 404.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2403, allocations: 5.938 kB / 404.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2403, allocations: 2.844 kB / 404.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2403, allocations: 5.188 kB / 404.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.2406, allocations: 73.16 kB / 404.6 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2406, allocations: 9.188 kB / 404.7 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.2408, allocations: 31.89 kB / 404.7 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.2409, allocations: 14.16 kB / 404.7 MB, free: 5.816 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.732e-05/0.241, allocations: 131.8 kB / 404.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.795e-05/0.241, allocations: 25.5 kB / 404.9 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.2414, allocations: 274.3 kB / 405.1 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2414, allocations: 5.25 kB / 405.1 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.2414, allocations: 4 kB / 405.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2414, allocations: 7.922 kB / 405.1 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.2418, allocations: 191.3 kB / 405.3 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2418, allocations: 3.984 kB / 405.3 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.2421, allocations: 53.72 kB / 405.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2421, allocations: 2.969 kB / 405.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.2421, allocations: 9.75 kB / 405.4 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.2421, allocations: 5.688 kB / 405.4 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2421, allocations: 0 / 405.4 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.2425, allocations: 0.5247 MB / 405.9 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.2426, allocations: 13.86 kB / 405.9 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.2426, allocations: 5.719 kB / 405.9 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.2429, allocations: 23.23 kB / 406 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.2429, allocations: 21.25 kB / 406 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.2429, allocations: 19.45 kB / 406 MB, free: 5.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.739e-05/0.2429, allocations: 14.77 kB / 406 MB, free: 5.102 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2429, allocations: 0 / 406 MB, free: 5.102 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004843/0.2434, allocations: 158.4 kB / 406.2 MB, free: 5.078 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.0005684/0.244, allocations: 316.1 kB / 406.5 MB, free: 4.918 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.2443, allocations: 219.8 kB / 406.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2443, allocations: 4 kB / 406.7 MB, free: 4.871 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.2444, allocations: 114.9 kB / 406.8 MB, free: 4.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.2449, allocations: 112.5 kB / 406.9 MB, free: 4.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000875/0.2458, allocations: 0.5241 MB / 407.4 MB, free: 4.445 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.952e-05/0.2458, allocations: 89.72 kB / 407.5 MB, free: 4.363 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003119/0.2461, allocations: 80.25 kB / 407.6 MB, free: 4.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.2465, allocations: 153.1 kB / 407.8 MB, free: 4.215 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2465, allocations: 0 / 407.8 MB, free: 4.215 MB / 330.7 MB Notification: Performance of Templates: time 0.01108/0.2575, allocations: 9.79 MB / 417.6 MB, free: 15.14 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.076988643966615]