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.000947/0.000947, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001181/0.001181, allocations: 165.3 kB / 25.61 MB, free: 8.879 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 0.8968/0.8968, allocations: 177.1 MB / 206 MB, free: 4.508 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.1445/0.1445, allocations: 34.25 MB / 296.8 MB, free: 13.93 MB / 282.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.302e-06/1.302e-06, allocations: 0 / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014e-05/1.144e-05, allocations: 2.312 kB / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002529/0.002541, allocations: 2.102 MB / 381.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.004152, allocations: 1.277 MB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.858e-05/0.00424, allocations: 8 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.004493, allocations: 63.55 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.004664, allocations: 103.3 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.005154, allocations: 203.2 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.005511, allocations: 461.7 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.005566, allocations: 20.88 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.005799, allocations: 195.3 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.005968, allocations: 147.5 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.005999, allocations: 12 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.006307, allocations: 199.7 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.033e-05/0.006387, allocations: 95.48 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.534e-05/0.006482, allocations: 107.6 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004615/0.006944, allocations: 486.2 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.006946, allocations: 0 / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.006947, allocations: 0 / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.006951, allocations: 0 / 384.8 MB, free: 17.91 MB / 314.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.0006948/0.007646, allocations: 0.7413 MB / 385.5 MB, free: 17.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.007678, allocations: 15.97 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.007908, allocations: 104.6 kB / 385.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.008103, allocations: 220.9 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.008119, allocations: 29.38 kB / 385.9 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.008145, allocations: 40.12 kB / 385.9 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.008488, allocations: 352.1 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.008499, allocations: 0 / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.008519, allocations: 19.98 kB / 386.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.008545, allocations: 20.94 kB / 386.3 MB, free: 16.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.008666, allocations: 110.9 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.009464, allocations: 1.064 MB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.009607, allocations: 141.2 kB / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.00966, allocations: 54.92 kB / 387.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.00969, allocations: 8 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.009711, allocations: 37.39 kB / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.954e-06/0.009713, allocations: 0 / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003631/0.01008, allocations: 160.5 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.0101, allocations: 118.9 kB / 388 MB, free: 14.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.01021, allocations: 292.2 kB / 388.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.01022, allocations: 33.7 kB / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.0103, allocations: 286.9 kB / 388.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.01033, allocations: 67.42 kB / 388.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.01039, allocations: 63.34 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.706e-05/0.01044, allocations: 0.5195 MB / 389.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.108e-05/0.01049, allocations: 24.22 kB / 389.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.01057, allocations: 140.7 kB / 389.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.01071, allocations: 196 kB / 389.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01072, allocations: 0 / 389.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002356/0.01095, allocations: 199.5 kB / 389.8 MB, free: 12.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.01096, allocations: 7.984 kB / 389.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/0.011, allocations: 28 kB / 389.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.01101, allocations: 4 kB / 389.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.01111, allocations: 35.91 kB / 389.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.01111, allocations: 4 kB / 389.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.002e-05/0.01119, allocations: 28.16 kB / 389.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.01121, allocations: 16 kB / 389.9 MB, free: 12.41 MB / 314.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 9.557e-05/0.01131, allocations: 173.5 kB / 390 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.01137, allocations: 23.86 kB / 390.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.01164, allocations: 223.1 kB / 390.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.01164, allocations: 4 kB / 390.3 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.01165, allocations: 8 kB / 390.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01165, allocations: 7.922 kB / 390.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.01191, allocations: 225 kB / 390.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.884e-05/0.01194, allocations: 32 kB / 390.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.012, allocations: 15.98 kB / 390.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.012, allocations: 0 / 390.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.01202, allocations: 15.98 kB / 390.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01202, allocations: 0 / 390.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01202, allocations: 0 / 390.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.01225, allocations: 0.5234 MB / 391.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.01228, allocations: 27.8 kB / 391.1 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.0123, allocations: 0 / 391.1 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.01241, allocations: 15.98 kB / 391.2 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.01245, allocations: 15.98 kB / 391.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.01247, allocations: 19.92 kB / 391.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.095e-05/0.01252, allocations: 189.1 kB / 391.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01252, allocations: 0 / 391.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003857/0.0129, allocations: 143.5 kB / 391.5 MB, free: 10.71 MB / 314.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.0002369/0.01314, allocations: 182.9 kB / 391.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.01338, allocations: 362.8 kB / 392 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01338, allocations: 3.938 kB / 392 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.01349, allocations: 294.9 kB / 392.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.01385, allocations: 44.45 kB / 392.4 MB, free: 9.707 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/0.01475, allocations: 0.6435 MB / 393 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.592e-05/0.01481, allocations: 139.5 kB / 393.2 MB, free: 8.871 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.065e-05/0.01487, allocations: 13.48 kB / 393.2 MB, free: 8.859 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.01504, allocations: 158.2 kB / 393.3 MB, free: 8.703 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01504, allocations: 0 / 393.3 MB, free: 8.703 MB / 314.7 MB Notification: Performance of Templates: time 0.006871/0.02192, allocations: 5.858 MB / 399.2 MB, free: 2.949 MB / 314.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.120541339274496]