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.0007022/0.0007022, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001723, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006908/0.0006908, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008939/0.001585, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 0.9632/0.9632, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.085/1.048, allocations: 53.87 MB / 243.9 MB, free: 14.82 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.2701/0.2701, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02459/0.2947, allocations: 13.23 MB / 292.8 MB, free: 6.359 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.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|m_flow.[0-9,]+.|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.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|m_flow.[0-9,]+.|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 1.273e-06/1.273e-06, allocations: 0 / 294.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.136e-05, allocations: 6.344 kB / 294.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002332/0.002353, allocations: 2.184 MB / 296.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.003934, allocations: 1.317 MB / 297.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.004043, allocations: 0 / 297.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.004269, allocations: 75.47 kB / 297.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.004442, allocations: 91.38 kB / 297.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.004898, allocations: 203.1 kB / 298 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.005266, allocations: 469.7 kB / 298.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.852e-05/0.005324, allocations: 18.91 kB / 298.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.005588, allocations: 220.4 kB / 298.7 MB, free: 488 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.005739, allocations: 147.4 kB / 298.8 MB, free: 340 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.005764, allocations: 12 kB / 298.8 MB, free: 328 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.006077, allocations: 211.7 kB / 299 MB, free: 116 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.006158, allocations: 67.66 kB / 299.1 MB, free: 48 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.306e-05/0.006241, allocations: 79.8 kB / 299.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.006642, allocations: 450.2 kB / 299.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.367e-05/0.006655, allocations: 0 / 299.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006656, allocations: 0 / 299.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.006672, allocations: 0 / 299.6 MB, free: 15.53 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0006645/0.007336, allocations: 0.6683 MB / 300.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.007364, allocations: 8.922 kB / 300.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.007622, allocations: 170 kB / 300.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.007837, allocations: 206.1 kB / 300.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.007858, allocations: 25.38 kB / 300.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.007893, allocations: 40.12 kB / 300.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.008265, allocations: 363.2 kB / 301.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.008275, allocations: 0 / 301.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.008298, allocations: 19.98 kB / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.008326, allocations: 13 kB / 301.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.00848, allocations: 141.7 kB / 301.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008034/0.009284, allocations: 0.8288 MB / 302.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.009437, allocations: 157.2 kB / 302.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.009487, allocations: 38.58 kB / 302.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.009517, allocations: 11.92 kB / 302.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.009538, allocations: 46.59 kB / 302.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.002e-06/0.009539, allocations: 0 / 302.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.00024/0.009779, allocations: 113.6 kB / 302.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.009817, allocations: 106.8 kB / 302.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.009928, allocations: 216.9 kB / 302.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.009943, allocations: 29.7 kB / 302.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/0.01003, allocations: 212.3 kB / 303 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.01006, allocations: 67.42 kB / 303 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.01012, allocations: 49.67 kB / 303.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.0102, allocations: 342.7 kB / 303.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.01025, allocations: 26.92 kB / 303.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.01033, allocations: 98.67 kB / 303.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.0105, allocations: 166.4 kB / 303.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.0105, allocations: 0 / 303.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001903/0.01069, allocations: 156.1 kB / 303.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.0107, allocations: 11.94 kB / 303.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/0.01073, allocations: 15.98 kB / 303.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.01075, allocations: 4 kB / 303.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.01084, allocations: 31.97 kB / 303.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.01084, allocations: 8.281 kB / 303.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.01092, allocations: 19.95 kB / 304 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.01093, allocations: 23.86 kB / 304 MB, free: 10.83 MB / 298.7 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_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) * 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.0001112/0.01105, allocations: 128.6 kB / 304.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.01109, allocations: 15.92 kB / 304.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.01134, allocations: 176.2 kB / 304.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.01135, allocations: 8 kB / 304.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01135, allocations: 0 / 304.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01135, allocations: 0 / 304.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.01158, allocations: 169.6 kB / 304.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/0.01161, allocations: 23.98 kB / 304.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.01166, allocations: 15.98 kB / 304.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.01168, allocations: 27.78 kB / 304.5 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01169, allocations: 0 / 304.5 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.0117, allocations: 8 kB / 304.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.0117, allocations: 0 / 304.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.0117, allocations: 7.922 kB / 304.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.01191, allocations: 392.7 kB / 304.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.01193, allocations: 4 kB / 304.9 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.01203, allocations: 7.984 kB / 304.9 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.01208, allocations: 19.98 kB / 305 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.01209, allocations: 7.984 kB / 305 MB, free: 9.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.01214, allocations: 70.72 kB / 305 MB, free: 9.734 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01214, allocations: 0 / 305 MB, free: 9.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.01244, allocations: 139.5 kB / 305.2 MB, free: 9.598 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 (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.000219/0.01266, allocations: 165 kB / 305.3 MB, free: 9.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.01293, allocations: 353 kB / 305.7 MB, free: 9.031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.01294, allocations: 4 kB / 305.7 MB, free: 9.027 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.01313, allocations: 300.1 kB / 306 MB, free: 8.676 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.0135, allocations: 318.7 kB / 306.3 MB, free: 8.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.01603, allocations: 0.6785 MB / 307 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.221e-05/0.01612, allocations: 127.9 kB / 307.1 MB, free: 7.438 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.967e-05/0.01618, allocations: 13.47 kB / 307.1 MB, free: 7.426 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.01636, allocations: 123.3 kB / 307.2 MB, free: 7.305 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01636, allocations: 0 / 307.2 MB, free: 7.305 MB / 298.7 MB Notification: Performance of Templates: time 0.006884/0.02325, allocations: 5.462 MB / 312.7 MB, free: 1.965 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0581972915679216]