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.001743/0.001743, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002135/0.002135, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.585/1.585, allocations: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 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.3687/0.3687, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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 1.432e-06/1.432e-06, allocations: 3.938 kB / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.313e-05, allocations: 3.156 kB / 377.3 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004206/0.00424, allocations: 2.14 MB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.006836, allocations: 1.075 MB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.007029, allocations: 4 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.007392, allocations: 71.53 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.007821, allocations: 111.2 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008021/0.008623, allocations: 199.2 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007996/0.009423, allocations: 0.5168 MB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.009525, allocations: 17.28 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005764/0.0101, allocations: 235.1 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.01046, allocations: 171.4 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.595e-05/0.01052, allocations: 16 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.01093, allocations: 147.8 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.0111, allocations: 99.48 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.01133, allocations: 123.5 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009531/0.01228, allocations: 0.541 MB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01229, allocations: 4 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01229, allocations: 0 / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.0123, allocations: 0 / 382.7 MB, free: 13.39 MB / 362.7 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.001449/0.01375, allocations: 0.6804 MB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.0138, allocations: 12.03 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005057/0.0143, allocations: 120.6 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.01476, allocations: 253 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.01481, allocations: 33.38 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.01488, allocations: 40.38 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.01611, allocations: 0.6602 MB / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.01612, allocations: 3.938 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.01618, allocations: 19.98 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.855e-05/0.01624, allocations: 28.92 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.01725, allocations: 483.5 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.01945, allocations: 1.278 MB / 386.3 MB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.0201, allocations: 291.6 kB / 386.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006641/0.02077, allocations: 150.4 kB / 386.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.451e-05/0.02083, allocations: 19.86 kB / 386.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.02087, allocations: 34.56 kB / 386.8 MB, free: 9.148 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.02087, allocations: 0 / 386.8 MB, free: 9.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.001388/0.02226, allocations: 492.2 kB / 387.3 MB, free: 8.664 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.512e-05/0.02235, allocations: 102.8 kB / 387.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.0227, allocations: 269.5 kB / 387.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.02273, allocations: 25.7 kB / 387.6 MB, free: 8.234 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.02296, allocations: 256.1 kB / 387.9 MB, free: 7.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.412e-05/0.02305, allocations: 71.42 kB / 388 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.02321, allocations: 85.92 kB / 388 MB, free: 7.816 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.02342, allocations: 334.8 kB / 388.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.02381, allocations: 164.2 kB / 388.5 MB, free: 7.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005094/0.02432, allocations: 277.3 kB / 388.8 MB, free: 6.996 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009333/0.02525, allocations: 454.9 kB / 389.2 MB, free: 6.496 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.02525, allocations: 0 / 389.2 MB, free: 6.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001139/0.02639, allocations: 0.4918 MB / 389.7 MB, free: 6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.02642, allocations: 8 kB / 389.7 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.99e-05/0.0265, allocations: 39.98 kB / 389.8 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.02652, allocations: 11.94 kB / 389.8 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.02676, allocations: 44.44 kB / 389.8 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.02677, allocations: 8 kB / 389.9 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.02703, allocations: 43.75 kB / 389.9 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.02708, allocations: 23.94 kB / 389.9 MB, free: 5.824 MB / 362.7 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.0002889/0.02737, allocations: 205.7 kB / 390.1 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.02748, allocations: 31.84 kB / 390.1 MB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009802/0.02846, allocations: 423.2 kB / 390.6 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.02847, allocations: 11.98 kB / 390.6 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.02848, allocations: 4 kB / 390.6 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.02848, allocations: 0 / 390.6 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.02905, allocations: 305 kB / 390.9 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.806e-05/0.02912, allocations: 35.98 kB / 390.9 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.02929, allocations: 27.95 kB / 390.9 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.02929, allocations: 4 kB / 390.9 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.02932, allocations: 8 kB / 390.9 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/0.02933, allocations: 7.984 kB / 391 MB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.02933, allocations: 0 / 391 MB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.03036, allocations: 0.5957 MB / 391.6 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.03041, allocations: 19.86 kB / 391.6 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.03045, allocations: 4 kB / 391.6 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.03072, allocations: 19.97 kB / 391.6 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.03087, allocations: 23.97 kB / 391.6 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.0309, allocations: 16 kB / 391.6 MB, free: 4.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000213/0.03112, allocations: 177.2 kB / 391.8 MB, free: 3.871 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03112, allocations: 0 / 391.8 MB, free: 3.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006987/0.03182, allocations: 167.4 kB / 392 MB, free: 3.707 MB / 362.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.0003869/0.0322, allocations: 159 kB / 392.1 MB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.03343, allocations: 0.6532 MB / 392.8 MB, free: 2.816 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.03343, allocations: 4.062 kB / 392.8 MB, free: 2.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006642/0.03409, allocations: 476.2 kB / 393.2 MB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.03465, allocations: 47.47 kB / 393.3 MB, free: 2.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.03674, allocations: 0.8476 MB / 394.1 MB, free: 1.348 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.03706, allocations: 260.4 kB / 394.4 MB, free: 1.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.03722, allocations: 57.72 kB / 394.5 MB, free: 1.012 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.03727, allocations: 16.5 kB / 394.5 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03727, allocations: 0 / 394.5 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of Templates: time 0.01243/0.0497, allocations: 5.555 MB / 400 MB, free: 11.54 MB / 378.7 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.211983699002303]