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.0008775/0.0008775, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003422/0.003422, allocations: 160 kB / 24.7 MB, free: 9.441 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.8501/0.8501, allocations: 177 MB / 204.9 MB, free: 5.711 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.2224/0.2224, allocations: 34.24 MB / 295.6 MB, free: 0.6719 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.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 1.403e-06/1.403e-06, allocations: 0 / 443.5 MB, free: 1.016 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.843e-05, allocations: 6.219 kB / 443.5 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.1519/0.1519, allocations: 2.022 MB / 445.5 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1531, allocations: 1.198 MB / 446.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.298e-05/0.1532, allocations: 6.562 kB / 446.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.1534, allocations: 67.11 kB / 446.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.1535, allocations: 89.83 kB / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.1539, allocations: 223 kB / 447.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.1541, allocations: 448 kB / 447.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.1542, allocations: 13.5 kB / 447.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.1544, allocations: 192.6 kB / 447.7 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1545, allocations: 152.9 kB / 447.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.1545, allocations: 11.62 kB / 447.9 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.1547, allocations: 205.5 kB / 448.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.1548, allocations: 93.16 kB / 448.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.1548, allocations: 98.59 kB / 448.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.1552, allocations: 0.5207 MB / 448.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1552, allocations: 0 / 448.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1552, allocations: 0 / 448.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1552, allocations: 0 / 448.8 MB, free: 42.2 MB / 410.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.0006236/0.1558, allocations: 0.6523 MB / 449.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1558, allocations: 8.75 kB / 449.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.1561, allocations: 81.8 kB / 449.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1563, allocations: 234 kB / 449.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1563, allocations: 33.91 kB / 449.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.1563, allocations: 39 kB / 449.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.1568, allocations: 0.556 MB / 450.4 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1568, allocations: 0 / 450.4 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1568, allocations: 14.75 kB / 450.4 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.1568, allocations: 21.16 kB / 450.4 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.1572, allocations: 412.1 kB / 450.8 MB, free: 41.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.1581, allocations: 1.059 MB / 451.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.1583, allocations: 270.9 kB / 452.1 MB, free: 40.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1585, allocations: 131.8 kB / 452.2 MB, free: 40.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.1585, allocations: 12.78 kB / 452.3 MB, free: 40.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.1585, allocations: 33.47 kB / 452.3 MB, free: 40.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.1585, allocations: 1.219 kB / 452.3 MB, free: 40.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005895/0.1591, allocations: 450.7 kB / 452.7 MB, free: 40.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.1592, allocations: 109.6 kB / 452.8 MB, free: 40.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1593, allocations: 247.7 kB / 453.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1593, allocations: 32.83 kB / 453.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.1593, allocations: 234.6 kB / 453.3 MB, free: 39.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.1594, allocations: 63.36 kB / 453.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.1594, allocations: 64.81 kB / 453.5 MB, free: 39.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.947e-05/0.1595, allocations: 331.3 kB / 453.8 MB, free: 39.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.1596, allocations: 131.2 kB / 453.9 MB, free: 39.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.1598, allocations: 214 kB / 454.1 MB, free: 39.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.1601, allocations: 367.9 kB / 454.5 MB, free: 39.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1601, allocations: 0 / 454.5 MB, free: 39.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004105/0.1605, allocations: 410.7 kB / 454.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1606, allocations: 8.219 kB / 454.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.1606, allocations: 26.78 kB / 454.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1606, allocations: 8.859 kB / 454.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.1607, allocations: 26.48 kB / 455 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1607, allocations: 14.03 kB / 455 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.1608, allocations: 32.3 kB / 455 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1608, allocations: 18.25 kB / 455 MB, free: 38.94 MB / 410.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.0001012/0.1609, allocations: 200.5 kB / 455.2 MB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.1609, allocations: 23.27 kB / 455.2 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.1613, allocations: 381.6 kB / 455.6 MB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1613, allocations: 6.875 kB / 455.6 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1613, allocations: 3.938 kB / 455.6 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1613, allocations: 13.45 kB / 455.6 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.1616, allocations: 283.5 kB / 455.9 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.1616, allocations: 27.03 kB / 455.9 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.1617, allocations: 24.12 kB / 456 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-06/0.1617, allocations: 6.875 kB / 456 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1617, allocations: 9.75 kB / 456 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1617, allocations: 2.812 kB / 456 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1617, allocations: 4 kB / 456 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.1621, allocations: 0.5637 MB / 456.6 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.1621, allocations: 24.14 kB / 456.6 MB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.1621, allocations: 5.984 kB / 456.6 MB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1622, allocations: 21.56 kB / 456.6 MB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.1623, allocations: 26.73 kB / 456.6 MB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1623, allocations: 12.66 kB / 456.6 MB, free: 38.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.745e-05/0.1623, allocations: 174 kB / 456.8 MB, free: 38.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1623, allocations: 0 / 456.8 MB, free: 38.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002924/0.1626, allocations: 145.2 kB / 457 MB, free: 37.98 MB / 410.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.0002024/0.1628, allocations: 170.7 kB / 457.1 MB, free: 37.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004259/0.1633, allocations: 0.5244 MB / 457.6 MB, free: 37.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.1633, allocations: 7.125 kB / 457.6 MB, free: 37.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.1635, allocations: 383.2 kB / 458 MB, free: 37.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.1638, allocations: 32.8 kB / 458.1 MB, free: 37.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.1644, allocations: 0.7459 MB / 458.8 MB, free: 36.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.1645, allocations: 242.5 kB / 459 MB, free: 36.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.1646, allocations: 21.84 kB / 459.1 MB, free: 36.72 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1646, allocations: 0 / 459.1 MB, free: 36.72 MB / 410.7 MB Notification: Performance of Templates: time 0.004147/0.1687, allocations: 6.158 MB / 465.2 MB, free: 36.12 MB / 410.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=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: 4.65536171104759]