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.001919/0.001919, allocations: 103.6 kB / 21.18 MB, free: 332 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.002452/0.002452, allocations: 210.9 kB / 24.47 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.433/1.433, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.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.001764/0.001764, allocations: 55.92 kB / 347.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2411, allocations: 49.16 MB / 396.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.1695/0.4106, allocations: 129.9 MB / 0.5144 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002818/0.4134, allocations: 1.885 MB / 0.5162 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.4135, allocations: 4 kB / 0.5162 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.4138, allocations: 51.69 kB / 0.5162 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.4156, allocations: 0.6219 MB / 0.5169 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.416, allocations: 111.7 kB / 0.517 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.4164, allocations: 263 kB / 0.5172 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.4164, allocations: 8 kB / 0.5172 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.4167, allocations: 139.4 kB / 0.5174 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.417, allocations: 91.69 kB / 0.5174 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.417, allocations: 8 kB / 0.5174 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.4186, allocations: 0.7402 MB / 0.5182 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.4188, allocations: 83.77 kB / 0.5183 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.4189, allocations: 79.72 kB / 0.5183 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.4201, allocations: 0.6535 MB / 0.519 GB, free: 12.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4201, allocations: 0 / 0.519 GB, free: 12.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4201, allocations: 4 kB / 0.519 GB, free: 12.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.4201, allocations: 0 / 0.519 GB, free: 12.15 MB / 446.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.0008833/0.421, allocations: 437.4 kB / 0.5194 GB, free: 11.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4211, allocations: 11.98 kB / 0.5194 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.4231, allocations: 268.5 kB / 0.5197 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005285/0.4236, allocations: 222.3 kB / 0.5199 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.4236, allocations: 12.7 kB / 0.5199 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/0.4237, allocations: 27.88 kB / 0.5199 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/0.4247, allocations: 0.6512 MB / 0.5205 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4247, allocations: 0 / 0.5205 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.311e-05/0.4247, allocations: 8 kB / 0.5205 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.4248, allocations: 8 kB / 0.5206 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009624/0.4257, allocations: 0.5855 MB / 0.5211 GB, free: 9.84 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.002434/0.4282, allocations: 0.9176 MB / 0.522 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.4286, allocations: 229.1 kB / 0.5222 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.4289, allocations: 185.6 kB / 0.5224 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000734/0.4296, allocations: 123.9 kB / 0.5225 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.4296, allocations: 46.44 kB / 0.5226 GB, free: 8.281 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.4297, allocations: 0 / 0.5226 GB, free: 8.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002138/0.4318, allocations: 0.5953 MB / 0.5232 GB, free: 7.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.4319, allocations: 85.09 kB / 0.5232 GB, free: 7.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.432, allocations: 129.8 kB / 0.5234 GB, free: 7.441 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.432, allocations: 33.7 kB / 0.5234 GB, free: 7.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.4321, allocations: 124.5 kB / 0.5235 GB, free: 7.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.4322, allocations: 103.1 kB / 0.5236 GB, free: 7.176 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.4324, allocations: 69.69 kB / 0.5237 GB, free: 7.102 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4325, allocations: 322.8 kB / 0.524 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.4329, allocations: 183.9 kB / 0.5242 GB, free: 6.598 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.4334, allocations: 288.5 kB / 0.5244 GB, free: 6.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009275/0.4343, allocations: 497.5 kB / 0.5249 GB, free: 5.738 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4343, allocations: 4 kB / 0.5249 GB, free: 5.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001087/0.4354, allocations: 0.5244 MB / 0.5254 GB, free: 5.203 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4354, allocations: 8 kB / 0.5254 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.4354, allocations: 4.406 kB / 0.5254 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4354, allocations: 8 kB / 0.5255 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.436, allocations: 79.89 kB / 0.5255 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.436, allocations: 8 kB / 0.5255 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.4364, allocations: 39.7 kB / 0.5256 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.4365, allocations: 19.98 kB / 0.5256 GB, free: 5.039 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.0001774/0.4367, allocations: 145.8 kB / 0.5257 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.4368, allocations: 19.84 kB / 0.5258 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.4378, allocations: 493.9 kB / 0.5262 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.4378, allocations: 4 kB / 0.5262 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4378, allocations: 0 / 0.5262 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4378, allocations: 7.984 kB / 0.5262 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000823/0.4387, allocations: 345.8 kB / 0.5266 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.4387, allocations: 4 kB / 0.5266 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.4392, allocations: 59.89 kB / 0.5266 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.4392, allocations: 7.938 kB / 0.5266 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.4393, allocations: 8 kB / 0.5266 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.4393, allocations: 7.984 kB / 0.5266 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4393, allocations: 0 / 0.5266 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.4405, allocations: 0.6877 MB / 0.5273 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.4405, allocations: 23.78 kB / 0.5273 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.4406, allocations: 8 kB / 0.5273 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.4411, allocations: 19.97 kB / 0.5274 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.4412, allocations: 19.97 kB / 0.5274 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.4412, allocations: 15.98 kB / 0.5274 GB, free: 3.121 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.759e-05/0.4413, allocations: 99.27 kB / 0.5275 GB, free: 3.023 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4413, allocations: 0 / 0.5275 GB, free: 3.023 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007023/0.442, allocations: 155.7 kB / 0.5276 GB, free: 2.871 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.000964/0.443, allocations: 342.6 kB / 0.528 GB, free: 2.523 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008804/0.4438, allocations: 431.7 kB / 0.5284 GB, free: 2.102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4438, allocations: 0 / 0.5284 GB, free: 2.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.4442, allocations: 207.8 kB / 0.5286 GB, free: 1.898 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00076/0.445, allocations: 90.53 kB / 0.5287 GB, free: 1.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.4466, allocations: 0.885 MB / 0.5295 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.4467, allocations: 123.5 kB / 0.5297 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004947/0.4472, allocations: 113.8 kB / 0.5298 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.4474, allocations: 31.42 kB / 0.5298 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4474, allocations: 0 / 0.5298 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of Templates: time 0.01571/0.4631, allocations: 8.564 MB / 0.5382 GB, free: 8.031 MB / 462.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: 5.013498658314347]