Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009456/0.0009456, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001012/0.001012, allocations: 168.5 kB / 25.61 MB, free: 8.582 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 0.977/0.977, allocations: 177.1 MB / 206 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1342/0.1342, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.519e-05, allocations: 2.312 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2606/0.2607, allocations: 142.9 MB / 0.5099 GB, free: 13.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2624, allocations: 2.213 MB / 0.5121 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.2625, allocations: 0.5 kB / 0.5121 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.2628, allocations: 50.67 kB / 0.5121 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.2638, allocations: 0.6597 MB / 0.5128 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.264, allocations: 114.4 kB / 0.5129 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.2643, allocations: 255.7 kB / 0.5131 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.2643, allocations: 10.42 kB / 0.5131 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.2646, allocations: 182 kB / 0.5133 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.2647, allocations: 84.25 kB / 0.5134 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2647, allocations: 8.594 kB / 0.5134 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008825/0.2656, allocations: 0.7705 MB / 0.5141 GB, free: 13.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.2657, allocations: 92.16 kB / 0.5142 GB, free: 13.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.466e-05/0.2658, allocations: 78.12 kB / 0.5143 GB, free: 13.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000697/0.2665, allocations: 0.6826 MB / 0.515 GB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.2665, allocations: 0 / 0.515 GB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2665, allocations: 0 / 0.515 GB, free: 13.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.2665, allocations: 0 / 0.515 GB, free: 13.5 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.0004635/0.2669, allocations: 0.5374 MB / 0.5155 GB, free: 13.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.267, allocations: 10.3 kB / 0.5155 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.268, allocations: 298 kB / 0.5158 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.2682, allocations: 221.7 kB / 0.516 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.2682, allocations: 16.67 kB / 0.516 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.2683, allocations: 17.94 kB / 0.516 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.2686, allocations: 491.9 kB / 0.5165 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.2686, allocations: 0 / 0.5165 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.2687, allocations: 5.562 kB / 0.5165 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.2687, allocations: 7.047 kB / 0.5165 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.269, allocations: 253.1 kB / 0.5167 GB, free: 12.63 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.0009645/0.2699, allocations: 0.8484 MB / 0.5176 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.2701, allocations: 159.6 kB / 0.5177 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.788e-05/0.2702, allocations: 96.12 kB / 0.5178 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/0.2705, allocations: 131.4 kB / 0.5179 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.2705, allocations: 44.33 kB / 0.518 GB, free: 12.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.2705, allocations: 3.938 kB / 0.518 GB, free: 12.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008944/0.2714, allocations: 422.9 kB / 0.5184 GB, free: 11.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.2714, allocations: 84.14 kB / 0.5185 GB, free: 11.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.157e-05/0.2715, allocations: 189.4 kB / 0.5187 GB, free: 11.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.2715, allocations: 31.92 kB / 0.5187 GB, free: 11.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.2716, allocations: 160.4 kB / 0.5188 GB, free: 11.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.2716, allocations: 116.5 kB / 0.5189 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.901e-05/0.2717, allocations: 73.61 kB / 0.519 GB, free: 11.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.374e-05/0.2717, allocations: 0.4994 MB / 0.5195 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.2718, allocations: 82.09 kB / 0.5196 GB, free: 10.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2719, allocations: 229.6 kB / 0.5198 GB, free: 10.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.2722, allocations: 344.5 kB / 0.5201 GB, free: 10.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2722, allocations: 0 / 0.5201 GB, free: 10.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003501/0.2725, allocations: 343 kB / 0.5205 GB, free: 10.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.2725, allocations: 5.5 kB / 0.5205 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2725, allocations: 2.938 kB / 0.5205 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2725, allocations: 9.469 kB / 0.5205 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.2728, allocations: 71.66 kB / 0.5205 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2728, allocations: 10.98 kB / 0.5206 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.2729, allocations: 30.02 kB / 0.5206 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.273, allocations: 16.88 kB / 0.5206 GB, free: 10.46 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.82e-05/0.2731, allocations: 186.2 kB / 0.5208 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.2731, allocations: 29.03 kB / 0.5208 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.2735, allocations: 322.2 kB / 0.5211 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2735, allocations: 7.312 kB / 0.5211 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2735, allocations: 0 / 0.5211 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2735, allocations: 2.25 kB / 0.5211 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.2738, allocations: 287.7 kB / 0.5214 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2738, allocations: 6.969 kB / 0.5214 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.274, allocations: 53.52 kB / 0.5215 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.274, allocations: 1.969 kB / 0.5215 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.2741, allocations: 8.875 kB / 0.5215 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2741, allocations: 5.844 kB / 0.5215 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2741, allocations: 0 / 0.5215 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.2745, allocations: 0.6366 MB / 0.5221 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.2745, allocations: 24.03 kB / 0.5221 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.2745, allocations: 6.812 kB / 0.5221 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.2747, allocations: 13.33 kB / 0.5221 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.2748, allocations: 24.78 kB / 0.5222 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.2748, allocations: 15.98 kB / 0.5222 GB, free: 9.684 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.946e-05/0.2748, allocations: 132.6 kB / 0.5223 GB, free: 9.566 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2748, allocations: 0 / 0.5223 GB, free: 9.566 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003922/0.2752, allocations: 169 kB / 0.5225 GB, free: 9.543 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.0004963/0.2757, allocations: 361.2 kB / 0.5228 GB, free: 9.398 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.276, allocations: 249.1 kB / 0.523 GB, free: 9.371 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.276, allocations: 0.8125 kB / 0.523 GB, free: 9.371 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.2761, allocations: 131.5 kB / 0.5232 GB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.2765, allocations: 107.9 kB / 0.5233 GB, free: 9.344 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008277/0.2773, allocations: 0.6642 MB / 0.5239 GB, free: 8.895 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.276e-05/0.2774, allocations: 85.23 kB / 0.524 GB, free: 8.824 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.2776, allocations: 82.89 kB / 0.5241 GB, free: 8.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.2779, allocations: 187.4 kB / 0.5243 GB, free: 8.703 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2779, allocations: 0 / 0.5243 GB, free: 8.703 MB / 410.7 MB Notification: Performance of Templates: time 0.008795/0.2867, allocations: 9.837 MB / 0.5339 GB, free: 4.707 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4978238521143794]