Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.001125/0.001125, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001683/0.001683, allocations: 165.8 kB / 24.82 MB, free: 9.266 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.29/0.29, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.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.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_4.1.0_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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.502e-05, allocations: 5.547 kB / 378.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002669/0.002694, allocations: 2.102 MB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.004296, allocations: 1.289 MB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.62e-05/0.004392, allocations: 0 / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.004666, allocations: 67.55 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.004822, allocations: 95.31 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.005359, allocations: 211.1 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000376/0.005735, allocations: 457.7 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.902e-05/0.005794, allocations: 12.94 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.006048, allocations: 199.2 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.006194, allocations: 151.5 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.00622, allocations: 12 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.006506, allocations: 199.7 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.006587, allocations: 91.55 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.781e-05/0.006665, allocations: 99.58 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.007097, allocations: 494.1 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.007099, allocations: 0 / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.007099, allocations: 4 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.007103, allocations: 0 / 384 MB, free: 12.89 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0006744/0.007778, allocations: 0.7491 MB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.007817, allocations: 8.031 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.008037, allocations: 100.6 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.008239, allocations: 220.9 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.008263, allocations: 29.38 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.008295, allocations: 40.12 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.008645, allocations: 352.1 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.008659, allocations: 11.98 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.008678, allocations: 12 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.008707, allocations: 17 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.008848, allocations: 126.8 kB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.009946, allocations: 1.041 MB / 386.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.0101, allocations: 149.1 kB / 386.8 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.01016, allocations: 50.98 kB / 386.9 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.01019, allocations: 11.56 kB / 386.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.01021, allocations: 53.31 kB / 386.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.01022, allocations: 0 / 386.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003049/0.01052, allocations: 161.5 kB / 387.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.01056, allocations: 106.8 kB / 387.2 MB, free: 9.461 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.01072, allocations: 296.1 kB / 387.5 MB, free: 9.152 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.01074, allocations: 25.7 kB / 387.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.01085, allocations: 286.8 kB / 387.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.01089, allocations: 63.47 kB / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.01095, allocations: 67.33 kB / 387.9 MB, free: 8.699 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.01108, allocations: 0.5237 MB / 388.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-05/0.01113, allocations: 24.22 kB / 388.5 MB, free: 8.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.01123, allocations: 155.5 kB / 388.6 MB, free: 7.938 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.0114, allocations: 191.5 kB / 388.8 MB, free: 7.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01141, allocations: 0 / 388.8 MB, free: 7.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002316/0.01164, allocations: 205.1 kB / 389 MB, free: 7.496 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.01166, allocations: 8 kB / 389 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.841e-05/0.0117, allocations: 32.33 kB / 389 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.01171, allocations: 8 kB / 389 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.877e-05/0.01179, allocations: 23.98 kB / 389.1 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.01179, allocations: 11.92 kB / 389.1 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.52e-05/0.01187, allocations: 23.89 kB / 389.1 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.01188, allocations: 15.98 kB / 389.1 MB, free: 7.375 MB / 362.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.000112/0.012, allocations: 184.9 kB / 389.3 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.01205, allocations: 23.86 kB / 389.3 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.01232, allocations: 215.3 kB / 389.5 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.01233, allocations: 4 kB / 389.5 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.01233, allocations: 0 / 389.5 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.01234, allocations: 3.938 kB / 389.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.0126, allocations: 221.1 kB / 389.8 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.272e-05/0.01263, allocations: 31.98 kB / 389.8 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.01267, allocations: 15.98 kB / 389.8 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01268, allocations: 7.938 kB / 389.8 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01269, allocations: 12 kB / 389.8 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01269, allocations: 7.938 kB / 389.8 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01269, allocations: 0 / 389.8 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.01297, allocations: 0.5215 MB / 390.3 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.01299, allocations: 23.8 kB / 390.4 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.01301, allocations: 7.984 kB / 390.4 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.0131, allocations: 8 kB / 390.4 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.01315, allocations: 23.97 kB / 390.4 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.01317, allocations: 19.94 kB / 390.4 MB, free: 5.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.038e-05/0.01324, allocations: 185.1 kB / 390.6 MB, free: 5.816 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01324, allocations: 4 kB / 390.6 MB, free: 5.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003406/0.01358, allocations: 151.4 kB / 390.8 MB, free: 5.664 MB / 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 (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.0002124/0.01379, allocations: 179 kB / 390.9 MB, free: 5.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.01405, allocations: 350.8 kB / 391.3 MB, free: 5.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01405, allocations: 0 / 391.3 MB, free: 5.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.01419, allocations: 298 kB / 391.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.0145, allocations: 55.69 kB / 391.6 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/0.01541, allocations: 0.6481 MB / 392.3 MB, free: 3.988 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.06e-05/0.01549, allocations: 139.6 kB / 392.4 MB, free: 3.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.806e-05/0.01555, allocations: 17.47 kB / 392.4 MB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.01572, allocations: 154.2 kB / 392.6 MB, free: 3.66 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01572, allocations: 0 / 392.6 MB, free: 3.66 MB / 362.7 MB Notification: Performance of Templates: time 0.007578/0.0233, allocations: 5.758 MB / 398.3 MB, free: 13.96 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1980394730344415]