Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 211.8 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.225/0.225, allocations: 46.95 MB / 360.9 MB, free: 4.039 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_1_0_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_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 71.89 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3189, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003197/0.3221, allocations: 1.952 MB / 0.5625 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3234, allocations: 0.7606 MB / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.3235, allocations: 3.938 kB / 0.5633 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.3237, allocations: 63.66 kB / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.324, allocations: 131.4 kB / 0.5635 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.3242, allocations: 71.72 kB / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.3245, allocations: 318.5 kB / 0.5638 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.3246, allocations: 12.59 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.3248, allocations: 127.4 kB / 0.564 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.325, allocations: 159.3 kB / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.3251, allocations: 8 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.3253, allocations: 79.89 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.3254, allocations: 75.66 kB / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3255, allocations: 91.36 kB / 0.5644 GB, free: 388 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.3259, allocations: 332.3 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3259, allocations: 4 kB / 0.5647 GB, free: 52 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3259, allocations: 4 kB / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3259, allocations: 0 / 0.5647 GB, free: 48 kB / 398.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.0008564/0.3268, allocations: 0.4938 MB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3268, allocations: 8.031 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.424e-05/0.3269, allocations: 66.72 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.327, allocations: 32.75 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.3272, allocations: 201.4 kB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.3273, allocations: 16.66 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.3273, allocations: 31.92 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.328, allocations: 393.9 kB / 0.5659 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.328, allocations: 0 / 0.5659 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.328, allocations: 8 kB / 0.5659 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/0.3281, allocations: 32.62 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/0.3288, allocations: 410.2 kB / 0.5663 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.3302, allocations: 0.8027 MB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.3307, allocations: 261 kB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.3309, allocations: 96.75 kB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.3309, allocations: 4 kB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.3309, allocations: 34.55 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.3309, allocations: 0 / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007476/0.3317, allocations: 337.1 kB / 0.5678 GB, free: 12.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.3317, allocations: 55.41 kB / 0.5678 GB, free: 12.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.3321, allocations: 356.5 kB / 0.5682 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.3321, allocations: 29.7 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3323, allocations: 160.3 kB / 0.5684 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.3323, allocations: 63.58 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-05/0.3324, allocations: 45.7 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3325, allocations: 342.8 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.3328, allocations: 95.84 kB / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.333, allocations: 137.9 kB / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.3334, allocations: 248.9 kB / 0.5693 GB, free: 11.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3334, allocations: 4 kB / 0.5693 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005671/0.334, allocations: 309 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.334, allocations: 4 kB / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.334, allocations: 0 / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3341, allocations: 4 kB / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.3346, allocations: 115.9 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.3369, allocations: 3.672 MB / 0.5733 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.3371, allocations: 31.81 kB / 0.5733 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.3372, allocations: 11.98 kB / 0.5733 GB, free: 6.84 MB / 414.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.0002164/0.3374, allocations: 173.7 kB / 0.5735 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.3374, allocations: 31.75 kB / 0.5735 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006953/0.3381, allocations: 335.4 kB / 0.5738 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3381, allocations: 3.938 kB / 0.5738 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3381, allocations: 0 / 0.5738 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3381, allocations: 0 / 0.5738 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.3385, allocations: 260.6 kB / 0.5741 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3385, allocations: 7.938 kB / 0.5741 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.339, allocations: 111.9 kB / 0.5742 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.339, allocations: 0 / 0.5742 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.339, allocations: 15.98 kB / 0.5742 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/0.3412, allocations: 3.656 MB / 0.5778 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3412, allocations: 0.5625 kB / 0.5778 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.3417, allocations: 365.8 kB / 0.5781 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.05e-05/0.3418, allocations: 35.73 kB / 0.5782 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.3419, allocations: 0 / 0.5782 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.342, allocations: 8 kB / 0.5782 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.3421, allocations: 15.97 kB / 0.5782 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3421, allocations: 8 kB / 0.5782 GB, free: 1.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002801/0.3424, allocations: 259 kB / 0.5784 GB, free: 1.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3424, allocations: 0 / 0.5784 GB, free: 1.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00038/0.3427, allocations: 75.88 kB / 0.5785 GB, free: 1.301 MB / 414.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.0009772/0.3437, allocations: 0.9073 MB / 0.5794 GB, free: 376 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008783/0.3446, allocations: 303.6 kB / 0.5797 GB, free: 72 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3446, allocations: 0 / 0.5797 GB, free: 72 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.3452, allocations: 187.8 kB / 0.5799 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.3456, allocations: 68.7 kB / 0.5799 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.3499, allocations: 3.395 MB / 0.5832 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.3501, allocations: 189.1 kB / 0.5834 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.3503, allocations: 66.22 kB / 0.5835 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.3504, allocations: 79.41 kB / 0.5836 GB, free: 11.96 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3504, allocations: 3.938 kB / 0.5836 GB, free: 11.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.3854, allocations: 9.631 MB / 0.593 GB, free: 2.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.42, allocations: 0 / 0.593 GB, free: 2.613 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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: 15.524754824989941]