Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.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.001231/0.001231, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00103/0.00103, allocations: 168.1 kB / 24.99 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.069/1.069, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3014/0.3014, allocations: 32.8 MB / 294.6 MB, free: 1.305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 376 MB, free: 5.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.388e-05, allocations: 2.312 kB / 376 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3866/0.3867, allocations: 145.3 MB / 0.5091 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.3895, allocations: 2.229 MB / 0.5113 GB, free: 19.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.3897, allocations: 2.156 kB / 0.5113 GB, free: 19.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.3901, allocations: 53.61 kB / 0.5113 GB, free: 19.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.3921, allocations: 0.6697 MB / 0.512 GB, free: 18.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.3924, allocations: 106.2 kB / 0.5121 GB, free: 18.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003903/0.3928, allocations: 258.5 kB / 0.5123 GB, free: 18.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.086e-05/0.3929, allocations: 5.078 kB / 0.5123 GB, free: 18.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/0.3933, allocations: 185.2 kB / 0.5125 GB, free: 18.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.3935, allocations: 94.48 kB / 0.5126 GB, free: 18.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.3935, allocations: 8.312 kB / 0.5126 GB, free: 18.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.3953, allocations: 0.7639 MB / 0.5133 GB, free: 18.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.3954, allocations: 89.39 kB / 0.5134 GB, free: 18.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.3955, allocations: 76.27 kB / 0.5135 GB, free: 18.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.3968, allocations: 0.6837 MB / 0.5142 GB, free: 17.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3968, allocations: 2.438 kB / 0.5142 GB, free: 17.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3968, allocations: 4.656 kB / 0.5142 GB, free: 17.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3969, allocations: 0 / 0.5142 GB, free: 17.9 MB / 410.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.0007833/0.3976, allocations: 0.5313 MB / 0.5147 GB, free: 17.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.3977, allocations: 11.84 kB / 0.5147 GB, free: 17.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.3991, allocations: 332.5 kB / 0.515 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.3994, allocations: 222.9 kB / 0.5152 GB, free: 17.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3994, allocations: 9.516 kB / 0.5152 GB, free: 17.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.714e-05/0.3995, allocations: 23.41 kB / 0.5153 GB, free: 17.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.4, allocations: 0.5062 MB / 0.5158 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4, allocations: 0 / 0.5158 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.4, allocations: 14.66 kB / 0.5158 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.4001, allocations: 8.688 kB / 0.5158 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.4004, allocations: 291.7 kB / 0.5161 GB, free: 16.87 MB / 410.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.001332/0.4018, allocations: 0.8967 MB / 0.5169 GB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.402, allocations: 174.6 kB / 0.5171 GB, free: 16.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.4022, allocations: 111.9 kB / 0.5172 GB, free: 16.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004734/0.4027, allocations: 151.8 kB / 0.5173 GB, free: 16.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.4027, allocations: 40.67 kB / 0.5174 GB, free: 16.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.4027, allocations: 0 / 0.5174 GB, free: 16.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001073/0.4038, allocations: 466.8 kB / 0.5178 GB, free: 15.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.4038, allocations: 84.02 kB / 0.5179 GB, free: 15.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.4039, allocations: 188.5 kB / 0.5181 GB, free: 15.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.4039, allocations: 32.7 kB / 0.5181 GB, free: 15.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.404, allocations: 159.8 kB / 0.5183 GB, free: 15.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.4041, allocations: 117.7 kB / 0.5184 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/0.4042, allocations: 76.95 kB / 0.5185 GB, free: 15.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4043, allocations: 0.4986 MB / 0.5189 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4044, allocations: 97.77 kB / 0.519 GB, free: 14.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.4046, allocations: 259.2 kB / 0.5193 GB, free: 14.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.405, allocations: 381.1 kB / 0.5196 GB, free: 14.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.405, allocations: 3.25 kB / 0.5197 GB, free: 14.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004822/0.4055, allocations: 383.3 kB / 0.52 GB, free: 14.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4055, allocations: 9.875 kB / 0.52 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4055, allocations: 7.469 kB / 0.52 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4055, allocations: 9.844 kB / 0.52 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.4058, allocations: 79.86 kB / 0.5201 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.4058, allocations: 11.5 kB / 0.5201 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.406, allocations: 31.84 kB / 0.5202 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.406, allocations: 20.72 kB / 0.5202 GB, free: 14.21 MB / 410.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.706e-05/0.4061, allocations: 178.5 kB / 0.5204 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.832e-05/0.4062, allocations: 29.81 kB / 0.5204 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.4067, allocations: 367.3 kB / 0.5207 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4067, allocations: 6.969 kB / 0.5207 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4067, allocations: 0 / 0.5207 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.4067, allocations: 2.812 kB / 0.5207 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.4071, allocations: 315 kB / 0.521 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4071, allocations: 0 / 0.521 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.4074, allocations: 60.17 kB / 0.5211 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4074, allocations: 2.562 kB / 0.5211 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.4074, allocations: 9.453 kB / 0.5211 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4074, allocations: 6.875 kB / 0.5211 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4074, allocations: 2.484 kB / 0.5211 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.408, allocations: 0.6619 MB / 0.5218 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.408, allocations: 20.34 kB / 0.5218 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.4081, allocations: 21.48 kB / 0.5218 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.4083, allocations: 19.36 kB / 0.5218 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.4084, allocations: 21.38 kB / 0.5218 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.4084, allocations: 14.88 kB / 0.5219 GB, free: 13.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.192e-05/0.4084, allocations: 136.5 kB / 0.522 GB, free: 13.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4084, allocations: 0 / 0.522 GB, free: 13.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006205/0.409, allocations: 163.5 kB / 0.5221 GB, free: 13.06 MB / 410.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.0006407/0.4097, allocations: 352.6 kB / 0.5225 GB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004232/0.4101, allocations: 298.8 kB / 0.5228 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4101, allocations: 0 / 0.5228 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.4103, allocations: 150 kB / 0.5229 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.4107, allocations: 101.9 kB / 0.523 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.4119, allocations: 0.674 MB / 0.5237 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.233e-05/0.412, allocations: 88.42 kB / 0.5237 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.4122, allocations: 104.3 kB / 0.5238 GB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.4123, allocations: 31.16 kB / 0.5239 GB, free: 12.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4123, allocations: 0 / 0.5239 GB, free: 12.18 MB / 410.7 MB Notification: Performance of Templates: time 0.01025/0.4226, allocations: 8.349 MB / 0.532 GB, free: 10.37 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/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.7892229659482837]