Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 210.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.09 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 84.2 kB / 482 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3287, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003279/0.332, allocations: 2.232 MB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3338, allocations: 1.181 MB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.891e-05/0.3339, allocations: 6.688 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.3342, allocations: 66.72 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.3344, allocations: 97.22 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.3349, allocations: 192 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005237/0.3355, allocations: 0.4886 MB / 0.5358 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3356, allocations: 61.66 kB / 0.5359 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.3358, allocations: 172 kB / 0.5361 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.3361, allocations: 202.3 kB / 0.5363 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.3362, allocations: 13.94 kB / 0.5363 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005185/0.3367, allocations: 336.2 kB / 0.5366 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.3368, allocations: 97.72 kB / 0.5367 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.337, allocations: 187.4 kB / 0.5369 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.3376, allocations: 0.589 MB / 0.5374 GB, free: 9.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3377, allocations: 4 kB / 0.5374 GB, free: 9.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3377, allocations: 1.062 kB / 0.5374 GB, free: 9.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3377, allocations: 0 / 0.5374 GB, free: 9.359 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001138/0.3388, allocations: 0.7525 MB / 0.5382 GB, free: 8.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3389, allocations: 8.875 kB / 0.5382 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/0.3393, allocations: 88.39 kB / 0.5383 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.3396, allocations: 299.8 kB / 0.5386 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.3397, allocations: 35.72 kB / 0.5386 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.3398, allocations: 45.53 kB / 0.5386 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009733/0.3407, allocations: 0.6594 MB / 0.5393 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3408, allocations: 3.938 kB / 0.5393 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.3408, allocations: 16.84 kB / 0.5393 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/0.3409, allocations: 21.91 kB / 0.5393 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009008/0.3418, allocations: 485.1 kB / 0.5398 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.3438, allocations: 1.503 MB / 0.5413 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.3444, allocations: 309.1 kB / 0.5415 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.3447, allocations: 144.1 kB / 0.5417 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.3448, allocations: 13.94 kB / 0.5417 GB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3448, allocations: 43.72 kB / 0.5417 GB, free: 6.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 3.126e-06/0.3448, allocations: 3.984 kB / 0.5417 GB, free: 6.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001164/0.346, allocations: 0.4907 MB / 0.5422 GB, free: 6.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3461, allocations: 116.2 kB / 0.5423 GB, free: 6.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/0.3466, allocations: 0.5404 MB / 0.5429 GB, free: 5.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.3467, allocations: 26.83 kB / 0.5429 GB, free: 5.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.3468, allocations: 228.6 kB / 0.5431 GB, free: 5.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.3469, allocations: 71.98 kB / 0.5432 GB, free: 5.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.347, allocations: 85.16 kB / 0.5433 GB, free: 5.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3472, allocations: 355.6 kB / 0.5436 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.3475, allocations: 162.5 kB / 0.5437 GB, free: 4.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.348, allocations: 272.6 kB / 0.544 GB, free: 4.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.3487, allocations: 447.2 kB / 0.5444 GB, free: 4.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3488, allocations: 4 kB / 0.5444 GB, free: 4.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009264/0.3497, allocations: 0.4968 MB / 0.5449 GB, free: 3.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3497, allocations: 4 kB / 0.5449 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.036e-05/0.3498, allocations: 43.98 kB / 0.545 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3498, allocations: 4 kB / 0.545 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.35, allocations: 47.84 kB / 0.545 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3501, allocations: 7.984 kB / 0.545 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.3504, allocations: 83.33 kB / 0.5451 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.3504, allocations: 23.98 kB / 0.5451 GB, free: 3.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (33): * Single equations (assignments): 21 * 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.0001984/0.3506, allocations: 205.6 kB / 0.5453 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3507, allocations: 43.44 kB / 0.5454 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008046/0.3515, allocations: 445.1 kB / 0.5458 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3515, allocations: 3.938 kB / 0.5458 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-05/0.3516, allocations: 35.98 kB / 0.5458 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.977e-05/0.3517, allocations: 128.6 kB / 0.546 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.3518, allocations: 0 / 0.546 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.3521, allocations: 27.97 kB / 0.546 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.3522, allocations: 23.92 kB / 0.546 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008603/0.353, allocations: 0.58 MB / 0.5466 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008067/0.3539, allocations: 0.6785 MB / 0.5472 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003182/0.3542, allocations: 154.1 kB / 0.5474 GB, free: 1.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003817/0.3546, allocations: 399 kB / 0.5478 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of Backend: time 5.21e-07/0.3546, allocations: 0 / 0.5478 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.356, allocations: 0.6708 MB / 0.5484 GB, free: 28 kB / 398.1 MB Notification: Performance of SimCode: time 0.001701/0.3577, allocations: 1.581 MB / 0.55 GB, free: 14.32 MB / 414.1 MB Notification: Performance of Templates: time 0.01336/0.3711, allocations: 9.341 MB / 0.5591 GB, free: 5.094 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches