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.002378/0.002378, allocations: 91.66 kB / 21.73 MB, free: 2.676 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.001921/0.001921, allocations: 163.5 kB / 25.03 MB, free: 8.949 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 1.33/1.33, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 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.523e-06/1.523e-06, allocations: 3.938 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.711e-05, allocations: 2.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3677/0.3678, allocations: 143.6 MB / 394 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003967/0.3717, allocations: 2.135 MB / 396.1 MB, free: 9.922 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.764e-05/0.3718, allocations: 6.906 kB / 396.1 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.3723, allocations: 53.02 kB / 396.2 MB, free: 9.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.3742, allocations: 0.6428 MB / 396.8 MB, free: 9.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.3745, allocations: 106.4 kB / 396.9 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.3748, allocations: 266.8 kB / 397.2 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.425e-05/0.3748, allocations: 6.234 kB / 397.2 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000256/0.3751, allocations: 162.6 kB / 397.4 MB, free: 9.781 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.3752, allocations: 86.84 kB / 397.5 MB, free: 9.773 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.3753, allocations: 11.31 kB / 397.5 MB, free: 9.773 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.3764, allocations: 0.7589 MB / 398.2 MB, free: 9.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.3765, allocations: 86.17 kB / 398.3 MB, free: 9.672 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.05e-05/0.3766, allocations: 75.94 kB / 398.4 MB, free: 9.664 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008143/0.3774, allocations: 0.7019 MB / 399.1 MB, free: 9.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.3774, allocations: 0 / 399.1 MB, free: 9.426 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3774, allocations: 0 / 399.1 MB, free: 9.426 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.3774, allocations: 0 / 399.1 MB, free: 9.426 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.0006074/0.378, allocations: 0.5404 MB / 399.6 MB, free: 8.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3781, allocations: 12.39 kB / 399.6 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.38, allocations: 330.2 kB / 400 MB, free: 8.828 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.3804, allocations: 209.9 kB / 400.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3804, allocations: 10.02 kB / 400.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/0.3805, allocations: 20.97 kB / 400.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.3811, allocations: 0.5307 MB / 400.7 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3811, allocations: 3.938 kB / 400.7 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.506e-05/0.3812, allocations: 5.969 kB / 400.7 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.3812, allocations: 6.344 kB / 400.7 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.3818, allocations: 358.6 kB / 401.1 MB, free: 8.262 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.001906/0.3837, allocations: 0.9297 MB / 402 MB, free: 7.703 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.384, allocations: 190.4 kB / 402.2 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3841, allocations: 120.5 kB / 402.3 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000639/0.3848, allocations: 123.7 kB / 402.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.3848, allocations: 40.55 kB / 402.5 MB, free: 7.492 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.3848, allocations: 0 / 402.5 MB, free: 7.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001744/0.3865, allocations: 491.1 kB / 403 MB, free: 7.367 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.3866, allocations: 91.94 kB / 403.1 MB, free: 7.262 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.3866, allocations: 188 kB / 403.2 MB, free: 7.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.3867, allocations: 29.2 kB / 403.3 MB, free: 7.059 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.3867, allocations: 163.6 kB / 403.4 MB, free: 6.906 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.3868, allocations: 116.3 kB / 403.5 MB, free: 6.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.3869, allocations: 76.8 kB / 403.6 MB, free: 6.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.726e-05/0.387, allocations: 0.5023 MB / 404.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.3872, allocations: 132.7 kB / 404.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.3875, allocations: 281.5 kB / 404.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.388, allocations: 437.3 kB / 404.9 MB, free: 5.875 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.388, allocations: 4 kB / 405 MB, free: 5.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007302/0.3887, allocations: 445.2 kB / 405.4 MB, free: 5.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3887, allocations: 6.312 kB / 405.4 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3888, allocations: 5.219 kB / 405.4 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3888, allocations: 9.844 kB / 405.4 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/0.3893, allocations: 73.3 kB / 405.5 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.3893, allocations: 9.625 kB / 405.5 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.3897, allocations: 33.98 kB / 405.5 MB, free: 5.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.3897, allocations: 21.88 kB / 405.5 MB, free: 5.727 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 0.0001074/0.3898, allocations: 182.4 kB / 405.7 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.39, allocations: 26.16 kB / 405.7 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007804/0.3907, allocations: 426.2 kB / 406.2 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3907, allocations: 9.594 kB / 406.2 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3907, allocations: 0 / 406.2 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3907, allocations: 0 / 406.2 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.3913, allocations: 334 kB / 406.5 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3913, allocations: 2.656 kB / 406.5 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.3918, allocations: 59.05 kB / 406.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3918, allocations: 6.938 kB / 406.6 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.3918, allocations: 9.469 kB / 406.6 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.3918, allocations: 3.984 kB / 406.6 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3918, allocations: 3.938 kB / 406.6 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008638/0.3927, allocations: 0.7179 MB / 407.3 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.3927, allocations: 13.42 kB / 407.3 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.3928, allocations: 9.688 kB / 407.3 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/0.3933, allocations: 23.94 kB / 407.3 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.3933, allocations: 28.11 kB / 407.4 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.3933, allocations: 16.36 kB / 407.4 MB, free: 4.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.306e-05/0.3934, allocations: 142.5 kB / 407.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3934, allocations: 0 / 407.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006107/0.394, allocations: 163.5 kB / 407.7 MB, free: 4.633 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.0007045/0.3947, allocations: 330.4 kB / 408 MB, free: 4.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006048/0.3953, allocations: 343.9 kB / 408.3 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3953, allocations: 8.688 kB / 408.4 MB, free: 4.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.3956, allocations: 175.7 kB / 408.5 MB, free: 4.359 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/0.3963, allocations: 108.5 kB / 408.6 MB, free: 4.316 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.3973, allocations: 0.6798 MB / 409.3 MB, free: 3.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.782e-05/0.3974, allocations: 127.4 kB / 409.4 MB, free: 3.723 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004097/0.3978, allocations: 105.5 kB / 409.5 MB, free: 3.652 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.3979, allocations: 32.45 kB / 409.6 MB, free: 3.637 MB / 330.7 MB Notification: Performance of SimCode: time 4.6e-07/0.3979, allocations: 0 / 409.6 MB, free: 3.637 MB / 330.7 MB Notification: Performance of Templates: time 0.01287/0.4108, allocations: 8.448 MB / 418 MB, free: 15.31 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","/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.975630073924549]