Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 102.7 kB / 16.27 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001146, allocations: 188.3 kB / 17.19 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1784/0.1784, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 382.9 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06951/0.07085, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.00249/0.07337, allocations: 1.991 MB / 442.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009329/0.07432, allocations: 0.8459 MB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.0744, allocations: 4 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.07465, allocations: 63.66 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.07492, allocations: 123.4 kB / 443.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.07511, allocations: 63.78 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.07534, allocations: 314.6 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.826e-05/0.0754, allocations: 40.33 kB / 444.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.07553, allocations: 119.4 kB / 444.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.07569, allocations: 155.3 kB / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.07572, allocations: 8 kB / 444.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.07592, allocations: 135.7 kB / 444.5 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.07599, allocations: 67.67 kB / 444.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.755e-05/0.07607, allocations: 107.3 kB / 444.7 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.07634, allocations: 338.7 kB / 445 MB, free: 2.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.07635, allocations: 3.938 kB / 445 MB, free: 2.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.07635, allocations: 4 kB / 445 MB, free: 2.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.07636, allocations: 0 / 445 MB, free: 2.422 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0006064/0.07698, allocations: 0.5654 MB / 445.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.07701, allocations: 8.031 kB / 445.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.07706, allocations: 66.72 kB / 445.6 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.07712, allocations: 28.56 kB / 445.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.0773, allocations: 244.2 kB / 445.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.07732, allocations: 24.55 kB / 445.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.07735, allocations: 24 kB / 445.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004548/0.07781, allocations: 393.2 kB / 446.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.07783, allocations: 0 / 446.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.07786, allocations: 15.98 kB / 446.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.07789, allocations: 28.58 kB / 446.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.07841, allocations: 410.3 kB / 446.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.07945, allocations: 0.8811 MB / 447.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.07996, allocations: 266.3 kB / 447.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.08016, allocations: 96.77 kB / 448 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.08019, allocations: 4 kB / 448 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.08022, allocations: 38.56 kB / 448.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.08022, allocations: 0 / 448.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006798/0.08091, allocations: 336.5 kB / 448.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.08095, allocations: 51.41 kB / 448.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.08127, allocations: 355.2 kB / 448.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.0813, allocations: 25.7 kB / 448.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.08139, allocations: 168.2 kB / 449 MB, free: 14.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.08145, allocations: 55.25 kB / 449 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.08153, allocations: 53.69 kB / 449.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.08164, allocations: 338.8 kB / 449.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.08184, allocations: 91.91 kB / 449.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.08205, allocations: 137.9 kB / 449.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.08247, allocations: 253.7 kB / 449.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.08248, allocations: 0 / 449.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000498/0.08298, allocations: 293 kB / 450.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.083, allocations: 11.98 kB / 450.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.08301, allocations: 4.188 kB / 450.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.08303, allocations: 4 kB / 450.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.0835, allocations: 111.8 kB / 450.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.08529, allocations: 3.672 MB / 454 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.08546, allocations: 31.67 kB / 454 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.08549, allocations: 8 kB / 454 MB, free: 8.996 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.08566, allocations: 186.8 kB / 454.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.08572, allocations: 31.55 kB / 454.2 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000615/0.08634, allocations: 322.8 kB / 454.5 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.08635, allocations: 0 / 454.5 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.08636, allocations: 0 / 454.5 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.08637, allocations: 7.984 kB / 454.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.08668, allocations: 297.4 kB / 454.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.08669, allocations: 3.938 kB / 454.8 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.08713, allocations: 111.9 kB / 454.9 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.08715, allocations: 7.938 kB / 454.9 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.08717, allocations: 7.984 kB / 455 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.08893, allocations: 3.665 MB / 458.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.08894, allocations: 0 / 458.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.08942, allocations: 354.8 kB / 459 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.0895, allocations: 100.8 kB / 459.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.08955, allocations: 8 kB / 459.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.0897, allocations: 7.984 kB / 459.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.08976, allocations: 16.08 kB / 459.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.08978, allocations: 11.94 kB / 459.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.09, allocations: 257.9 kB / 459.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09001, allocations: 0 / 459.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003117/0.09032, allocations: 76 kB / 459.4 MB, free: 3.328 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008292/0.09116, allocations: 0.9149 MB / 460.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000835/0.092, allocations: 326.7 kB / 460.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.09202, allocations: 0 / 460.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005374/0.09256, allocations: 191.7 kB / 460.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.09294, allocations: 67.7 kB / 460.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.09666, allocations: 3.402 MB / 464.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.097, allocations: 0.8026 MB / 465.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.09716, allocations: 70.22 kB / 465.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.09727, allocations: 75.41 kB / 465.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09728, allocations: 0 / 465.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6333/0.7306, allocations: 8.419 MB / 473.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.78, allocations: 8.875 kB / 473.7 MB, free: 4.941 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches