Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008262/0.0008262, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008959/0.0008959, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8806/0.8806, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 34.24 MB / 294.8 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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.623e-06/1.623e-06, allocations: 0 / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.335e-05, allocations: 6.219 kB / 442.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.1697/0.1697, allocations: 1.953 MB / 444.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1708, allocations: 0.7686 MB / 444.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.317e-05/0.1709, allocations: 2.906 kB / 444.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.1713, allocations: 61.44 kB / 445 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.1716, allocations: 143 kB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1719, allocations: 66.92 kB / 445.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.1722, allocations: 326.7 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.553e-05/0.1722, allocations: 10.22 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.1725, allocations: 167.2 kB / 445.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.1726, allocations: 141.2 kB / 445.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.1727, allocations: 8.375 kB / 445.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.1728, allocations: 80.31 kB / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.1729, allocations: 73.94 kB / 446 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.1729, allocations: 71.75 kB / 446 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.1732, allocations: 335.9 kB / 446.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1732, allocations: 0 / 446.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1732, allocations: 0 / 446.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1732, allocations: 0 / 446.4 MB, free: 42.68 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.0005317/0.1738, allocations: 0.5042 MB / 446.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1738, allocations: 8.844 kB / 446.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.1739, allocations: 63.11 kB / 446.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.1739, allocations: 31.94 kB / 447 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.1741, allocations: 189.5 kB / 447.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1741, allocations: 23.27 kB / 447.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1741, allocations: 23 kB / 447.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.1745, allocations: 401.8 kB / 447.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1745, allocations: 0 / 447.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.1745, allocations: 11.98 kB / 447.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/0.1746, allocations: 30.2 kB / 447.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.1751, allocations: 408.6 kB / 448 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009714/0.176, allocations: 0.8007 MB / 448.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.1763, allocations: 264.3 kB / 449.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.1764, allocations: 91.62 kB / 449.2 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1765, allocations: 2.719 kB / 449.2 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.1765, allocations: 33.5 kB / 449.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.084e-06/0.1765, allocations: 0 / 449.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004618/0.177, allocations: 337.2 kB / 449.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.177, allocations: 62.09 kB / 449.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.1772, allocations: 349.8 kB / 450 MB, free: 41.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1772, allocations: 32.58 kB / 450 MB, free: 41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.1773, allocations: 160.8 kB / 450.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1773, allocations: 52.7 kB / 450.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.1773, allocations: 45.5 kB / 450.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.994e-05/0.1774, allocations: 341.7 kB / 450.6 MB, free: 40.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.1775, allocations: 98.05 kB / 450.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.1776, allocations: 140.9 kB / 450.8 MB, free: 40.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.1779, allocations: 253.9 kB / 451.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1779, allocations: 2.844 kB / 451.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003091/0.1782, allocations: 301.4 kB / 451.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1782, allocations: 9.656 kB / 451.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1782, allocations: 0 / 451.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1782, allocations: 2.906 kB / 451.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.1785, allocations: 113.5 kB / 451.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007396/0.1793, allocations: 3.671 MB / 455.1 MB, free: 36.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.1794, allocations: 37 kB / 455.2 MB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.1794, allocations: 14.41 kB / 455.2 MB, free: 36.57 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.0001392/0.1795, allocations: 169.4 kB / 455.4 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.1796, allocations: 27.56 kB / 455.4 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.18, allocations: 343.6 kB / 455.7 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.18, allocations: 3.938 kB / 455.7 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.18, allocations: 2.875 kB / 455.7 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.18, allocations: 4.781 kB / 455.7 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.1802, allocations: 249.5 kB / 456 MB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1802, allocations: 0 / 456 MB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.1804, allocations: 111.4 kB / 456.1 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1804, allocations: 4 kB / 456.1 MB, free: 36.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1805, allocations: 10.2 kB / 456.1 MB, free: 36.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005996/0.1811, allocations: 3.667 MB / 459.8 MB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1811, allocations: 4.094 kB / 459.8 MB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.1813, allocations: 355.2 kB / 460.1 MB, free: 32.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.1814, allocations: 23.3 kB / 460.1 MB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1814, allocations: 4 kB / 460.1 MB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.1815, allocations: 9.203 kB / 460.2 MB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.1815, allocations: 16.81 kB / 460.2 MB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.1815, allocations: 5.719 kB / 460.2 MB, free: 32.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.1817, allocations: 259 kB / 460.4 MB, free: 32.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1817, allocations: 3.938 kB / 460.4 MB, free: 32.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002671/0.1819, allocations: 79.45 kB / 460.5 MB, free: 32.19 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.000515/0.1824, allocations: 0.9068 MB / 461.4 MB, free: 31.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004731/0.1829, allocations: 307.8 kB / 461.7 MB, free: 31.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1829, allocations: 2.875 kB / 461.7 MB, free: 31.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.1832, allocations: 193 kB / 461.9 MB, free: 31.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.1835, allocations: 61.3 kB / 462 MB, free: 31.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.1859, allocations: 3.401 MB / 465.4 MB, free: 29.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.186, allocations: 194.1 kB / 465.6 MB, free: 29.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.1861, allocations: 63.59 kB / 465.6 MB, free: 29.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.1862, allocations: 75.77 kB / 465.7 MB, free: 29.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1862, allocations: 0 / 465.7 MB, free: 29.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.2071, allocations: 9.709 MB / 475.4 MB, free: 27.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.228, allocations: 0 / 475.4 MB, free: 27.85 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.252363440580666]