Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007752/0.0007752, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001884, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001709/0.003295, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.008/1.008, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09053/1.098, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2624/0.2624, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02602/0.2884, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 293.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.524e-05, allocations: 3.625 kB / 293.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004336/0.004361, allocations: 2.298 MB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.006321, allocations: 1.177 MB / 297.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.00644, allocations: 4 kB / 297.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.006704, allocations: 67.53 kB / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.006992, allocations: 115.2 kB / 297.5 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.007437, allocations: 195.2 kB / 297.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.007826, allocations: 0.5249 MB / 298.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.971e-05/0.007886, allocations: 33.19 kB / 298.3 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.008167, allocations: 244 kB / 298.5 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.008334, allocations: 171.4 kB / 298.7 MB, free: 332 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.008361, allocations: 12 kB / 298.7 MB, free: 320 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.008602, allocations: 155.7 kB / 298.9 MB, free: 164 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.008674, allocations: 75.66 kB / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.374e-05/0.008768, allocations: 95.8 kB / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004231/0.009191, allocations: 466.1 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.009203, allocations: 0 / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.009204, allocations: 0 / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.00922, allocations: 0 / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008329/0.01005, allocations: 0.715 MB / 300.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.01009, allocations: 8.922 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.0104, allocations: 182 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.01065, allocations: 197.2 kB / 300.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.01068, allocations: 41.31 kB / 300.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.01072, allocations: 44.12 kB / 300.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.01123, allocations: 411.2 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.01125, allocations: 3.984 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.01127, allocations: 23.94 kB / 301.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/0.01132, allocations: 24.98 kB / 301.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.0115, allocations: 168.5 kB / 301.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.01253, allocations: 1.026 MB / 302.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.0127, allocations: 162.4 kB / 302.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.01275, allocations: 34.58 kB / 302.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.01278, allocations: 15.92 kB / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.0128, allocations: 34.56 kB / 302.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.0128, allocations: 0 / 302.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002897/0.01309, allocations: 126.9 kB / 302.7 MB, free: 12.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.01314, allocations: 107.1 kB / 302.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.01328, allocations: 233 kB / 303 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.01329, allocations: 29.7 kB / 303 MB, free: 11.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.228e-05/0.01339, allocations: 248.1 kB / 303.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.01342, allocations: 63.42 kB / 303.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/0.0135, allocations: 73.89 kB / 303.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.01358, allocations: 338.7 kB / 303.7 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.946e-05/0.01364, allocations: 31.09 kB / 303.8 MB, free: 11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.01374, allocations: 155.8 kB / 303.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.01394, allocations: 231.5 kB / 304.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01395, allocations: 0 / 304.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002677/0.01421, allocations: 205 kB / 304.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.01423, allocations: 12.03 kB / 304.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-05/0.01427, allocations: 23.98 kB / 304.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.01428, allocations: 8 kB / 304.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01438, allocations: 35.91 kB / 304.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.01439, allocations: 7.938 kB / 304.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.381e-05/0.01448, allocations: 43.7 kB / 304.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.0145, allocations: 16 kB / 304.5 MB, free: 10.15 MB / 298.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: 12 (m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * 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.0001077/0.01461, allocations: 136.5 kB / 304.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.01465, allocations: 23.98 kB / 304.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.01492, allocations: 203.7 kB / 304.8 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.01492, allocations: 7.938 kB / 304.9 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01492, allocations: 0 / 304.9 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01493, allocations: 0 / 304.9 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.01517, allocations: 189.5 kB / 305 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.132e-05/0.01521, allocations: 23.98 kB / 305.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/0.01526, allocations: 27.91 kB / 305.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.01528, allocations: 19.8 kB / 305.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01528, allocations: 4 kB / 305.1 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.0153, allocations: 8 kB / 305.1 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.0153, allocations: 7.984 kB / 305.1 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0153, allocations: 0 / 305.1 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.01552, allocations: 401.2 kB / 305.5 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.01554, allocations: 0 / 305.5 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.01563, allocations: 15.94 kB / 305.5 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.01568, allocations: 19.97 kB / 305.6 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.01569, allocations: 11.98 kB / 305.6 MB, free: 9.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.993e-05/0.01574, allocations: 70.78 kB / 305.6 MB, free: 8.965 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01574, allocations: 0 / 305.6 MB, free: 8.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003328/0.01608, allocations: 155.4 kB / 305.8 MB, free: 8.812 MB / 298.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.0002235/0.0163, allocations: 152.2 kB / 305.9 MB, free: 8.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.01661, allocations: 440.9 kB / 306.4 MB, free: 8.148 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.01662, allocations: 11.98 kB / 306.4 MB, free: 8.137 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.01678, allocations: 369.2 kB / 306.7 MB, free: 7.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.01708, allocations: 70.34 kB / 306.8 MB, free: 7.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.01987, allocations: 0.7688 MB / 307.6 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.739e-05/0.01995, allocations: 136.4 kB / 307.7 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.602e-05/0.02002, allocations: 17.89 kB / 307.7 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.02021, allocations: 143.3 kB / 307.9 MB, free: 6.516 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02021, allocations: 0 / 307.9 MB, free: 6.516 MB / 298.7 MB Notification: Performance of Templates: time 0.007316/0.02753, allocations: 6.005 MB / 313.9 MB, free: 0.5898 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.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.0312786400318146]