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.001356/0.001356, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.001536/0.001536, allocations: 216 kB / 23.73 MB, free: 4.406 MB / 14.72 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 1.507/1.507, allocations: 230.5 MB / 257.4 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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.2346/0.2346, allocations: 46.93 MB / 360.8 MB, free: 3.961 MB / 286.1 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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|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 0.002658/0.002658, allocations: 83.8 kB / 0.4967 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3397, allocations: 66.08 MB / 0.5612 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003426/0.3431, allocations: 2.008 MB / 0.5632 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.3453, allocations: 1.211 MB / 0.5643 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.51e-05/0.3453, allocations: 4 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.3457, allocations: 59.61 kB / 0.5644 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3459, allocations: 91.44 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.3465, allocations: 222.4 kB / 0.5647 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.347, allocations: 430 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.3471, allocations: 16.94 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.3473, allocations: 155.2 kB / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.3476, allocations: 171.1 kB / 0.5654 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.3476, allocations: 12 kB / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.348, allocations: 207.7 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3481, allocations: 79.55 kB / 0.5657 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.3483, allocations: 139.1 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.349, allocations: 0.5157 MB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.349, allocations: 0 / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.349, allocations: 0 / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.349, allocations: 0 / 0.5664 GB, free: 14.7 MB / 414.1 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.001171/0.3501, allocations: 0.657 MB / 0.567 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3502, allocations: 8.031 kB / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003989/0.3506, allocations: 84.55 kB / 0.5671 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.351, allocations: 234.7 kB / 0.5673 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.351, allocations: 29 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.3511, allocations: 39.94 kB / 0.5674 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000961/0.3521, allocations: 0.5535 MB / 0.5679 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3521, allocations: 0 / 0.5679 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.3521, allocations: 16 kB / 0.5679 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/0.3521, allocations: 20.98 kB / 0.568 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008574/0.353, allocations: 415.6 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.3548, allocations: 1.063 MB / 0.5694 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.3554, allocations: 267.6 kB / 0.5697 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.3557, allocations: 138.4 kB / 0.5698 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.3558, allocations: 4 kB / 0.5698 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.3558, allocations: 42.55 kB / 0.5698 GB, free: 11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.784e-06/0.3558, allocations: 0 / 0.5698 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001248/0.3571, allocations: 443.2 kB / 0.5702 GB, free: 10.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/0.3571, allocations: 119 kB / 0.5704 GB, free: 10.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.3574, allocations: 248.8 kB / 0.5706 GB, free: 10.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.3574, allocations: 29.7 kB / 0.5706 GB, free: 10.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.3576, allocations: 232.2 kB / 0.5708 GB, free: 9.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.3577, allocations: 59.53 kB / 0.5709 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.3578, allocations: 57.7 kB / 0.571 GB, free: 9.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.358, allocations: 338.8 kB / 0.5713 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.3583, allocations: 132.1 kB / 0.5714 GB, free: 9.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.3587, allocations: 210.6 kB / 0.5716 GB, free: 9.059 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/0.3595, allocations: 369.8 kB / 0.572 GB, free: 8.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3595, allocations: 0 / 0.572 GB, free: 8.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000935/0.3604, allocations: 407.1 kB / 0.5724 GB, free: 8.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3605, allocations: 10.17 kB / 0.5724 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.888e-05/0.3605, allocations: 31.98 kB / 0.5724 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3605, allocations: 7.938 kB / 0.5724 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.3608, allocations: 40.3 kB / 0.5724 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3608, allocations: 11.94 kB / 0.5725 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.361, allocations: 23.88 kB / 0.5725 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.361, allocations: 19.98 kB / 0.5725 GB, free: 8.117 MB / 414.1 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.0002814/0.3613, allocations: 203 kB / 0.5727 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/0.3614, allocations: 23.86 kB / 0.5727 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008963/0.3623, allocations: 387 kB / 0.5731 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.3623, allocations: 7.984 kB / 0.5731 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3623, allocations: 0 / 0.5731 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3623, allocations: 0 / 0.5731 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005775/0.3629, allocations: 281.1 kB / 0.5734 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.626e-05/0.3629, allocations: 28 kB / 0.5734 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.3631, allocations: 31.91 kB / 0.5734 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3631, allocations: 0 / 0.5734 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.3631, allocations: 15.98 kB / 0.5734 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3631, allocations: 3.938 kB / 0.5734 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3631, allocations: 3.984 kB / 0.5734 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009502/0.3641, allocations: 0.5564 MB / 0.574 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.3641, allocations: 15.86 kB / 0.574 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.3642, allocations: 11.94 kB / 0.574 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.3644, allocations: 19.97 kB / 0.574 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.3645, allocations: 23.92 kB / 0.574 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.3646, allocations: 15.98 kB / 0.5741 GB, free: 6.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.3647, allocations: 168.5 kB / 0.5742 GB, free: 6.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3647, allocations: 0 / 0.5742 GB, free: 6.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006193/0.3653, allocations: 143.5 kB / 0.5744 GB, free: 6.148 MB / 414.1 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.0003885/0.3657, allocations: 175 kB / 0.5745 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.3668, allocations: 0.5418 MB / 0.5751 GB, free: 5.367 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3668, allocations: 0 / 0.5751 GB, free: 5.367 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005649/0.3674, allocations: 387.1 kB / 0.5754 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.3679, allocations: 33.17 kB / 0.5755 GB, free: 4.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.3695, allocations: 0.7364 MB / 0.5762 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.3698, allocations: 244.2 kB / 0.5764 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.37, allocations: 45.36 kB / 0.5764 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.37, allocations: 19.44 kB / 0.5765 GB, free: 3.812 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.37, allocations: 4 kB / 0.5765 GB, free: 3.809 MB / 414.1 MB Notification: Performance of Templates: time 0.01198/0.382, allocations: 5.593 MB / 0.5819 GB, free: 14.3 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.433864675462246]