Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.007565/0.007565, allocations: 106.8 kB / 21.98 MB, free: 5.223 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.001463/0.001463, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.412/1.412, allocations: 230.5 MB / 258.9 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2362/0.2362, allocations: 46.93 MB / 362.3 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 83.86 kB / 0.4982 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3267, allocations: 66.07 MB / 0.5628 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003596/0.3303, allocations: 2.116 MB / 0.5648 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.3326, allocations: 1.351 MB / 0.5661 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.3327, allocations: 4 kB / 0.5661 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.3331, allocations: 67.59 kB / 0.5662 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.3333, allocations: 91.38 kB / 0.5663 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000658/0.3339, allocations: 207.2 kB / 0.5665 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005464/0.3345, allocations: 430.1 kB / 0.5669 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.3346, allocations: 16.92 kB / 0.5669 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.3348, allocations: 159.1 kB / 0.5671 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.3351, allocations: 175.1 kB / 0.5672 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.3351, allocations: 12 kB / 0.5672 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005287/0.3357, allocations: 275.6 kB / 0.5675 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.3358, allocations: 91.47 kB / 0.5676 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.3359, allocations: 154.9 kB / 0.5677 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007173/0.3367, allocations: 0.5235 MB / 0.5683 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.3367, allocations: 4 kB / 0.5683 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3367, allocations: 4 kB / 0.5683 GB, free: 14.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.3367, allocations: 4 kB / 0.5683 GB, free: 14.57 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.00124/0.3379, allocations: 0.6608 MB / 0.5689 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.338, allocations: 8.031 kB / 0.5689 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/0.3384, allocations: 76.62 kB / 0.569 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.3388, allocations: 238.7 kB / 0.5692 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.3388, allocations: 29 kB / 0.5693 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.3388, allocations: 36 kB / 0.5693 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009647/0.3398, allocations: 0.5573 MB / 0.5698 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.3398, allocations: 0 / 0.5698 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.3399, allocations: 16 kB / 0.5698 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.3399, allocations: 21 kB / 0.5699 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008396/0.3407, allocations: 415.6 kB / 0.5703 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.3426, allocations: 1.238 MB / 0.5715 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.3432, allocations: 275.5 kB / 0.5717 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.3435, allocations: 134.5 kB / 0.5719 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.95e-05/0.3436, allocations: 11.98 kB / 0.5719 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.3436, allocations: 38.5 kB / 0.5719 GB, free: 10.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 4.308e-06/0.3436, allocations: 3.984 kB / 0.5719 GB, free: 10.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001224/0.3449, allocations: 469.1 kB / 0.5724 GB, free: 10.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.3449, allocations: 102.8 kB / 0.5725 GB, free: 10.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.3455, allocations: 0.5018 MB / 0.5729 GB, free: 9.562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3456, allocations: 25.7 kB / 0.573 GB, free: 9.531 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.3457, allocations: 216.4 kB / 0.5732 GB, free: 9.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/0.3458, allocations: 67.42 kB / 0.5732 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3459, allocations: 61.69 kB / 0.5733 GB, free: 9.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3461, allocations: 350.8 kB / 0.5736 GB, free: 8.828 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.3464, allocations: 132.1 kB / 0.5738 GB, free: 8.695 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.3468, allocations: 218.6 kB / 0.574 GB, free: 8.445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007239/0.3475, allocations: 357.9 kB / 0.5743 GB, free: 8.059 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3475, allocations: 0 / 0.5743 GB, free: 8.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008873/0.3484, allocations: 427.8 kB / 0.5747 GB, free: 7.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3484, allocations: 9.969 kB / 0.5747 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.665e-05/0.3485, allocations: 35.98 kB / 0.5748 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.3485, allocations: 4 kB / 0.5748 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.3487, allocations: 44.25 kB / 0.5748 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3487, allocations: 0 / 0.5748 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.349, allocations: 59.64 kB / 0.5749 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.349, allocations: 16 kB / 0.5749 GB, free: 7.473 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.0002294/0.3493, allocations: 197.7 kB / 0.5751 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3494, allocations: 47.66 kB / 0.5751 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000822/0.3502, allocations: 404.6 kB / 0.5755 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.3502, allocations: 4 kB / 0.5755 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3502, allocations: 0 / 0.5755 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3502, allocations: 4 kB / 0.5755 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.3508, allocations: 336.4 kB / 0.5758 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-05/0.3508, allocations: 27.98 kB / 0.5759 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.351, allocations: 31.97 kB / 0.5759 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.351, allocations: 7.938 kB / 0.5759 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.351, allocations: 4 kB / 0.5759 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.351, allocations: 4 kB / 0.5759 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.351, allocations: 0 / 0.5759 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008689/0.3519, allocations: 0.5796 MB / 0.5765 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/0.352, allocations: 47.62 kB / 0.5765 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.352, allocations: 4 kB / 0.5765 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.3523, allocations: 19.97 kB / 0.5765 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/0.3524, allocations: 19.97 kB / 0.5766 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.3524, allocations: 16 kB / 0.5766 GB, free: 5.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004266/0.3529, allocations: 367 kB / 0.5769 GB, free: 5.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3529, allocations: 0 / 0.5769 GB, free: 5.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005649/0.3534, allocations: 127.7 kB / 0.577 GB, free: 5.184 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.0003413/0.3538, allocations: 170.9 kB / 0.5772 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009592/0.3547, allocations: 0.5386 MB / 0.5777 GB, free: 4.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3547, allocations: 3.938 kB / 0.5777 GB, free: 4.406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004958/0.3552, allocations: 379.1 kB / 0.5781 GB, free: 3.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/0.3559, allocations: 107 kB / 0.5782 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.3573, allocations: 0.8083 MB / 0.579 GB, free: 3.031 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.3578, allocations: 0.838 MB / 0.5798 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.3579, allocations: 39.42 kB / 0.5798 GB, free: 2.133 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3579, allocations: 0 / 0.5798 GB, free: 2.133 MB / 414.1 MB Notification: Performance of Templates: time 0.01162/0.3695, allocations: 7.458 MB / 0.5871 GB, free: 10.71 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.224258540896699]