Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001652, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 97.91 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3848/0.3848, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4108, allocations: 62.02 MB / 0.5152 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003989/0.4148, allocations: 2.325 MB / 0.5174 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.4179, allocations: 2.147 MB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.4181, allocations: 6.781 kB / 0.5195 GB, free: 34.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.4186, allocations: 66.78 kB / 0.5196 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.419, allocations: 102.4 kB / 0.5197 GB, free: 34.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.4203, allocations: 381.4 kB / 0.5201 GB, free: 34.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006826/0.421, allocations: 0.6177 MB / 0.5207 GB, free: 34.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.4212, allocations: 66.98 kB / 0.5207 GB, free: 34.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.4216, allocations: 179.7 kB / 0.5209 GB, free: 33.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.4219, allocations: 223.3 kB / 0.5211 GB, free: 33.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.114e-05/0.422, allocations: 14.62 kB / 0.5211 GB, free: 33.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.423, allocations: 0.681 MB / 0.5218 GB, free: 33.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.4232, allocations: 98.38 kB / 0.5219 GB, free: 33.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.4235, allocations: 210.4 kB / 0.5221 GB, free: 33.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.4247, allocations: 0.8345 MB / 0.5229 GB, free: 33.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4247, allocations: 3.422 kB / 0.5229 GB, free: 33.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4247, allocations: 0 / 0.5229 GB, free: 33.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.4247, allocations: 0 / 0.5229 GB, free: 33.14 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001409/0.4262, allocations: 0.836 MB / 0.5237 GB, free: 32.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4262, allocations: 10.09 kB / 0.5237 GB, free: 32.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004159/0.4266, allocations: 88.61 kB / 0.5238 GB, free: 32.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.427, allocations: 312 kB / 0.5241 GB, free: 32.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.4271, allocations: 41.78 kB / 0.5242 GB, free: 32.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.913e-05/0.4271, allocations: 65.3 kB / 0.5242 GB, free: 32.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009372/0.4281, allocations: 0.7645 MB / 0.525 GB, free: 31.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4281, allocations: 0 / 0.525 GB, free: 31.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.4282, allocations: 21.62 kB / 0.525 GB, free: 31.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.4282, allocations: 29.72 kB / 0.525 GB, free: 31.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008368/0.429, allocations: 0.5532 MB / 0.5256 GB, free: 31.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.431, allocations: 1.681 MB / 0.5272 GB, free: 30.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.4315, allocations: 306.3 kB / 0.5275 GB, free: 30.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.4319, allocations: 147.3 kB / 0.5276 GB, free: 30.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.116e-05/0.432, allocations: 16.56 kB / 0.5277 GB, free: 30.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.432, allocations: 33.22 kB / 0.5277 GB, free: 30.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.432, allocations: 4 kB / 0.5277 GB, free: 30.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001309/0.4333, allocations: 0.5 MB / 0.5282 GB, free: 30.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.4334, allocations: 106.1 kB / 0.5283 GB, free: 30.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006792/0.4341, allocations: 0.6511 MB / 0.5289 GB, free: 30.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.4341, allocations: 25.7 kB / 0.5289 GB, free: 30.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.4343, allocations: 284.5 kB / 0.5292 GB, free: 29.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.4344, allocations: 76.02 kB / 0.5293 GB, free: 29.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.4346, allocations: 126.2 kB / 0.5294 GB, free: 29.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4347, allocations: 365.2 kB / 0.5297 GB, free: 29.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.435, allocations: 193.6 kB / 0.5299 GB, free: 29.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000529/0.4356, allocations: 457.1 kB / 0.5304 GB, free: 28.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008295/0.4364, allocations: 0.6783 MB / 0.531 GB, free: 28.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.4364, allocations: 6.562 kB / 0.531 GB, free: 28.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001075/0.4375, allocations: 0.6874 MB / 0.5317 GB, free: 28.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.4376, allocations: 12.72 kB / 0.5317 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.111e-05/0.4376, allocations: 52.48 kB / 0.5318 GB, free: 28.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.4377, allocations: 14.09 kB / 0.5318 GB, free: 28.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.4379, allocations: 69.77 kB / 0.5319 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.438, allocations: 20.73 kB / 0.5319 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.4384, allocations: 101.5 kB / 0.532 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.4384, allocations: 46.5 kB / 0.532 GB, free: 28.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002379/0.4387, allocations: 256.3 kB / 0.5323 GB, free: 28.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.86e-05/0.4388, allocations: 53.44 kB / 0.5323 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008083/0.4396, allocations: 465 kB / 0.5328 GB, free: 27.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.4396, allocations: 5.25 kB / 0.5328 GB, free: 27.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4396, allocations: 0 / 0.5328 GB, free: 27.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4396, allocations: 2.953 kB / 0.5328 GB, free: 27.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.4401, allocations: 410.8 kB / 0.5332 GB, free: 27.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.398e-05/0.4402, allocations: 39.83 kB / 0.5332 GB, free: 27.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.4403, allocations: 28.66 kB / 0.5332 GB, free: 27.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4403, allocations: 10.56 kB / 0.5332 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.4404, allocations: 10.92 kB / 0.5332 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4404, allocations: 0 / 0.5332 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4404, allocations: 6.562 kB / 0.5332 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.4416, allocations: 1.434 MB / 0.5346 GB, free: 26.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4417, allocations: 131.9 kB / 0.5348 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.4418, allocations: 3.422 kB / 0.5348 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.4421, allocations: 24.55 kB / 0.5348 GB, free: 26.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.4422, allocations: 27.06 kB / 0.5348 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.4422, allocations: 11.86 kB / 0.5348 GB, free: 26.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004483/0.4427, allocations: 449.5 kB / 0.5353 GB, free: 26.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4427, allocations: 0 / 0.5353 GB, free: 26.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007931/0.4435, allocations: 190.5 kB / 0.5354 GB, free: 26.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004324/0.4439, allocations: 243.8 kB / 0.5357 GB, free: 26.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009339/0.4449, allocations: 0.7475 MB / 0.5364 GB, free: 25.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4449, allocations: 0 / 0.5364 GB, free: 25.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000446/0.4453, allocations: 485.8 kB / 0.5369 GB, free: 25.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.446, allocations: 112 kB / 0.537 GB, free: 25.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.4477, allocations: 1.298 MB / 0.5382 GB, free: 24.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.4481, allocations: 0.9042 MB / 0.5391 GB, free: 23.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003199/0.4484, allocations: 133.4 kB / 0.5393 GB, free: 23.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.4485, allocations: 33.69 kB / 0.5393 GB, free: 23.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4485, allocations: 0 / 0.5393 GB, free: 23.7 MB / 378.7 MB Notification: Performance of Templates: time 0.01961/0.4681, allocations: 10.31 MB / 0.5494 GB, free: 20.29 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches