Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_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.001567/0.001567, allocations: 199.6 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 226.5 MB / 243.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007403/0.0007407, allocations: 91.28 kB / 295.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2974/0.2974, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 4 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3009, allocations: 62.96 MB / 0.5159 GB, free: 37.45 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.001841/0.3027, allocations: 1.905 MB / 0.5178 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.3048, allocations: 1.931 MB / 0.5196 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.3049, allocations: 3.062 kB / 0.5196 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.3051, allocations: 59.19 kB / 0.5197 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.3053, allocations: 93.02 kB / 0.5198 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007282/0.306, allocations: 366.5 kB / 0.5201 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.3064, allocations: 0.5579 MB / 0.5207 GB, free: 34.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.272e-05/0.3065, allocations: 63.5 kB / 0.5207 GB, free: 34.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.3067, allocations: 175 kB / 0.5209 GB, free: 34.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.3069, allocations: 214.4 kB / 0.5211 GB, free: 34.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.307, allocations: 11.78 kB / 0.5211 GB, free: 34.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007293/0.3077, allocations: 0.6511 MB / 0.5218 GB, free: 33.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.907e-05/0.3078, allocations: 104.5 kB / 0.5219 GB, free: 33.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.308, allocations: 215.7 kB / 0.5221 GB, free: 33.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.3084, allocations: 0.5697 MB / 0.5226 GB, free: 33.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3084, allocations: 2.594 kB / 0.5226 GB, free: 33.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3084, allocations: 0 / 0.5226 GB, free: 33.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3085, allocations: 0 / 0.5226 GB, free: 33.48 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.0009252/0.3094, allocations: 0.7536 MB / 0.5234 GB, free: 32.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3094, allocations: 8.75 kB / 0.5234 GB, free: 32.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/0.3098, allocations: 106.4 kB / 0.5235 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.3101, allocations: 314.4 kB / 0.5238 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.3101, allocations: 43.28 kB / 0.5238 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.3102, allocations: 59.22 kB / 0.5239 GB, free: 32.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009447/0.3111, allocations: 0.7787 MB / 0.5246 GB, free: 32.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3112, allocations: 0 / 0.5246 GB, free: 32.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.3112, allocations: 19.91 kB / 0.5246 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.3112, allocations: 26.94 kB / 0.5247 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008465/0.3121, allocations: 0.5743 MB / 0.5252 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.3138, allocations: 1.674 MB / 0.5269 GB, free: 31.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.3143, allocations: 309.7 kB / 0.5272 GB, free: 31.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.3146, allocations: 169.7 kB / 0.5273 GB, free: 31.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.917e-05/0.3147, allocations: 9.656 kB / 0.5273 GB, free: 31.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3147, allocations: 30.56 kB / 0.5274 GB, free: 31.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/0.3147, allocations: 7.875 kB / 0.5274 GB, free: 31 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001082/0.3158, allocations: 0.5408 MB / 0.5279 GB, free: 30.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.3159, allocations: 105.8 kB / 0.528 GB, free: 30.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/0.3164, allocations: 0.6311 MB / 0.5286 GB, free: 30.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.3164, allocations: 29.7 kB / 0.5286 GB, free: 30.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3166, allocations: 292.3 kB / 0.5289 GB, free: 30.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.3166, allocations: 72.89 kB / 0.529 GB, free: 30.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.3166, allocations: 10.59 kB / 0.529 GB, free: 30.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.3167, allocations: 366.3 kB / 0.5294 GB, free: 29.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.3171, allocations: 207.2 kB / 0.5296 GB, free: 29.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.3175, allocations: 466 kB / 0.53 GB, free: 29.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007981/0.3183, allocations: 0.7041 MB / 0.5307 GB, free: 28.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3183, allocations: 2.625 kB / 0.5307 GB, free: 28.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00103/0.3194, allocations: 0.7051 MB / 0.5314 GB, free: 28.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3194, allocations: 15.62 kB / 0.5314 GB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.707e-05/0.3195, allocations: 53.2 kB / 0.5314 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.3195, allocations: 13.22 kB / 0.5315 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.3198, allocations: 79.42 kB / 0.5315 GB, free: 28.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.3198, allocations: 18.73 kB / 0.5315 GB, free: 28.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.3202, allocations: 111.3 kB / 0.5317 GB, free: 28.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.3202, allocations: 33.28 kB / 0.5317 GB, free: 28.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.3204, allocations: 255.4 kB / 0.5319 GB, free: 28.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.93e-05/0.3205, allocations: 49.47 kB / 0.532 GB, free: 28.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007843/0.3213, allocations: 487.3 kB / 0.5324 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.3213, allocations: 2.906 kB / 0.5324 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3213, allocations: 6.969 kB / 0.5324 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3213, allocations: 0 / 0.5324 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.3218, allocations: 410.8 kB / 0.5328 GB, free: 28.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.808e-05/0.3219, allocations: 40.61 kB / 0.5329 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.322, allocations: 30.28 kB / 0.5329 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.322, allocations: 10.47 kB / 0.5329 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.3221, allocations: 11.81 kB / 0.5329 GB, free: 27.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.3221, allocations: 6.906 kB / 0.5329 GB, free: 27.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3221, allocations: 0 / 0.5329 GB, free: 27.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.3228, allocations: 0.6482 MB / 0.5336 GB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.3229, allocations: 135.3 kB / 0.5337 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.323, allocations: 3.938 kB / 0.5337 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.3233, allocations: 27.97 kB / 0.5337 GB, free: 27.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.3233, allocations: 24.27 kB / 0.5338 GB, free: 27.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.3234, allocations: 21.73 kB / 0.5338 GB, free: 27.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003622/0.3237, allocations: 440.8 kB / 0.5342 GB, free: 27.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3237, allocations: 0 / 0.5342 GB, free: 27.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006803/0.3244, allocations: 187.1 kB / 0.5344 GB, free: 27.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003772/0.3248, allocations: 247.3 kB / 0.5346 GB, free: 27.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009291/0.3258, allocations: 0.7784 MB / 0.5354 GB, free: 26.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3258, allocations: 0 / 0.5354 GB, free: 26.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.3262, allocations: 491.8 kB / 0.5358 GB, free: 26.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006985/0.3269, allocations: 117 kB / 0.5359 GB, free: 26.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.3285, allocations: 1.111 MB / 0.537 GB, free: 25.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3288, allocations: 0.8883 MB / 0.5379 GB, free: 24.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.629e-05/0.3289, allocations: 37.91 kB / 0.5379 GB, free: 24.95 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3289, allocations: 0 / 0.5379 GB, free: 24.95 MB / 378.7 MB Notification: Performance of Templates: time 0.0154/0.3443, allocations: 10.04 MB / 0.5477 GB, free: 21.96 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches