Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.0009463/0.0009463, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.0009219/0.0009219, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 18.57 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.016/1.016, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.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.2798/0.2798, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 266.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 379.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.585e-05, allocations: 6.312 kB / 379.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003096/0.003132, allocations: 2.286 MB / 381.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.005818, allocations: 2.075 MB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.006026, allocations: 4 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.006341, allocations: 75.41 kB / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.006598, allocations: 115.2 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.007823, allocations: 450 kB / 384.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006166/0.008439, allocations: 0.5402 MB / 384.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.862e-05/0.008518, allocations: 25.22 kB / 384.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003526/0.00887, allocations: 243.1 kB / 385.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.00908, allocations: 179.4 kB / 385.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.009113, allocations: 16 kB / 385.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006783/0.009792, allocations: 411.1 kB / 385.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.00993, allocations: 107.5 kB / 385.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.01004, allocations: 131.4 kB / 385.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.01114, allocations: 0.7356 MB / 386.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.01114, allocations: 4 kB / 386.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01114, allocations: 0 / 386.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.01115, allocations: 0 / 386.6 MB, free: 10.39 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.0009225/0.01208, allocations: 0.8931 MB / 387.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.01212, allocations: 8.031 kB / 387.5 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.01239, allocations: 128.5 kB / 387.7 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.01264, allocations: 235.8 kB / 387.9 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.01267, allocations: 41.69 kB / 387.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.01271, allocations: 52.38 kB / 388 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.01317, allocations: 0.4891 MB / 388.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.01318, allocations: 3.938 kB / 388.5 MB, free: 8.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.01321, allocations: 20 kB / 388.5 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/0.01325, allocations: 29.3 kB / 388.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.01344, allocations: 165 kB / 388.7 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.01501, allocations: 1.428 MB / 390.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.01519, allocations: 155.6 kB / 390.3 MB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.518e-05/0.01526, allocations: 51.05 kB / 390.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.0153, allocations: 31.8 kB / 390.3 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.01532, allocations: 41.33 kB / 390.4 MB, free: 6.441 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.01532, allocations: 0 / 390.4 MB, free: 6.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003554/0.01568, allocations: 192.3 kB / 390.6 MB, free: 6.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.01572, allocations: 110.8 kB / 390.7 MB, free: 6.117 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.01595, allocations: 417.9 kB / 391.1 MB, free: 5.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.01597, allocations: 29.95 kB / 391.1 MB, free: 5.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.01614, allocations: 382.2 kB / 391.5 MB, free: 5.273 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.01618, allocations: 79.34 kB / 391.6 MB, free: 5.195 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.0163, allocations: 143.7 kB / 391.7 MB, free: 5.043 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.01644, allocations: 0.5312 MB / 392.2 MB, free: 4.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.01652, allocations: 40.97 kB / 392.3 MB, free: 4.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.01677, allocations: 443.7 kB / 392.7 MB, free: 3.852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.01715, allocations: 0.5295 MB / 393.2 MB, free: 3.145 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.01716, allocations: 4 kB / 393.2 MB, free: 3.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004605/0.01762, allocations: 415.5 kB / 393.6 MB, free: 2.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.01764, allocations: 8 kB / 393.7 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.833e-05/0.01769, allocations: 52.89 kB / 393.7 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.01771, allocations: 12 kB / 393.7 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.01784, allocations: 67.84 kB / 393.8 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.01785, allocations: 19.92 kB / 393.8 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.01802, allocations: 67.5 kB / 393.9 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.01805, allocations: 35.98 kB / 393.9 MB, free: 2.473 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_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.0001449/0.0182, allocations: 208.4 kB / 394.1 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.01826, allocations: 35.81 kB / 394.1 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.01861, allocations: 283.6 kB / 394.4 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.01862, allocations: 4 kB / 394.4 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.01862, allocations: 4 kB / 394.4 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01863, allocations: 7.984 kB / 394.4 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.01896, allocations: 252.9 kB / 394.7 MB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.836e-05/0.019, allocations: 43.98 kB / 394.7 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.01906, allocations: 15.98 kB / 394.7 MB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01906, allocations: 0 / 394.7 MB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.01908, allocations: 19.98 kB / 394.8 MB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.01908, allocations: 4 kB / 394.8 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.01908, allocations: 0 / 394.8 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.01943, allocations: 0.5493 MB / 395.3 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.01946, allocations: 23.81 kB / 395.3 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.01949, allocations: 11.98 kB / 395.4 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.0196, allocations: 4 kB / 395.4 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.01965, allocations: 27.91 kB / 395.4 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.01967, allocations: 16 kB / 395.4 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.01977, allocations: 226.9 kB / 395.6 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01977, allocations: 4 kB / 395.6 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005625/0.02033, allocations: 219.2 kB / 395.8 MB, free: 488 kB / 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.000355/0.02069, allocations: 254.6 kB / 396.1 MB, free: 224 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006834/0.02137, allocations: 0.5262 MB / 396.6 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02137, allocations: 0 / 396.6 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.02155, allocations: 391.9 kB / 397 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.02191, allocations: 57.06 kB / 397.1 MB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.02319, allocations: 0.8263 MB / 397.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.02329, allocations: 156.5 kB / 398 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.0234, allocations: 38.83 kB / 398.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.02365, allocations: 186.2 kB / 398.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.793e-06/0.02365, allocations: 0 / 398.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of Templates: time 0.01154/0.03519, allocations: 8.456 MB / 406.7 MB, free: 5.453 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.2021725829690695]