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.00114/0.00114, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.0015/0.0015, allocations: 166.3 kB / 24.82 MB, free: 9.312 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.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2616/0.2616, allocations: 32.81 MB / 294.6 MB, free: 1.238 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 1.302e-06/1.302e-06, allocations: 0 / 376.5 MB, free: 4.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.632e-05, allocations: 6.25 kB / 376.5 MB, free: 4.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3031/0.3032, allocations: 142.9 MB / 0.5072 GB, free: 21.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.305, allocations: 2.214 MB / 0.5093 GB, free: 20.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.305, allocations: 0 / 0.5093 GB, free: 20.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.3054, allocations: 46.97 kB / 0.5094 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.3066, allocations: 0.672 MB / 0.51 GB, free: 19.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.3069, allocations: 106.9 kB / 0.5101 GB, free: 19.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.3071, allocations: 258.6 kB / 0.5104 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.3072, allocations: 4.531 kB / 0.5104 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.3075, allocations: 186 kB / 0.5106 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3076, allocations: 89.94 kB / 0.5106 GB, free: 19.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.3077, allocations: 8.25 kB / 0.5107 GB, free: 19.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.3087, allocations: 0.7736 MB / 0.5114 GB, free: 19.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.3088, allocations: 87.89 kB / 0.5115 GB, free: 19.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.3089, allocations: 74.5 kB / 0.5116 GB, free: 19.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008414/0.3097, allocations: 0.6854 MB / 0.5122 GB, free: 19.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3097, allocations: 2.812 kB / 0.5122 GB, free: 19.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.3097, allocations: 0 / 0.5122 GB, free: 19.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3097, allocations: 4 kB / 0.5122 GB, free: 19.07 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.0005316/0.3103, allocations: 0.5316 MB / 0.5128 GB, free: 18.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3103, allocations: 9.109 kB / 0.5128 GB, free: 18.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.3113, allocations: 293.5 kB / 0.513 GB, free: 18.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.3116, allocations: 219.9 kB / 0.5133 GB, free: 18.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3116, allocations: 11.02 kB / 0.5133 GB, free: 18.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.3116, allocations: 23.56 kB / 0.5133 GB, free: 18.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.312, allocations: 493.2 kB / 0.5138 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.312, allocations: 0 / 0.5138 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.312, allocations: 6.094 kB / 0.5138 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.312, allocations: 13.38 kB / 0.5138 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.3123, allocations: 251.8 kB / 0.514 GB, free: 18.05 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.001/0.3133, allocations: 0.8468 MB / 0.5148 GB, free: 17.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3135, allocations: 161 kB / 0.515 GB, free: 17.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/0.3136, allocations: 97.31 kB / 0.5151 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003493/0.3139, allocations: 130.5 kB / 0.5152 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.314, allocations: 41.33 kB / 0.5153 GB, free: 17.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.283e-06/0.314, allocations: 0 / 0.5153 GB, free: 17.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008201/0.3148, allocations: 419.6 kB / 0.5157 GB, free: 17.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.815e-05/0.3148, allocations: 83.2 kB / 0.5157 GB, free: 17.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.701e-05/0.3148, allocations: 193.8 kB / 0.5159 GB, free: 16.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3149, allocations: 29.7 kB / 0.5159 GB, free: 16.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.3149, allocations: 164.9 kB / 0.5161 GB, free: 16.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.315, allocations: 111.7 kB / 0.5162 GB, free: 16.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.315, allocations: 76.89 kB / 0.5163 GB, free: 16.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.3151, allocations: 0.5023 MB / 0.5168 GB, free: 16.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.3152, allocations: 79.81 kB / 0.5169 GB, free: 16.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3153, allocations: 230.9 kB / 0.5171 GB, free: 15.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3155, allocations: 334 kB / 0.5174 GB, free: 15.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3155, allocations: 4 kB / 0.5174 GB, free: 15.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003378/0.3158, allocations: 344.4 kB / 0.5177 GB, free: 15.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3159, allocations: 6.031 kB / 0.5177 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3159, allocations: 3.438 kB / 0.5177 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3159, allocations: 13.84 kB / 0.5177 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.3161, allocations: 73.17 kB / 0.5178 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3161, allocations: 6.938 kB / 0.5178 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.3163, allocations: 31.78 kB / 0.5179 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.3163, allocations: 13.44 kB / 0.5179 GB, free: 15.53 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 7.755e-05/0.3164, allocations: 178.1 kB / 0.518 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.3164, allocations: 33.19 kB / 0.5181 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.3168, allocations: 327.5 kB / 0.5184 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3168, allocations: 11.06 kB / 0.5184 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.3168, allocations: 2.812 kB / 0.5184 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3168, allocations: 2.531 kB / 0.5184 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.3171, allocations: 285.3 kB / 0.5187 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3171, allocations: 6.688 kB / 0.5187 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.3173, allocations: 52.73 kB / 0.5187 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3173, allocations: 0 / 0.5187 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.3174, allocations: 13.41 kB / 0.5187 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3174, allocations: 1.312 kB / 0.5187 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3174, allocations: 3 kB / 0.5187 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.3178, allocations: 0.6344 MB / 0.5194 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.3178, allocations: 17.47 kB / 0.5194 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.3178, allocations: 7.406 kB / 0.5194 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.318, allocations: 19.06 kB / 0.5194 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.318, allocations: 18.53 kB / 0.5194 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.3181, allocations: 15.42 kB / 0.5194 GB, free: 14.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.376e-05/0.3181, allocations: 140.1 kB / 0.5196 GB, free: 14.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3181, allocations: 0 / 0.5196 GB, free: 14.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004271/0.3185, allocations: 160.9 kB / 0.5197 GB, free: 14.44 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.0006029/0.3191, allocations: 359.8 kB / 0.5201 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.3194, allocations: 255.8 kB / 0.5203 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3194, allocations: 0 / 0.5203 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.3195, allocations: 133.8 kB / 0.5204 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.3199, allocations: 107.3 kB / 0.5205 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008445/0.3207, allocations: 0.6686 MB / 0.5212 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.351e-05/0.3208, allocations: 91.78 kB / 0.5213 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000242/0.321, allocations: 76.92 kB / 0.5214 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.3213, allocations: 193.4 kB / 0.5215 GB, free: 13.52 MB / 410.7 MB Notification: Performance of SimCode: time 4.4e-07/0.3213, allocations: 0 / 0.5215 GB, free: 13.52 MB / 410.7 MB Notification: Performance of Templates: time 0.008946/0.3303, allocations: 9.705 MB / 0.531 GB, free: 11.02 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.450414676684886]