Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009442/0.0009442, allocations: 75.77 kB / 21.18 MB, free: 3.379 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: 165 kB / 24.56 MB, free: 8 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 0.9601/0.9601, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.247/0.247, allocations: 32.81 MB / 294.3 MB, free: 1.266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 376.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.544e-05/4.794e-05, allocations: 2.312 kB / 376.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003102/0.00315, allocations: 2.305 MB / 378.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.006094, allocations: 2.095 MB / 380.5 MB, free: 188 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.006282, allocations: 4 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.006594, allocations: 71.47 kB / 380.5 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.006871, allocations: 119.3 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.008258, allocations: 466 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005319/0.00879, allocations: 0.5323 MB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.951e-05/0.008879, allocations: 29.2 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/0.009299, allocations: 247 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.009517, allocations: 179.4 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.009548, allocations: 12 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006191/0.01017, allocations: 407.2 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.0103, allocations: 107.5 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.01043, allocations: 131.4 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008303/0.01126, allocations: 0.7395 MB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.01126, allocations: 4 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01126, allocations: 0 / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.01127, allocations: 0 / 383.5 MB, free: 13.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.001289/0.01256, allocations: 0.8815 MB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.0126, allocations: 12.03 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.01288, allocations: 128.5 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.01317, allocations: 251.8 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.0132, allocations: 45.62 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.01325, allocations: 52.38 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.01385, allocations: 0.5165 MB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.01387, allocations: 3.938 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.0139, allocations: 20 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.474e-05/0.01394, allocations: 29.3 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.01423, allocations: 207.7 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.01563, allocations: 1.56 MB / 387.2 MB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.01587, allocations: 165.2 kB / 387.3 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.401e-05/0.01596, allocations: 63.05 kB / 387.4 MB, free: 9.055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.016, allocations: 11.94 kB / 387.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.01602, allocations: 37.38 kB / 387.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.01603, allocations: 0 / 387.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004341/0.01646, allocations: 213.4 kB / 387.6 MB, free: 8.781 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.0165, allocations: 111.1 kB / 387.8 MB, free: 8.648 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.01676, allocations: 429.9 kB / 388.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.01678, allocations: 29.7 kB / 388.2 MB, free: 8.172 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.01694, allocations: 378.2 kB / 388.6 MB, free: 7.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.01699, allocations: 75.42 kB / 388.6 MB, free: 7.723 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.01711, allocations: 135.8 kB / 388.8 MB, free: 7.578 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.01724, allocations: 0.5274 MB / 389.3 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.01735, allocations: 52.97 kB / 389.4 MB, free: 6.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.01762, allocations: 451.7 kB / 389.8 MB, free: 6.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007192/0.01834, allocations: 0.5469 MB / 390.3 MB, free: 5.648 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.01835, allocations: 4 kB / 390.3 MB, free: 5.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005241/0.01887, allocations: 435.4 kB / 390.8 MB, free: 5.215 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01889, allocations: 8 kB / 390.8 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.833e-05/0.01894, allocations: 52.14 kB / 390.8 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.01896, allocations: 16 kB / 390.8 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.01911, allocations: 71.77 kB / 390.9 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.01912, allocations: 19.88 kB / 390.9 MB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.01929, allocations: 67.55 kB / 391 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.01933, allocations: 32 kB / 391 MB, free: 4.953 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.0001525/0.01948, allocations: 212.4 kB / 391.2 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.01954, allocations: 31.81 kB / 391.3 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.01998, allocations: 295.6 kB / 391.6 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.01998, allocations: 4 kB / 391.6 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.01999, allocations: 7.938 kB / 391.6 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01999, allocations: 3.938 kB / 391.6 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.02037, allocations: 364.4 kB / 391.9 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-05/0.0204, allocations: 43.98 kB / 392 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.02046, allocations: 19.98 kB / 392 MB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.02046, allocations: 0 / 392 MB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.02048, allocations: 20 kB / 392 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.02048, allocations: 0 / 392 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.02048, allocations: 0 / 392 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.02085, allocations: 0.5558 MB / 392.6 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.02089, allocations: 31.8 kB / 392.6 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.02092, allocations: 4 kB / 392.6 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.02103, allocations: 15.98 kB / 392.6 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.0211, allocations: 31.84 kB / 392.7 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.02111, allocations: 19.94 kB / 392.7 MB, free: 3.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.02124, allocations: 231 kB / 392.9 MB, free: 3.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.02124, allocations: 0 / 392.9 MB, free: 3.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006179/0.02186, allocations: 215.3 kB / 393.1 MB, free: 2.809 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.0004146/0.02228, allocations: 261.9 kB / 393.4 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005215/0.0228, allocations: 0.5469 MB / 393.9 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.0228, allocations: 0 / 393.9 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.02302, allocations: 393.6 kB / 394.3 MB, free: 1.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.02339, allocations: 48.58 kB / 394.3 MB, free: 1.414 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.02482, allocations: 0.8418 MB / 395.2 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.02493, allocations: 160.5 kB / 395.3 MB, free: 364 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.02507, allocations: 78.8 kB / 395.4 MB, free: 284 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.02511, allocations: 28.5 kB / 395.4 MB, free: 252 kB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02512, allocations: 0 / 395.4 MB, free: 252 kB / 362.7 MB Notification: Performance of Templates: time 0.01183/0.03694, allocations: 8.855 MB / 404.3 MB, free: 7.504 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2356455489061773]