Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.001454/0.001454, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001565/0.001565, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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.313/1.313, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 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.2031/0.2031, allocations: 46.92 MB / 361.5 MB, free: 4.195 MB / 286.1 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.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 75.88 kB / 0.4975 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2696, allocations: 66.07 MB / 0.562 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003298/0.2729, allocations: 2.113 MB / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.275, allocations: 1.34 MB / 0.5654 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.7e-05/0.2751, allocations: 7.938 kB / 0.5654 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.2754, allocations: 71.59 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.2756, allocations: 83.44 kB / 0.5655 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.2762, allocations: 211.2 kB / 0.5657 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004824/0.2766, allocations: 434 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.032e-05/0.2767, allocations: 16.92 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.2769, allocations: 155.2 kB / 0.5663 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.2772, allocations: 183 kB / 0.5665 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.2772, allocations: 12 kB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004501/0.2777, allocations: 267.6 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.2778, allocations: 95.52 kB / 0.5668 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.2779, allocations: 155 kB / 0.567 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006201/0.2785, allocations: 0.5313 MB / 0.5675 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2785, allocations: 0 / 0.5675 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2785, allocations: 0 / 0.5675 GB, free: 14.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.2785, allocations: 3.938 kB / 0.5675 GB, free: 14.58 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001064/0.2796, allocations: 0.657 MB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.2796, allocations: 8.031 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.28, allocations: 72.62 kB / 0.5682 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.2804, allocations: 242.6 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.2804, allocations: 29 kB / 0.5685 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.2805, allocations: 36 kB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000861/0.2813, allocations: 0.5535 MB / 0.569 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2813, allocations: 0 / 0.569 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.2814, allocations: 16 kB / 0.5691 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/0.2814, allocations: 20.94 kB / 0.5691 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007836/0.2822, allocations: 415.6 kB / 0.5695 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.284, allocations: 1.245 MB / 0.5707 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.2846, allocations: 279.5 kB / 0.571 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.2849, allocations: 136.7 kB / 0.5711 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/0.285, allocations: 16.02 kB / 0.5711 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.285, allocations: 34.56 kB / 0.5711 GB, free: 10.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.285, allocations: 0 / 0.5711 GB, free: 10.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001169/0.2862, allocations: 469.1 kB / 0.5716 GB, free: 10.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.2862, allocations: 106.8 kB / 0.5717 GB, free: 10.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/0.2868, allocations: 0.4941 MB / 0.5722 GB, free: 9.574 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.2869, allocations: 29.7 kB / 0.5722 GB, free: 9.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.287, allocations: 212.2 kB / 0.5724 GB, free: 9.324 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.2871, allocations: 63.44 kB / 0.5725 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.2872, allocations: 65.69 kB / 0.5725 GB, free: 9.191 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.2874, allocations: 350.8 kB / 0.5729 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.2878, allocations: 136.1 kB / 0.573 GB, free: 8.703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.2882, allocations: 214.6 kB / 0.5732 GB, free: 8.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007412/0.2889, allocations: 364.2 kB / 0.5735 GB, free: 8.066 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.2889, allocations: 4 kB / 0.5735 GB, free: 8.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008658/0.2898, allocations: 425.1 kB / 0.574 GB, free: 7.641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2898, allocations: 15.88 kB / 0.574 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.348e-05/0.2899, allocations: 31.98 kB / 0.574 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.2899, allocations: 4 kB / 0.574 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.2901, allocations: 31.91 kB / 0.574 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2901, allocations: 4 kB / 0.574 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.2903, allocations: 55.64 kB / 0.5741 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.2903, allocations: 16 kB / 0.5741 GB, free: 7.484 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002214/0.2906, allocations: 211 kB / 0.5743 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2907, allocations: 47.66 kB / 0.5744 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007787/0.2914, allocations: 384.8 kB / 0.5747 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.2914, allocations: 4 kB / 0.5747 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2915, allocations: 4 kB / 0.5747 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.2915, allocations: 0 / 0.5747 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.292, allocations: 340.4 kB / 0.575 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.782e-05/0.292, allocations: 35.98 kB / 0.5751 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.2922, allocations: 27.91 kB / 0.5751 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2922, allocations: 3.938 kB / 0.5751 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.2922, allocations: 12 kB / 0.5751 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2922, allocations: 3.984 kB / 0.5751 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2922, allocations: 0 / 0.5751 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008182/0.293, allocations: 0.5777 MB / 0.5757 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/0.2931, allocations: 47.62 kB / 0.5757 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.2932, allocations: 8 kB / 0.5757 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.2935, allocations: 23.91 kB / 0.5758 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.2935, allocations: 23.97 kB / 0.5758 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.2935, allocations: 8 kB / 0.5758 GB, free: 5.676 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003935/0.2939, allocations: 363 kB / 0.5761 GB, free: 5.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2939, allocations: 0 / 0.5761 GB, free: 5.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000567/0.2945, allocations: 127.7 kB / 0.5763 GB, free: 5.195 MB / 414.1 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003217/0.2948, allocations: 183 kB / 0.5764 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009166/0.2957, allocations: 0.534 MB / 0.577 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2957, allocations: 0 / 0.577 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004859/0.2962, allocations: 391.9 kB / 0.5773 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006299/0.2969, allocations: 89.47 kB / 0.5774 GB, free: 3.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.2982, allocations: 0.8084 MB / 0.5782 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.2987, allocations: 0.8419 MB / 0.579 GB, free: 2.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.2988, allocations: 31.42 kB / 0.5791 GB, free: 2.148 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2988, allocations: 0 / 0.5791 GB, free: 2.148 MB / 414.1 MB Notification: Performance of Templates: time 0.01112/0.3099, allocations: 7.463 MB / 0.5864 GB, free: 10.73 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.3323255819268525]