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.0007985/0.0007985, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008359/0.0008359, allocations: 174.3 kB / 23.95 MB, free: 0.6094 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.8784/0.8784, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2577/0.2577, allocations: 34.25 MB / 294.9 MB, free: 0.6992 MB / 266.7 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 1.744e-06/1.744e-06, allocations: 0 / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.494e-05, allocations: 6.219 kB / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.1717/0.1717, allocations: 1.953 MB / 444.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1728, allocations: 0.7766 MB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.1729, allocations: 0 / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.1732, allocations: 63.25 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.1735, allocations: 132.6 kB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.1737, allocations: 76.17 kB / 445.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.1739, allocations: 320 kB / 445.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.185e-05/0.174, allocations: 10.31 kB / 445.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.1742, allocations: 170.3 kB / 445.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1744, allocations: 141.5 kB / 445.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1744, allocations: 8.75 kB / 445.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.1746, allocations: 71.58 kB / 445.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.1746, allocations: 75.53 kB / 446 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.1747, allocations: 70.45 kB / 446.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.175, allocations: 341 kB / 446.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.175, allocations: 0 / 446.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.175, allocations: 0 / 446.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.371e-06/0.175, allocations: 3.062 kB / 446.4 MB, free: 42.78 MB / 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.0005277/0.1755, allocations: 0.4886 MB / 446.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1756, allocations: 8.344 kB / 446.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.1756, allocations: 72.62 kB / 447 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.1757, allocations: 32.94 kB / 447 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.1758, allocations: 188.3 kB / 447.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1758, allocations: 19.62 kB / 447.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.1759, allocations: 29.89 kB / 447.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.1763, allocations: 395.3 kB / 447.6 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1763, allocations: 4.734 kB / 447.6 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1763, allocations: 8 kB / 447.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.1763, allocations: 34.14 kB / 447.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.1767, allocations: 409.8 kB / 448.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008352/0.1776, allocations: 0.8025 MB / 448.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.1779, allocations: 255.6 kB / 449.1 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.178, allocations: 90.5 kB / 449.2 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.178, allocations: 7.578 kB / 449.2 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.178, allocations: 45.31 kB / 449.2 MB, free: 41.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.485e-06/0.178, allocations: 0 / 449.2 MB, free: 41.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004751/0.1785, allocations: 337.3 kB / 449.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.1785, allocations: 51.41 kB / 449.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.1788, allocations: 355.5 kB / 450 MB, free: 41.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.1788, allocations: 25.7 kB / 450 MB, free: 41.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.1788, allocations: 171.3 kB / 450.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.1789, allocations: 44.5 kB / 450.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.1789, allocations: 56 kB / 450.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.929e-05/0.1789, allocations: 337.6 kB / 450.6 MB, free: 40.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.1791, allocations: 94.28 kB / 450.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.1792, allocations: 142.3 kB / 450.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.1794, allocations: 259.1 kB / 451.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1794, allocations: 0 / 451.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002932/0.1797, allocations: 294.2 kB / 451.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1797, allocations: 7.812 kB / 451.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.1797, allocations: 192 / 451.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1797, allocations: 6.938 kB / 451.4 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.18, allocations: 117.2 kB / 451.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006749/0.1807, allocations: 3.666 MB / 455.2 MB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.1808, allocations: 39.97 kB / 455.2 MB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1809, allocations: 8.688 kB / 455.2 MB, free: 36.7 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 0.0001256/0.181, allocations: 179.4 kB / 455.4 MB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.181, allocations: 33.5 kB / 455.4 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.1814, allocations: 320.5 kB / 455.7 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1814, allocations: 10.84 kB / 455.7 MB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1814, allocations: 0 / 455.7 MB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1814, allocations: 0 / 455.7 MB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.1816, allocations: 258.3 kB / 456 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1816, allocations: 0 / 456 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.1818, allocations: 107.6 kB / 456.1 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1818, allocations: 0 / 456.1 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1818, allocations: 10.06 kB / 456.1 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000597/0.1824, allocations: 3.67 MB / 459.8 MB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1824, allocations: 0 / 459.8 MB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1827, allocations: 361.5 kB / 460.1 MB, free: 32.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.1827, allocations: 28.42 kB / 460.2 MB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1828, allocations: 6.781 kB / 460.2 MB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.1828, allocations: 10.27 kB / 460.2 MB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.1829, allocations: 16.3 kB / 460.2 MB, free: 32.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.1829, allocations: 9.875 kB / 460.2 MB, free: 32.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.183, allocations: 253.7 kB / 460.4 MB, free: 32.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.183, allocations: 0 / 460.4 MB, free: 32.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.1833, allocations: 79.23 kB / 460.5 MB, free: 32.32 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.0005231/0.1838, allocations: 0.9113 MB / 461.4 MB, free: 31.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004934/0.1843, allocations: 306.2 kB / 461.7 MB, free: 31.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1843, allocations: 6.625 kB / 461.7 MB, free: 31.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.1846, allocations: 181.7 kB / 461.9 MB, free: 31.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.1849, allocations: 65.98 kB / 462 MB, free: 31.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.1873, allocations: 3.398 MB / 465.4 MB, free: 29.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.95e-05/0.1874, allocations: 194.1 kB / 465.6 MB, free: 29.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.1875, allocations: 63.92 kB / 465.6 MB, free: 29.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.1876, allocations: 78.2 kB / 465.7 MB, free: 29.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1876, allocations: 4 kB / 465.7 MB, free: 29.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.2094, allocations: 9.717 MB / 475.4 MB, free: 28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.387, allocations: 3.75 kB / 475.4 MB, free: 28 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/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/jenkins/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: 10.451118177734315]