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.002406/0.002406, allocations: 91.62 kB / 20.96 MB, free: 3.461 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.0028/0.0028, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.665/1.665, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3925/0.3925, allocations: 32.81 MB / 293.9 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|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.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.675e-05, allocations: 6.312 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4709/0.471, allocations: 145.3 MB / 0.5083 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.474, allocations: 2.231 MB / 0.5105 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.891e-05/0.4741, allocations: 0 / 0.5105 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.4746, allocations: 54.41 kB / 0.5105 GB, free: 19.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.4766, allocations: 0.6684 MB / 0.5112 GB, free: 18.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.477, allocations: 105.8 kB / 0.5113 GB, free: 18.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.4774, allocations: 264.6 kB / 0.5116 GB, free: 18.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.4775, allocations: 7.672 kB / 0.5116 GB, free: 18.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003852/0.4778, allocations: 179.5 kB / 0.5117 GB, free: 18.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.4781, allocations: 93.08 kB / 0.5118 GB, free: 18.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.4781, allocations: 7.938 kB / 0.5118 GB, free: 18.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.48, allocations: 0.7717 MB / 0.5126 GB, free: 18.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.4801, allocations: 84.53 kB / 0.5127 GB, free: 18.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.4803, allocations: 76.06 kB / 0.5127 GB, free: 18.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.4817, allocations: 0.7202 MB / 0.5134 GB, free: 17.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4817, allocations: 0 / 0.5134 GB, free: 17.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4817, allocations: 3.125 kB / 0.5134 GB, free: 17.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.4817, allocations: 0 / 0.5134 GB, free: 17.96 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.0008671/0.4826, allocations: 0.5348 MB / 0.514 GB, free: 17.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.4826, allocations: 12.09 kB / 0.514 GB, free: 17.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.4847, allocations: 338 kB / 0.5143 GB, free: 17.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.4852, allocations: 218 kB / 0.5145 GB, free: 17.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.4852, allocations: 11.14 kB / 0.5145 GB, free: 17.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.373e-05/0.4853, allocations: 23.53 kB / 0.5145 GB, free: 17.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.4861, allocations: 0.5198 MB / 0.515 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4861, allocations: 0 / 0.515 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.4861, allocations: 11.47 kB / 0.5151 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.4862, allocations: 10.2 kB / 0.5151 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006676/0.4868, allocations: 359.5 kB / 0.5154 GB, free: 16.89 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.002077/0.4889, allocations: 0.9204 MB / 0.5163 GB, free: 16.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.4892, allocations: 188.4 kB / 0.5165 GB, free: 16.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.4894, allocations: 119 kB / 0.5166 GB, free: 16.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008195/0.4902, allocations: 152 kB / 0.5167 GB, free: 16.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.4903, allocations: 44.36 kB / 0.5168 GB, free: 16.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.393e-06/0.4903, allocations: 0 / 0.5168 GB, free: 16.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.00182/0.4921, allocations: 494.5 kB / 0.5173 GB, free: 15.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.4921, allocations: 79.83 kB / 0.5173 GB, free: 15.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4922, allocations: 190.2 kB / 0.5175 GB, free: 15.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.4923, allocations: 32.98 kB / 0.5175 GB, free: 15.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.4923, allocations: 161.8 kB / 0.5177 GB, free: 15.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.149e-05/0.4924, allocations: 124.2 kB / 0.5178 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.4926, allocations: 74.48 kB / 0.5179 GB, free: 15.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4927, allocations: 0.5009 MB / 0.5184 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.4929, allocations: 133.5 kB / 0.5185 GB, free: 14.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.4932, allocations: 283.3 kB / 0.5188 GB, free: 14.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005886/0.4938, allocations: 445.6 kB / 0.5192 GB, free: 14.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.4938, allocations: 3.531 kB / 0.5192 GB, free: 14.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007899/0.4946, allocations: 447 kB / 0.5196 GB, free: 14.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.4946, allocations: 6.125 kB / 0.5196 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4946, allocations: 7.344 kB / 0.5196 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.4947, allocations: 9.844 kB / 0.5197 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.4952, allocations: 74.45 kB / 0.5197 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.4952, allocations: 14.3 kB / 0.5197 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.4956, allocations: 33.7 kB / 0.5198 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.4956, allocations: 13.91 kB / 0.5198 GB, free: 14.12 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 0.0001397/0.4957, allocations: 188.7 kB / 0.52 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.4959, allocations: 30.22 kB / 0.52 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000844/0.4967, allocations: 413.7 kB / 0.5204 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4967, allocations: 7 kB / 0.5204 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4967, allocations: 2.938 kB / 0.5204 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4967, allocations: 0 / 0.5204 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.4973, allocations: 330.2 kB / 0.5207 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4973, allocations: 3.5 kB / 0.5207 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.4978, allocations: 58.03 kB / 0.5208 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4978, allocations: 3.031 kB / 0.5208 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.4979, allocations: 10.59 kB / 0.5208 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.4979, allocations: 7.062 kB / 0.5208 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4979, allocations: 0 / 0.5208 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000974/0.4988, allocations: 0.7266 MB / 0.5215 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.4989, allocations: 23.52 kB / 0.5215 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.4989, allocations: 11 kB / 0.5215 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.4994, allocations: 23.36 kB / 0.5216 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.4994, allocations: 17.06 kB / 0.5216 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.4995, allocations: 19.52 kB / 0.5216 GB, free: 13.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.348e-05/0.4996, allocations: 141.4 kB / 0.5217 GB, free: 12.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4996, allocations: 0 / 0.5217 GB, free: 12.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008618/0.5004, allocations: 162.2 kB / 0.5219 GB, free: 12.89 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.0008407/0.5013, allocations: 358.6 kB / 0.5222 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006499/0.5019, allocations: 341.2 kB / 0.5225 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5019, allocations: 0 / 0.5225 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.5022, allocations: 177.8 kB / 0.5227 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007373/0.5029, allocations: 105.1 kB / 0.5228 GB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.5041, allocations: 0.6882 MB / 0.5235 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.5042, allocations: 121 kB / 0.5236 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004274/0.5046, allocations: 101.9 kB / 0.5237 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.5048, allocations: 31.84 kB / 0.5237 GB, free: 11.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.392e-06/0.5048, allocations: 0 / 0.5237 GB, free: 11.96 MB / 410.7 MB Notification: Performance of Templates: time 0.01418/0.5189, allocations: 8.34 MB / 0.5319 GB, free: 10.05 MB / 410.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.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: 6.043494955054484]