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_overall.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.0009995/0.0009995, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001088/0.001088, allocations: 166.2 kB / 25 MB, free: 8.348 MB / 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 0.9408/0.9408, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.2644/0.2644, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] 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_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 378.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.865e-05, allocations: 4.281 kB / 378.1 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.005928/0.005947, allocations: 2.301 MB / 380.4 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.008316, allocations: 2.087 MB / 382.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.008427, allocations: 4 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.008682, allocations: 75.41 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.008883, allocations: 123.2 kB / 382.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007726/0.009656, allocations: 454 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.01006, allocations: 0.5362 MB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.386e-05/0.01013, allocations: 25.22 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.01039, allocations: 239.2 kB / 383.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.01056, allocations: 191.2 kB / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.01058, allocations: 12 kB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.01102, allocations: 403.3 kB / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.641e-05/0.01112, allocations: 107.4 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.01123, allocations: 123.5 kB / 384.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006311/0.01186, allocations: 0.7395 MB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.01186, allocations: 0 / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01187, allocations: 3.984 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.006e-06/0.01187, allocations: 4 kB / 385.4 MB, free: 11.49 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0008681/0.01274, allocations: 0.8815 MB / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.01278, allocations: 12.03 kB / 386.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.01306, allocations: 128.5 kB / 386.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.01333, allocations: 259.7 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.01336, allocations: 41.69 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.01341, allocations: 56.38 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.01396, allocations: 0.5166 MB / 387.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.01398, allocations: 3.938 kB / 387.3 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.01401, allocations: 20 kB / 387.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-05/0.01405, allocations: 25.31 kB / 387.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.01433, allocations: 211.7 kB / 387.6 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.01595, allocations: 1.552 MB / 389.1 MB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.01617, allocations: 165.2 kB / 389.3 MB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/0.01627, allocations: 63.05 kB / 389.4 MB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.0163, allocations: 19.92 kB / 389.4 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.01632, allocations: 37.33 kB / 389.4 MB, free: 7.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.01632, allocations: 4 kB / 389.4 MB, free: 7.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004434/0.01677, allocations: 207.7 kB / 389.6 MB, free: 7.109 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.01681, allocations: 110.8 kB / 389.7 MB, free: 6.977 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.01706, allocations: 422 kB / 390.1 MB, free: 6.543 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.01708, allocations: 29.7 kB / 390.2 MB, free: 6.508 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.01723, allocations: 378.2 kB / 390.5 MB, free: 6.133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.01727, allocations: 79.34 kB / 390.6 MB, free: 6.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.01739, allocations: 144 kB / 390.8 MB, free: 5.902 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.01753, allocations: 0.5235 MB / 391.3 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.01764, allocations: 56.97 kB / 391.3 MB, free: 5.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.0179, allocations: 447.7 kB / 391.8 MB, free: 4.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.01831, allocations: 0.5434 MB / 392.3 MB, free: 3.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.01832, allocations: 4 kB / 392.3 MB, free: 3.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005049/0.01882, allocations: 441.2 kB / 392.8 MB, free: 3.543 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.01884, allocations: 11.94 kB / 392.8 MB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-05/0.01889, allocations: 51.98 kB / 392.8 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.01891, allocations: 12 kB / 392.8 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.01905, allocations: 67.83 kB / 392.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.01906, allocations: 20.38 kB / 392.9 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.01922, allocations: 71.55 kB / 393 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.01925, allocations: 39.98 kB / 393 MB, free: 3.273 MB / 362.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.0194, allocations: 208.4 kB / 393.2 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.01946, allocations: 35.75 kB / 393.3 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/0.01987, allocations: 293.9 kB / 393.6 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.01988, allocations: 8 kB / 393.6 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01988, allocations: 4 kB / 393.6 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01989, allocations: 3.938 kB / 393.6 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.02025, allocations: 368.4 kB / 393.9 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.883e-05/0.02029, allocations: 39.98 kB / 394 MB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.02035, allocations: 15.98 kB / 394 MB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.02035, allocations: 4 kB / 394 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.02038, allocations: 12 kB / 394 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.02038, allocations: 3.984 kB / 394 MB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02038, allocations: 0 / 394 MB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.02074, allocations: 0.5598 MB / 394.6 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.02076, allocations: 31.81 kB / 394.6 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.02079, allocations: 0 / 394.6 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.02091, allocations: 15.98 kB / 394.6 MB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.02098, allocations: 31.84 kB / 394.6 MB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.021, allocations: 16 kB / 394.7 MB, free: 1.574 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.02113, allocations: 231 kB / 394.9 MB, free: 1.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02113, allocations: 0 / 394.9 MB, free: 1.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004676/0.02159, allocations: 219.3 kB / 395.1 MB, free: 1.137 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.000637/0.02223, allocations: 258.2 kB / 395.3 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.02272, allocations: 0.5417 MB / 395.9 MB, free: 268 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.02272, allocations: 320 / 395.9 MB, free: 268 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.02296, allocations: 396 kB / 396.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.02336, allocations: 56.58 kB / 396.3 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.02466, allocations: 0.8419 MB / 397.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.894e-05/0.02476, allocations: 152.5 kB / 397.3 MB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.02489, allocations: 82.8 kB / 397.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.02494, allocations: 24.5 kB / 397.4 MB, free: 14.58 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02494, allocations: 0 / 397.4 MB, free: 14.58 MB / 378.7 MB Notification: Performance of Templates: time 0.009194/0.03413, allocations: 7.603 MB / 405 MB, free: 7.086 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4002861180342734]