Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008032/0.0008032, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 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.0008515/0.0008515, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8801/0.8801, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.229/0.229, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_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_0_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 1.522e-06/1.522e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.42e-05, allocations: 2.281 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002429/0.002444, allocations: 1.968 MB / 441.6 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003491, allocations: 0.7671 MB / 442.3 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.302e-05/0.003564, allocations: 3.938 kB / 442.4 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.003803, allocations: 63.66 kB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.004058, allocations: 123.2 kB / 442.5 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.004258, allocations: 78.78 kB / 442.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.004513, allocations: 322.4 kB / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.004566, allocations: 12.59 kB / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.004792, allocations: 167.5 kB / 443.1 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.004941, allocations: 135.5 kB / 443.2 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.004963, allocations: 12 kB / 443.2 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.005117, allocations: 83.77 kB / 443.3 MB, free: 496 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.057e-05/0.005198, allocations: 71.69 kB / 443.4 MB, free: 424 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.005261, allocations: 71.72 kB / 443.5 MB, free: 352 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.005573, allocations: 338.7 kB / 443.8 MB, free: 12 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005575, allocations: 3.984 kB / 443.8 MB, free: 8 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005576, allocations: 0 / 443.8 MB, free: 8 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.005581, allocations: 0 / 443.8 MB, free: 8 kB / 410.7 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.1624/0.168, allocations: 498.8 kB / 444.3 MB, free: 46.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.168, allocations: 10.5 kB / 444.3 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.168, allocations: 65.83 kB / 444.4 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.1681, allocations: 30.81 kB / 444.4 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1682, allocations: 189.4 kB / 444.6 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1683, allocations: 24.22 kB / 444.6 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.1683, allocations: 27.45 kB / 444.6 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.1687, allocations: 394.9 kB / 445 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1687, allocations: 0 / 445 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.1687, allocations: 14.75 kB / 445 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.1687, allocations: 24.33 kB / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.1692, allocations: 412.2 kB / 445.5 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008243/0.17, allocations: 0.8011 MB / 446.3 MB, free: 45.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.1703, allocations: 254.2 kB / 446.5 MB, free: 45.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.1704, allocations: 91.92 kB / 446.6 MB, free: 45.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1705, allocations: 2.812 kB / 446.6 MB, free: 45.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.1705, allocations: 44.41 kB / 446.6 MB, free: 45.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.1705, allocations: 1.5 kB / 446.6 MB, free: 45.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004477/0.1709, allocations: 335.4 kB / 447 MB, free: 45.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.1709, allocations: 54.31 kB / 447 MB, free: 45.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1711, allocations: 358.4 kB / 447.4 MB, free: 45.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.1711, allocations: 29.7 kB / 447.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.1712, allocations: 162.9 kB / 447.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1712, allocations: 56.42 kB / 447.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.1713, allocations: 48.05 kB / 447.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.801e-05/0.1713, allocations: 343.8 kB / 448 MB, free: 44.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.1714, allocations: 93.25 kB / 448.1 MB, free: 44.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1715, allocations: 143.5 kB / 448.2 MB, free: 44.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.1718, allocations: 250.8 kB / 448.5 MB, free: 44.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1718, allocations: 0 / 448.5 MB, free: 44.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002975/0.1721, allocations: 298.5 kB / 448.8 MB, free: 44.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1721, allocations: 5.875 kB / 448.8 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1721, allocations: 2.812 kB / 448.8 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1721, allocations: 5.25 kB / 448.8 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.1724, allocations: 123.9 kB / 448.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006261/0.173, allocations: 3.658 MB / 452.6 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.841e-05/0.1731, allocations: 42.14 kB / 452.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.1731, allocations: 16.05 kB / 452.6 MB, free: 41.05 MB / 410.7 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 9.741e-05/0.1732, allocations: 172.6 kB / 452.8 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1732, allocations: 30.19 kB / 452.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.1736, allocations: 331.6 kB / 453.1 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1736, allocations: 2.688 kB / 453.1 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1736, allocations: 0 / 453.1 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1736, allocations: 3.938 kB / 453.1 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.1738, allocations: 253.8 kB / 453.4 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1738, allocations: 0 / 453.4 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.174, allocations: 113.3 kB / 453.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.174, allocations: 2.719 kB / 453.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.174, allocations: 2.719 kB / 453.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005691/0.1746, allocations: 3.676 MB / 457.2 MB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1746, allocations: 3.938 kB / 457.2 MB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.1749, allocations: 352 kB / 457.5 MB, free: 36.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.1749, allocations: 34.58 kB / 457.6 MB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1749, allocations: 0 / 457.6 MB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.175, allocations: 18.25 kB / 457.6 MB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.175, allocations: 12.08 kB / 457.6 MB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.175, allocations: 10 kB / 457.6 MB, free: 36.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.1752, allocations: 251.8 kB / 457.8 MB, free: 36.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1752, allocations: 0 / 457.8 MB, free: 36.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000231/0.1754, allocations: 79.11 kB / 457.9 MB, free: 36.69 MB / 410.7 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.0004945/0.1759, allocations: 0.9115 MB / 458.8 MB, free: 35.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004708/0.1764, allocations: 305.7 kB / 459.1 MB, free: 35.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1764, allocations: 0 / 459.1 MB, free: 35.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.1766, allocations: 187.2 kB / 459.3 MB, free: 35.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.1769, allocations: 67.69 kB / 459.4 MB, free: 35.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.1791, allocations: 3.409 MB / 462.8 MB, free: 34.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.929e-05/0.1792, allocations: 192.4 kB / 463 MB, free: 33.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.324e-05/0.1793, allocations: 67.02 kB / 463 MB, free: 33.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.1794, allocations: 75.91 kB / 463.1 MB, free: 33.87 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1794, allocations: 0 / 463.1 MB, free: 33.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.1984, allocations: 9.709 MB / 472.8 MB, free: 32.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/7.894, allocations: 6.125 kB / 472.8 MB, free: 32.39 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.889925763942301]