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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, allocations: 213.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.95 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 180] 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=5004,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=5004,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00259/0.00259, allocations: 87.86 kB / 0.4967 GB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3782, allocations: 66.09 MB / 0.5612 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004033/0.3823, allocations: 2.121 MB / 0.5633 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.3845, allocations: 1.094 MB / 0.5644 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.3847, allocations: 0 / 0.5644 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.3851, allocations: 63.61 kB / 0.5644 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.3853, allocations: 99.36 kB / 0.5645 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.386, allocations: 214.8 kB / 0.5647 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006148/0.3866, allocations: 0.4938 MB / 0.5652 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.3867, allocations: 17.28 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.387, allocations: 179.1 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.3873, allocations: 203 kB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.3873, allocations: 12 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.3876, allocations: 143.8 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3878, allocations: 95.52 kB / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.3879, allocations: 155 kB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007025/0.3886, allocations: 0.5588 MB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3887, allocations: 0 / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3887, allocations: 0 / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.3887, allocations: 0 / 0.5665 GB, free: 14.66 MB / 414.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.001291/0.39, allocations: 0.692 MB / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.39, allocations: 8.031 kB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.3904, allocations: 92.5 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.3909, allocations: 249.8 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.3909, allocations: 37.38 kB / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.391, allocations: 44.12 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.3921, allocations: 0.6519 MB / 0.5682 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3921, allocations: 0 / 0.5682 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.3922, allocations: 20 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.676e-05/0.3922, allocations: 28.98 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.3933, allocations: 483.5 kB / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.3953, allocations: 1.266 MB / 0.57 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.396, allocations: 291.6 kB / 0.5703 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.3963, allocations: 146.4 kB / 0.5704 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.224e-05/0.3964, allocations: 11.98 kB / 0.5704 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3964, allocations: 34.56 kB / 0.5704 GB, free: 10.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.3964, allocations: 3.938 kB / 0.5704 GB, free: 10.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001255/0.3977, allocations: 487.6 kB / 0.5709 GB, free: 9.984 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.3978, allocations: 106.8 kB / 0.571 GB, free: 9.855 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.3981, allocations: 268.8 kB / 0.5713 GB, free: 9.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.3981, allocations: 25.7 kB / 0.5713 GB, free: 9.551 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.3983, allocations: 256.1 kB / 0.5715 GB, free: 9.297 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.784e-05/0.3984, allocations: 75.38 kB / 0.5716 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.3986, allocations: 82.12 kB / 0.5717 GB, free: 9.133 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3987, allocations: 330.8 kB / 0.572 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.3991, allocations: 156.1 kB / 0.5721 GB, free: 8.648 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.3996, allocations: 280.5 kB / 0.5724 GB, free: 8.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.4005, allocations: 446.9 kB / 0.5728 GB, free: 7.828 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4005, allocations: 0 / 0.5728 GB, free: 7.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001017/0.4015, allocations: 487 kB / 0.5733 GB, free: 7.348 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4015, allocations: 8 kB / 0.5733 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-05/0.4016, allocations: 44.52 kB / 0.5734 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.4016, allocations: 8 kB / 0.5734 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.4018, allocations: 47.89 kB / 0.5734 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.4018, allocations: 7.938 kB / 0.5734 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.4021, allocations: 43.77 kB / 0.5735 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.4021, allocations: 23.98 kB / 0.5735 GB, free: 7.168 MB / 414.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.0002531/0.4024, allocations: 209.6 kB / 0.5737 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.411e-05/0.4025, allocations: 19.86 kB / 0.5737 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008665/0.4033, allocations: 427.3 kB / 0.5741 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.4033, allocations: 4 kB / 0.5741 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4034, allocations: 7.938 kB / 0.5741 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4034, allocations: 0 / 0.5741 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.4039, allocations: 305 kB / 0.5744 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.544e-05/0.4039, allocations: 43.98 kB / 0.5745 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.4041, allocations: 23.97 kB / 0.5745 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.4041, allocations: 0 / 0.5745 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.4041, allocations: 12 kB / 0.5745 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4041, allocations: 4 kB / 0.5745 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.4041, allocations: 11.88 kB / 0.5745 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009234/0.4051, allocations: 0.5829 MB / 0.5751 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.4051, allocations: 27.78 kB / 0.5751 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.4051, allocations: 4 kB / 0.5751 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.4054, allocations: 23.92 kB / 0.5751 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.4055, allocations: 31.91 kB / 0.5752 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.4055, allocations: 8 kB / 0.5752 GB, free: 5.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.4057, allocations: 176.5 kB / 0.5753 GB, free: 5.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4057, allocations: 0 / 0.5753 GB, free: 5.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006011/0.4063, allocations: 163.5 kB / 0.5755 GB, free: 5.051 MB / 414.1 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.0002951/0.4066, allocations: 162.9 kB / 0.5756 GB, free: 4.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.4077, allocations: 0.6554 MB / 0.5763 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4077, allocations: 0 / 0.5763 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005796/0.4083, allocations: 480.1 kB / 0.5767 GB, free: 3.613 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.4087, allocations: 28.42 kB / 0.5768 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.4104, allocations: 0.8689 MB / 0.5776 GB, free: 2.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.4107, allocations: 260.4 kB / 0.5779 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.4108, allocations: 53.78 kB / 0.5779 GB, free: 2.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.4109, allocations: 15.44 kB / 0.5779 GB, free: 2.34 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4109, allocations: 4 kB / 0.5779 GB, free: 2.336 MB / 414.1 MB Notification: Performance of Templates: time 0.01119/0.422, allocations: 5.995 MB / 0.5838 GB, free: 12.43 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.675557060167193]