Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 177.2 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3639/0.3639, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.388e-06/4.388e-06, allocations: 3.984 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/3.157e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003841/0.003873, allocations: 1.986 MB / 379.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.006042, allocations: 1.051 MB / 380.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.006148, allocations: 3.938 kB / 380.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.006481, allocations: 51.67 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.006761, allocations: 91.33 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006368/0.007398, allocations: 175.3 kB / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004781/0.007876, allocations: 342.3 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.592e-05/0.007932, allocations: 16.88 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.00824, allocations: 151.5 kB / 381.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.008445, allocations: 119.6 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.008486, allocations: 12 kB / 381.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.008809, allocations: 147.7 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.008917, allocations: 83.62 kB / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.009036, allocations: 83.69 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.009622, allocations: 402.5 kB / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.009625, allocations: 0 / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.009626, allocations: 0 / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.009632, allocations: 0 / 382 MB, free: 14.25 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00131/0.01094, allocations: 0.5558 MB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.01098, allocations: 12.03 kB / 382.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004362/0.01142, allocations: 88.64 kB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.01177, allocations: 205.2 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.0118, allocations: 21.03 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.01185, allocations: 28.12 kB / 382.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008239/0.01267, allocations: 434.6 kB / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.01268, allocations: 4 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.01272, allocations: 12 kB / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/0.01276, allocations: 20.62 kB / 383.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007587/0.01352, allocations: 322.3 kB / 383.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.01508, allocations: 0.9538 MB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.01563, allocations: 239.7 kB / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.01593, allocations: 106.4 kB / 385 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.01597, allocations: 7.984 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.01602, allocations: 42.5 kB / 385 MB, free: 11.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.01602, allocations: 0 / 385 MB, free: 11.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001116/0.01713, allocations: 341.3 kB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.01721, allocations: 106.8 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.01753, allocations: 265.6 kB / 385.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.01756, allocations: 29.64 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.01773, allocations: 216.4 kB / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.01779, allocations: 51.59 kB / 386 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.01791, allocations: 61.94 kB / 386.1 MB, free: 9.953 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.01809, allocations: 334.8 kB / 386.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.01843, allocations: 116.1 kB / 386.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.01886, allocations: 232.3 kB / 386.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007797/0.01964, allocations: 367.2 kB / 387.1 MB, free: 8.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01964, allocations: 0 / 387.1 MB, free: 8.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009497/0.02059, allocations: 408.8 kB / 387.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.02061, allocations: 4.531 kB / 387.5 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.876e-05/0.02066, allocations: 28 kB / 387.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.02068, allocations: 4 kB / 387.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.02093, allocations: 47.89 kB / 387.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.02095, allocations: 8 kB / 387.6 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.02119, allocations: 47.69 kB / 387.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.02123, allocations: 16 kB / 387.6 MB, free: 8.25 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002287/0.02146, allocations: 181.7 kB / 387.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/0.02155, allocations: 19.86 kB / 387.8 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006455/0.02219, allocations: 275.2 kB / 388.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.02221, allocations: 8 kB / 388.1 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.02221, allocations: 3.984 kB / 388.1 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.02222, allocations: 0 / 388.1 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.0227, allocations: 237.1 kB / 388.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.573e-05/0.02273, allocations: 16 kB / 388.4 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.0229, allocations: 27.97 kB / 388.4 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.0229, allocations: 4 kB / 388.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.02292, allocations: 8 kB / 388.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.02293, allocations: 0 / 388.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.02293, allocations: 3.938 kB / 388.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/0.02377, allocations: 0.4898 MB / 388.9 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.02382, allocations: 35.72 kB / 388.9 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.02386, allocations: 4 kB / 388.9 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.02412, allocations: 15.98 kB / 388.9 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.995e-05/0.02422, allocations: 19.97 kB / 389 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.02424, allocations: 4 kB / 389 MB, free: 6.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001965/0.02443, allocations: 177.2 kB / 389.1 MB, free: 6.688 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02443, allocations: 4 kB / 389.1 MB, free: 6.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005608/0.02499, allocations: 119.6 kB / 389.3 MB, free: 6.566 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0004326/0.02543, allocations: 159.1 kB / 389.4 MB, free: 6.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008658/0.02629, allocations: 429.7 kB / 389.8 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.02629, allocations: 0 / 389.8 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004229/0.02672, allocations: 267.1 kB / 390.1 MB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.02723, allocations: 45.95 kB / 390.1 MB, free: 5.605 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.02842, allocations: 0.5653 MB / 390.7 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.02865, allocations: 193.5 kB / 390.9 MB, free: 4.797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.02879, allocations: 45.59 kB / 390.9 MB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.02885, allocations: 24.48 kB / 391 MB, free: 4.727 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.02885, allocations: 0 / 391 MB, free: 4.727 MB / 362.7 MB Notification: Performance of Templates: time 0.01011/0.03896, allocations: 4.334 MB / 395.3 MB, free: 484 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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: 4.97958714608103]