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.001513/0.001513, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001444/0.001444, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2216/0.2216, allocations: 46.93 MB / 360.9 MB, free: 4.27 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.002043/0.002043, allocations: 59.91 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 66.05 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003305/0.3294, allocations: 2.03 MB / 0.5627 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3308, allocations: 0.85 MB / 0.5635 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.628e-05/0.3309, allocations: 0 / 0.5635 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.3312, allocations: 71.58 kB / 0.5636 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.3315, allocations: 127.4 kB / 0.5637 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.3317, allocations: 67.73 kB / 0.5637 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.3321, allocations: 306.6 kB / 0.564 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.922e-05/0.3322, allocations: 16.58 kB / 0.5641 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.3324, allocations: 131.4 kB / 0.5642 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.3326, allocations: 159.3 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.3327, allocations: 8 kB / 0.5643 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.3329, allocations: 127.8 kB / 0.5645 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.883e-05/0.333, allocations: 71.61 kB / 0.5645 GB, free: 500 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.3331, allocations: 115.2 kB / 0.5646 GB, free: 384 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.3336, allocations: 344.3 kB / 0.565 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3336, allocations: 0 / 0.565 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3336, allocations: 0 / 0.565 GB, free: 40 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3336, allocations: 0 / 0.565 GB, free: 40 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.0008473/0.3344, allocations: 0.4975 MB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3345, allocations: 15.97 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.595e-05/0.3345, allocations: 66.72 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.3346, allocations: 28.75 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.3349, allocations: 198.4 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.3349, allocations: 16.66 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.3349, allocations: 31.97 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006332/0.3356, allocations: 389.9 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3356, allocations: 8 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.3356, allocations: 4 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/0.3357, allocations: 32.62 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007398/0.3364, allocations: 414.2 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.3378, allocations: 0.8377 MB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.3383, allocations: 266.3 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.3385, allocations: 92.77 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.3386, allocations: 8.062 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3386, allocations: 30.56 kB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.3386, allocations: 0 / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007367/0.3393, allocations: 347.6 kB / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3394, allocations: 51.41 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.3397, allocations: 348.5 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.3398, allocations: 29.7 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.3399, allocations: 168.2 kB / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.3399, allocations: 55.53 kB / 0.5688 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.258e-05/0.34, allocations: 45.7 kB / 0.5688 GB, free: 11.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3402, allocations: 350.7 kB / 0.5691 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.3404, allocations: 87.91 kB / 0.5692 GB, free: 11.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.3406, allocations: 148.3 kB / 0.5694 GB, free: 11.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.3411, allocations: 248.9 kB / 0.5696 GB, free: 11.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3411, allocations: 0 / 0.5696 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005407/0.3416, allocations: 305 kB / 0.5699 GB, free: 10.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3416, allocations: 8 kB / 0.5699 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3416, allocations: 0 / 0.5699 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3416, allocations: 7.984 kB / 0.5699 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.3421, allocations: 111.9 kB / 0.57 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.3444, allocations: 3.669 MB / 0.5736 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.3446, allocations: 35.72 kB / 0.5736 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.3446, allocations: 12.28 kB / 0.5736 GB, free: 6.785 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.000211/0.3448, allocations: 173.7 kB / 0.5738 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.3449, allocations: 27.8 kB / 0.5738 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006849/0.3456, allocations: 331 kB / 0.5741 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3456, allocations: 0 / 0.5741 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3456, allocations: 8 kB / 0.5742 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3456, allocations: 3.984 kB / 0.5742 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.3459, allocations: 268.6 kB / 0.5744 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.3459, allocations: 3.938 kB / 0.5744 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.3464, allocations: 103.9 kB / 0.5745 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.3464, allocations: 4 kB / 0.5745 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.3464, allocations: 7.984 kB / 0.5745 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/0.3486, allocations: 3.668 MB / 0.5781 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3486, allocations: 0 / 0.5781 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.3492, allocations: 355.3 kB / 0.5785 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.3492, allocations: 39.7 kB / 0.5785 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.3493, allocations: 0 / 0.5785 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.3494, allocations: 11.98 kB / 0.5785 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.3495, allocations: 7.984 kB / 0.5785 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.3495, allocations: 19.98 kB / 0.5785 GB, free: 1.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.3498, allocations: 255 kB / 0.5788 GB, free: 1.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3498, allocations: 0 / 0.5788 GB, free: 1.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.3501, allocations: 75.83 kB / 0.5788 GB, free: 1.242 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.0009958/0.3511, allocations: 0.9107 MB / 0.5797 GB, free: 316 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008646/0.352, allocations: 295.6 kB / 0.58 GB, free: 20 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.352, allocations: 0 / 0.58 GB, free: 20 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005769/0.3526, allocations: 192.2 kB / 0.5802 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.353, allocations: 64.27 kB / 0.5803 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.3572, allocations: 3.402 MB / 0.5836 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.3577, allocations: 0.7987 MB / 0.5844 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.3579, allocations: 70.2 kB / 0.5844 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.358, allocations: 83.34 kB / 0.5845 GB, free: 11.27 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.358, allocations: 0 / 0.5845 GB, free: 11.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.3953, allocations: 8.723 MB / 0.593 GB, free: 2.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.8, allocations: 3.938 kB / 0.593 GB, free: 2.766 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.830554792890325]