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.0014/0.0014, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001692/0.001692, allocations: 160.2 kB / 24.91 MB, free: 8.758 MB / 18.57 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.974/0.974, allocations: 177 MB / 205.2 MB, free: 5.418 MB / 186.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.3083/0.3083, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 266.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.773e-06/1.773e-06, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.611e-05, allocations: 2.312 kB / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.004088/0.004114, allocations: 2.168 MB / 328.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.007022, allocations: 1.301 MB / 329.5 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.00715, allocations: 4 kB / 329.5 MB, free: 3.602 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.0075, allocations: 71.59 kB / 329.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.007753, allocations: 99.31 kB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000729/0.008482, allocations: 215.7 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.009034, allocations: 449.7 kB / 330.3 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.009123, allocations: 26.88 kB / 330.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004099/0.009533, allocations: 191.3 kB / 330.5 MB, free: 2.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.009824, allocations: 151.4 kB / 330.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.009882, allocations: 12 kB / 330.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.01044, allocations: 207.6 kB / 330.9 MB, free: 2.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.01055, allocations: 91.55 kB / 330.9 MB, free: 2.117 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.01069, allocations: 99.58 kB / 331 MB, free: 2.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006782/0.01137, allocations: 498.2 kB / 331.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.01137, allocations: 0 / 331.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.651e-06/0.01138, allocations: 0 / 331.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.01139, allocations: 0 / 331.5 MB, free: 1.531 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.0009108/0.0123, allocations: 0.6022 MB / 332.1 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.01234, allocations: 8.031 kB / 332.1 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003766/0.01271, allocations: 88.86 kB / 332.2 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.01302, allocations: 206 kB / 332.4 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.01304, allocations: 29.38 kB / 332.5 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.0131, allocations: 40.12 kB / 332.5 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/0.01367, allocations: 355.2 kB / 332.8 MB, free: 148 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.01369, allocations: 4 kB / 332.8 MB, free: 144 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.01372, allocations: 11.98 kB / 332.9 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/0.01376, allocations: 21 kB / 332.9 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.01405, allocations: 133.7 kB / 333 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.01542, allocations: 0.8327 MB / 333.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.01568, allocations: 168.8 kB / 334 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.766e-05/0.01577, allocations: 30.52 kB / 334 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.01581, allocations: 15.92 kB / 334 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.01585, allocations: 34.56 kB / 334.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.615e-06/0.01585, allocations: 0 / 334.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004189/0.01627, allocations: 109.7 kB / 334.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.01633, allocations: 118.8 kB / 334.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.01651, allocations: 213 kB / 334.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.01654, allocations: 37.94 kB / 334.5 MB, free: 14.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01665, allocations: 208.1 kB / 334.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.0167, allocations: 63.42 kB / 334.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.01681, allocations: 57.66 kB / 334.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.01693, allocations: 334.7 kB / 335.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.01703, allocations: 23.06 kB / 335.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.01716, allocations: 102.7 kB / 335.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.01742, allocations: 158 kB / 335.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.01742, allocations: 0 / 335.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003145/0.01774, allocations: 153.1 kB / 335.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.01776, allocations: 8 kB / 335.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.775e-05/0.01781, allocations: 16 kB / 335.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.01783, allocations: 4 kB / 335.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.01798, allocations: 31.91 kB / 335.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.01799, allocations: 4 kB / 335.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.01812, allocations: 23.88 kB / 335.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.01816, allocations: 15.94 kB / 335.7 MB, free: 13.03 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 0.0002571/0.01841, allocations: 132.8 kB / 335.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.721e-05/0.0185, allocations: 19.98 kB / 335.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003978/0.0189, allocations: 163.4 kB / 336 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.01891, allocations: 7.984 kB / 336 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.01891, allocations: 11.88 kB / 336.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.01891, allocations: 0 / 336.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.0193, allocations: 181.6 kB / 336.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.068e-05/0.01935, allocations: 19.98 kB / 336.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.01946, allocations: 23.97 kB / 336.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01946, allocations: 4 kB / 336.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.01948, allocations: 4 kB / 336.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.01949, allocations: 4 kB / 336.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01949, allocations: 0 / 336.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.01982, allocations: 399.3 kB / 336.7 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.01985, allocations: 19.86 kB / 336.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.01989, allocations: 0 / 336.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.0201, allocations: 19.98 kB / 336.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.02017, allocations: 15.97 kB / 336.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/0.02019, allocations: 8 kB / 336.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.929e-05/0.02027, allocations: 66.72 kB / 336.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02027, allocations: 0 / 336.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005674/0.02084, allocations: 147.5 kB / 336.9 MB, free: 11.76 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.0003553/0.02119, allocations: 156.1 kB / 337.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003767/0.02157, allocations: 338.1 kB / 337.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.02158, allocations: 4 kB / 337.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.02179, allocations: 288.1 kB / 337.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.02227, allocations: 28.48 kB / 337.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.02372, allocations: 0.6475 MB / 338.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.02384, allocations: 123.8 kB / 338.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.105e-05/0.02393, allocations: 21.47 kB / 338.5 MB, free: 9.996 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.0242, allocations: 123.3 kB / 338.7 MB, free: 9.875 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0242, allocations: 0 / 338.7 MB, free: 9.875 MB / 314.7 MB Notification: Performance of Templates: time 0.009948/0.03415, allocations: 5.604 MB / 344.3 MB, free: 4.379 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0969200511462986]