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.0009419/0.0009419, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001169/0.001169, allocations: 161 kB / 24.56 MB, free: 16 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.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.266 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.2934/0.2934, allocations: 34.26 MB / 295.7 MB, free: 0.7031 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.673e-06/1.673e-06, allocations: 0 / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.711e-05, allocations: 2.312 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002808/0.002835, allocations: 2.309 MB / 380.4 MB, free: 288 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.005312, allocations: 2.099 MB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.005475, allocations: 4 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.005767, allocations: 75.47 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.006007, allocations: 119.2 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.007125, allocations: 450 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.00762, allocations: 0.5402 MB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.369e-05/0.007694, allocations: 29.2 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.008036, allocations: 239.1 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.008254, allocations: 187.3 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.008292, allocations: 16 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006271/0.008919, allocations: 399.3 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.009048, allocations: 111.4 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.009169, allocations: 131.5 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.01026, allocations: 0.7394 MB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01026, allocations: 0 / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01027, allocations: 0 / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.01028, allocations: 0 / 385.5 MB, free: 11.16 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.0009522/0.01123, allocations: 0.8854 MB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.01127, allocations: 16.02 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.01155, allocations: 128.5 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.01186, allocations: 247.8 kB / 386.8 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.01189, allocations: 41.69 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.01193, allocations: 52.38 kB / 386.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005812/0.01251, allocations: 0.5166 MB / 387.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.01253, allocations: 7.938 kB / 387.4 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.01256, allocations: 20 kB / 387.4 MB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.0126, allocations: 29.3 kB / 387.4 MB, free: 9.137 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.0129, allocations: 207.7 kB / 387.6 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.01433, allocations: 1.56 MB / 389.2 MB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.01456, allocations: 161.2 kB / 389.3 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.39e-05/0.01466, allocations: 59.05 kB / 389.4 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/0.0147, allocations: 19.92 kB / 389.4 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.01472, allocations: 37.39 kB / 389.5 MB, free: 6.992 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.963e-06/0.01472, allocations: 4 kB / 389.5 MB, free: 6.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004556/0.01518, allocations: 215.9 kB / 389.7 MB, free: 6.773 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.01522, allocations: 106.8 kB / 389.8 MB, free: 6.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.01549, allocations: 422 kB / 390.2 MB, free: 6.211 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.0155, allocations: 29.7 kB / 390.2 MB, free: 6.176 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.01566, allocations: 382.2 kB / 390.6 MB, free: 5.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.0157, allocations: 67.44 kB / 390.7 MB, free: 5.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.01583, allocations: 147.7 kB / 390.8 MB, free: 5.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.01595, allocations: 0.5199 MB / 391.3 MB, free: 5.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.01607, allocations: 60.95 kB / 391.4 MB, free: 4.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.01635, allocations: 447.8 kB / 391.8 MB, free: 4.375 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.01705, allocations: 0.5413 MB / 392.4 MB, free: 3.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.01706, allocations: 4 kB / 392.4 MB, free: 3.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005385/0.0176, allocations: 442.9 kB / 392.8 MB, free: 3.215 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.01761, allocations: 8 kB / 392.8 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-05/0.01767, allocations: 55.92 kB / 392.9 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.01769, allocations: 12 kB / 392.9 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.01784, allocations: 63.84 kB / 392.9 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.01785, allocations: 23.86 kB / 392.9 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.01802, allocations: 67.89 kB / 393 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.01806, allocations: 40 kB / 393.1 MB, free: 2.949 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.0001409/0.0182, allocations: 212.3 kB / 393.3 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.01826, allocations: 35.81 kB / 393.3 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.01866, allocations: 287.6 kB / 393.6 MB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.01867, allocations: 7.984 kB / 393.6 MB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01867, allocations: 12 kB / 393.6 MB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01868, allocations: 3.938 kB / 393.6 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.01905, allocations: 360.4 kB / 394 MB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.195e-05/0.01909, allocations: 39.98 kB / 394 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.01916, allocations: 23.91 kB / 394 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01916, allocations: 4 kB / 394 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.01918, allocations: 12 kB / 394 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.01918, allocations: 0 / 394 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01918, allocations: 0 / 394 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.01956, allocations: 0.558 MB / 394.6 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.01959, allocations: 35.8 kB / 394.6 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.01962, allocations: 4 kB / 394.6 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.01974, allocations: 8 kB / 394.6 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.01981, allocations: 39.78 kB / 394.7 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.01982, allocations: 11.98 kB / 394.7 MB, free: 1.246 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.01995, allocations: 235 kB / 394.9 MB, free: 1.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01995, allocations: 0 / 394.9 MB, free: 1.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00056/0.02051, allocations: 215.3 kB / 395.1 MB, free: 0.8086 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.0003622/0.02087, allocations: 258.7 kB / 395.4 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004864/0.02136, allocations: 0.5483 MB / 395.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02136, allocations: 0.8125 kB / 395.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.02157, allocations: 392.1 kB / 396.3 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.02193, allocations: 57.12 kB / 396.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.02328, allocations: 0.8302 MB / 397.2 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.02339, allocations: 156.5 kB / 397.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.02353, allocations: 86.78 kB / 397.4 MB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.02358, allocations: 28.48 kB / 397.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02358, allocations: 0 / 397.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of Templates: time 0.009587/0.03317, allocations: 7.607 MB / 405.1 MB, free: 6.75 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.4420770811848342]