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.001317/0.001317, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001151/0.001151, allocations: 163.6 kB / 24.99 MB, free: 8.746 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.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2593/0.2593, allocations: 34.26 MB / 296 MB, free: 0.7656 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 1.273e-06/1.273e-06, allocations: 0 / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.557e-05, allocations: 2.312 kB / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002476/0.002501, allocations: 2.133 MB / 380.2 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.003909, allocations: 1.289 MB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.003994, allocations: 0 / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.004231, allocations: 67.55 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.004372, allocations: 95.31 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.004834, allocations: 215.1 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.005177, allocations: 453.7 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.005225, allocations: 12.94 kB / 382.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.005453, allocations: 203.2 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.005594, allocations: 143.5 kB / 382.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.005617, allocations: 12 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.005869, allocations: 203.7 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.005947, allocations: 95.48 kB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.409e-05/0.006031, allocations: 95.64 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.006459, allocations: 494.1 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.006463, allocations: 4 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006464, allocations: 0 / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.006469, allocations: 4 kB / 383.5 MB, free: 13.44 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.0006462/0.007116, allocations: 0.7375 MB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.007147, allocations: 12.03 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002393/0.007387, allocations: 104.6 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.007606, allocations: 228.8 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.007627, allocations: 29.38 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.007659, allocations: 40.12 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.008071, allocations: 384.1 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.008081, allocations: 3.938 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.00811, allocations: 16 kB / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.008139, allocations: 21 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.008345, allocations: 137.9 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.009354, allocations: 1.158 MB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.009553, allocations: 153.1 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.009632, allocations: 51.06 kB / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.009666, allocations: 11.98 kB / 386.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.009684, allocations: 33.39 kB / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.009685, allocations: 4 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003759/0.01006, allocations: 181.5 kB / 386.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.0101, allocations: 106.8 kB / 386.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.01028, allocations: 304.2 kB / 387.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.01029, allocations: 29.7 kB / 387.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.01041, allocations: 286.8 kB / 387.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.01045, allocations: 59.59 kB / 387.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.01052, allocations: 75.3 kB / 387.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.01064, allocations: 0.5079 MB / 388.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/0.01071, allocations: 28.22 kB / 388.2 MB, free: 8.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.01084, allocations: 159.8 kB / 388.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.01105, allocations: 203.3 kB / 388.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01105, allocations: 4 kB / 388.5 MB, free: 8.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002912/0.01134, allocations: 213.2 kB / 388.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.01136, allocations: 5.875 kB / 388.7 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.634e-05/0.01139, allocations: 36 kB / 388.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.0114, allocations: 4 kB / 388.8 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.01149, allocations: 32.25 kB / 388.8 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.0115, allocations: 7.938 kB / 388.8 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.771e-05/0.01158, allocations: 23.94 kB / 388.8 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.0116, allocations: 16 kB / 388.9 MB, free: 7.715 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_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.0001064/0.01171, allocations: 180.9 kB / 389 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.01176, allocations: 27.86 kB / 389.1 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.01209, allocations: 231.2 kB / 389.3 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01209, allocations: 3.984 kB / 389.3 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.0121, allocations: 7.938 kB / 389.3 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.0121, allocations: 7.938 kB / 389.3 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.0124, allocations: 300.5 kB / 389.6 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.943e-05/0.01243, allocations: 32 kB / 389.6 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.421e-05/0.01249, allocations: 19.97 kB / 389.7 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.01249, allocations: 0 / 389.7 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.0125, allocations: 12 kB / 389.7 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01251, allocations: 0 / 389.7 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01251, allocations: 8 kB / 389.7 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.01282, allocations: 0.5331 MB / 390.2 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.01284, allocations: 23.8 kB / 390.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.01286, allocations: 4 kB / 390.2 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.01296, allocations: 15.98 kB / 390.2 MB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.01302, allocations: 23.91 kB / 390.3 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.01304, allocations: 8 kB / 390.3 MB, free: 6.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.824e-05/0.01312, allocations: 197.1 kB / 390.5 MB, free: 6.031 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01312, allocations: 0 / 390.5 MB, free: 6.031 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003493/0.01347, allocations: 143.5 kB / 390.6 MB, free: 5.891 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.0002305/0.0137, allocations: 186.9 kB / 390.8 MB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.01401, allocations: 362.8 kB / 391.1 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01401, allocations: 0 / 391.1 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.01417, allocations: 302.9 kB / 391.4 MB, free: 4.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.0145, allocations: 40.28 kB / 391.5 MB, free: 4.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000995/0.01549, allocations: 0.6676 MB / 392.2 MB, free: 4.184 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.367e-05/0.01557, allocations: 135.7 kB / 392.3 MB, free: 4.031 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.384e-05/0.01564, allocations: 25.45 kB / 392.3 MB, free: 4.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.01567, allocations: 16.5 kB / 392.3 MB, free: 3.988 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01567, allocations: 0 / 392.3 MB, free: 3.988 MB / 362.7 MB Notification: Performance of Templates: time 0.006409/0.02208, allocations: 5.225 MB / 397.5 MB, free: 14.86 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.33585125207901]