Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001024/0.001024, allocations: 84.31 kB / 22.21 MB, free: 2.289 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.001572/0.001572, allocations: 170 kB / 25.61 MB, free: 8.59 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.937/0.937, allocations: 177.1 MB / 206.1 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1325/0.1325, allocations: 32.79 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.622e-05, allocations: 5.406 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.001966/0.001983, allocations: 2.105 MB / 379.4 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.00337, allocations: 1.285 MB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.003454, allocations: 4 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.003677, allocations: 63.55 kB / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.003826, allocations: 95.31 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.004261, allocations: 207.1 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.004547, allocations: 457.7 kB / 381.5 MB, free: 21.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.004597, allocations: 24.88 kB / 381.5 MB, free: 21.33 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.004808, allocations: 199.3 kB / 381.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.004937, allocations: 151.4 kB / 381.9 MB, free: 20.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.00496, allocations: 12 kB / 381.9 MB, free: 20.97 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.005199, allocations: 191.7 kB / 382.1 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.005263, allocations: 99.55 kB / 382.2 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/0.005331, allocations: 107.6 kB / 382.3 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.00568, allocations: 482.2 kB / 382.7 MB, free: 20.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.005682, allocations: 0 / 382.7 MB, free: 20.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005683, allocations: 4 kB / 382.7 MB, free: 20.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.005688, allocations: 0 / 382.7 MB, free: 20.11 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.0005355/0.006223, allocations: 0.7491 MB / 383.5 MB, free: 19.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.006253, allocations: 11.98 kB / 383.5 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.006464, allocations: 104.6 kB / 383.6 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.006637, allocations: 220.9 kB / 383.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.006655, allocations: 29.38 kB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.006682, allocations: 40.12 kB / 383.9 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.006992, allocations: 352.1 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.007004, allocations: 7.938 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.007023, allocations: 16 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.007047, allocations: 17 kB / 384.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.007168, allocations: 118.9 kB / 384.4 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.007908, allocations: 1.06 MB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.008053, allocations: 145.2 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.008103, allocations: 46.98 kB / 385.6 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.008129, allocations: 8 kB / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.008143, allocations: 41.44 kB / 385.7 MB, free: 16.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.008144, allocations: 0 / 385.7 MB, free: 16.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002847/0.008429, allocations: 161.6 kB / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.008452, allocations: 106.8 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.008549, allocations: 300.2 kB / 386.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.008561, allocations: 25.7 kB / 386.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.008629, allocations: 286.9 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.008653, allocations: 67.42 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.008722, allocations: 71.34 kB / 386.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.008766, allocations: 0.5156 MB / 387.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.681e-05/0.008813, allocations: 24.22 kB / 387.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.008884, allocations: 136.7 kB / 387.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.009024, allocations: 203.7 kB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.009025, allocations: 0 / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002065/0.009232, allocations: 193.3 kB / 387.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.009243, allocations: 11.98 kB / 387.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.301e-05/0.009276, allocations: 32 kB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.009286, allocations: 7.938 kB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.009358, allocations: 27.91 kB / 387.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.009362, allocations: 4 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.339e-05/0.009435, allocations: 36.16 kB / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.009452, allocations: 16 kB / 387.9 MB, free: 14.59 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 8.186e-05/0.009534, allocations: 169.5 kB / 388 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.009587, allocations: 27.86 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.009847, allocations: 219.2 kB / 388.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.009851, allocations: 4 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009853, allocations: 4 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.009857, allocations: 7.922 kB / 388.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.01007, allocations: 225 kB / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.612e-05/0.0101, allocations: 31.98 kB / 388.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.01015, allocations: 15.98 kB / 388.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01015, allocations: 0 / 388.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01016, allocations: 15.98 kB / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.01016, allocations: 0 / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01016, allocations: 4 kB / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.01036, allocations: 0.5157 MB / 389.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.01037, allocations: 31.78 kB / 389.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.01039, allocations: 4 kB / 389.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.701e-05/0.01049, allocations: 15.98 kB / 389.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.01053, allocations: 19.98 kB / 389.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.01055, allocations: 15.92 kB / 389.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.487e-05/0.0106, allocations: 185.1 kB / 389.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0106, allocations: 0 / 389.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.01091, allocations: 143.5 kB / 389.5 MB, free: 12.9 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.0001804/0.01109, allocations: 194.8 kB / 389.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.0113, allocations: 354.8 kB / 390 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.0113, allocations: 0 / 390 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-05/0.01139, allocations: 298.9 kB / 390.3 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.0117, allocations: 36.47 kB / 390.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/0.01244, allocations: 0.6391 MB / 391 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.883e-05/0.0125, allocations: 143.5 kB / 391.1 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.728e-05/0.01255, allocations: 17.48 kB / 391.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.01269, allocations: 154.2 kB / 391.3 MB, free: 10.9 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01269, allocations: 0 / 391.3 MB, free: 10.9 MB / 314.7 MB Notification: Performance of Templates: time 0.00615/0.01884, allocations: 5.864 MB / 397.2 MB, free: 5.141 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3645280241034925]