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.0009602/0.0009602, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009523/0.0009523, allocations: 164.8 kB / 25.61 MB, free: 8.902 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.9847/0.9847, allocations: 177.1 MB / 206 MB, free: 4.496 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.1566/0.1566, allocations: 34.26 MB / 296.8 MB, free: 13.94 MB / 282.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.372e-06/1.372e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.544e-05, allocations: 5.266 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003041/0.003067, allocations: 2.297 MB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.005761, allocations: 2.052 MB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.005925, allocations: 4 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.006233, allocations: 75.47 kB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.006507, allocations: 123.1 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.007707, allocations: 454 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006432/0.00835, allocations: 0.5479 MB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.008471, allocations: 21.27 kB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.008842, allocations: 247.1 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.009011, allocations: 183.3 kB / 385.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.009039, allocations: 12 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006439/0.009683, allocations: 395.3 kB / 385.7 MB, free: 16.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.009788, allocations: 111.4 kB / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.009899, allocations: 127.5 kB / 385.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007984/0.0107, allocations: 0.7433 MB / 386.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.0107, allocations: 3.984 kB / 386.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.0107, allocations: 0 / 386.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.01071, allocations: 4 kB / 386.7 MB, free: 15.98 MB / 314.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.0008003/0.01151, allocations: 0.8853 MB / 387.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.01154, allocations: 8.031 kB / 387.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.01177, allocations: 128.6 kB / 387.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.01198, allocations: 235.8 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.012, allocations: 41.69 kB / 388 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.01204, allocations: 56.36 kB / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.01242, allocations: 485 kB / 388.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.01244, allocations: 7.922 kB / 388.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.01246, allocations: 24 kB / 388.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/0.0125, allocations: 29.25 kB / 388.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.01266, allocations: 165 kB / 388.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009606/0.01362, allocations: 1.435 MB / 390.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.01377, allocations: 157.2 kB / 390.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.01383, allocations: 55.05 kB / 390.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.01386, allocations: 11.94 kB / 390.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.01387, allocations: 41.39 kB / 390.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.01387, allocations: 0 / 390.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003285/0.0142, allocations: 199.6 kB / 390.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.01423, allocations: 106.8 kB / 390.7 MB, free: 11.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.01438, allocations: 417.9 kB / 391.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.0144, allocations: 29.7 kB / 391.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.01449, allocations: 374.2 kB / 391.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.01453, allocations: 83.61 kB / 391.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.01462, allocations: 147.7 kB / 391.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.01468, allocations: 0.5234 MB / 392.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/0.01475, allocations: 44.97 kB / 392.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.0149, allocations: 443.7 kB / 392.7 MB, free: 9.461 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.01518, allocations: 0.5295 MB / 393.3 MB, free: 8.754 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.01518, allocations: 4 kB / 393.3 MB, free: 8.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003806/0.01556, allocations: 410.6 kB / 393.7 MB, free: 8.344 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.01558, allocations: 11.94 kB / 393.7 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.477e-05/0.01562, allocations: 51.98 kB / 393.7 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.01564, allocations: 12 kB / 393.8 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.01576, allocations: 68.42 kB / 393.8 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.01577, allocations: 15.94 kB / 393.8 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.01591, allocations: 79.48 kB / 393.9 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.01594, allocations: 28 kB / 393.9 MB, free: 8.082 MB / 314.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_1[1].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness) * 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.000112/0.01605, allocations: 212.4 kB / 394.2 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.01611, allocations: 31.81 kB / 394.2 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.01643, allocations: 283.6 kB / 394.5 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01644, allocations: 4 kB / 394.5 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01644, allocations: 0 / 394.5 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01644, allocations: 7.938 kB / 394.5 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.01669, allocations: 260.9 kB / 394.7 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/0.01673, allocations: 47.98 kB / 394.8 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.01678, allocations: 15.98 kB / 394.8 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01678, allocations: 0 / 394.8 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.01679, allocations: 12 kB / 394.8 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.0168, allocations: 7.984 kB / 394.8 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.0168, allocations: 4 kB / 394.8 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.01705, allocations: 0.5454 MB / 395.4 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.01707, allocations: 27.81 kB / 395.4 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.0171, allocations: 4 kB / 395.4 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.01721, allocations: 15.98 kB / 395.4 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.01726, allocations: 23.97 kB / 395.4 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.01728, allocations: 12 kB / 395.4 MB, free: 6.527 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.845e-05/0.01735, allocations: 222.9 kB / 395.7 MB, free: 6.312 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01735, allocations: 0 / 395.7 MB, free: 6.312 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004317/0.01778, allocations: 219.2 kB / 395.9 MB, free: 6.098 MB / 314.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.0003307/0.01811, allocations: 262.7 kB / 396.1 MB, free: 5.828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000362/0.01847, allocations: 0.529 MB / 396.7 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01847, allocations: 0 / 396.7 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.01859, allocations: 388 kB / 397 MB, free: 4.766 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.01894, allocations: 49.19 kB / 397.1 MB, free: 4.719 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009807/0.01992, allocations: 0.8396 MB / 397.9 MB, free: 3.836 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.883e-05/0.01999, allocations: 156.5 kB / 398.1 MB, free: 3.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.285e-05/0.02006, allocations: 34.88 kB / 398.1 MB, free: 3.629 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.02024, allocations: 198.1 kB / 398.3 MB, free: 3.434 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02024, allocations: 0 / 398.3 MB, free: 3.434 MB / 314.7 MB Notification: Performance of Templates: time 0.00887/0.02911, allocations: 8.569 MB / 406.9 MB, free: 10.98 MB / 330.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.2253111670725048]