Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.0008001/0.0008001, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0007821/0.0007821, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8617/0.8617, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1235/0.1235, allocations: 32.38 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 406.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098e-05/1.233e-05, allocations: 2.281 kB / 406.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002163/0.002175, allocations: 2.096 MB / 409 MB, free: 76 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.003258, allocations: 0.9897 MB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.003341, allocations: 0 / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.00357, allocations: 87.34 kB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.003795, allocations: 95.25 kB / 410.2 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.00401, allocations: 119.4 kB / 410.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.004159, allocations: 186.7 kB / 410.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.004206, allocations: 16.58 kB / 410.5 MB, free: 14.58 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.004327, allocations: 87.67 kB / 410.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.00442, allocations: 75.67 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.004436, allocations: 8 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.004609, allocations: 123.8 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.004657, allocations: 31.78 kB / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.004702, allocations: 47.73 kB / 410.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.004968, allocations: 302.7 kB / 411.1 MB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.00497, allocations: 3.938 kB / 411.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004971, allocations: 0 / 411.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004975, allocations: 0 / 411.1 MB, free: 13.91 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0004119/0.005387, allocations: 433.6 kB / 411.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.005418, allocations: 12.03 kB / 411.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.005462, allocations: 62.72 kB / 411.6 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.005495, allocations: 24.8 kB / 411.7 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.005629, allocations: 149.5 kB / 411.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.005642, allocations: 12.88 kB / 411.8 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.005661, allocations: 20.38 kB / 411.8 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.005923, allocations: 240.4 kB / 412.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.005932, allocations: 3.938 kB / 412.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.005948, allocations: 12 kB / 412.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005953, allocations: 4 kB / 412.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.006207, allocations: 261.8 kB / 412.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.006832, allocations: 0.5737 MB / 412.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.007005, allocations: 94.59 kB / 413 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.146e-05/0.007076, allocations: 40.94 kB / 413.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.007096, allocations: 7.938 kB / 413.1 MB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.007118, allocations: 34.56 kB / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.007119, allocations: 0 / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003141/0.007433, allocations: 173.4 kB / 413.3 MB, free: 11.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.00746, allocations: 51.41 kB / 413.3 MB, free: 11.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.007631, allocations: 272.1 kB / 413.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.007645, allocations: 29.7 kB / 413.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.46e-05/0.007729, allocations: 179.5 kB / 413.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.007746, allocations: 27.75 kB / 413.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.007797, allocations: 53.66 kB / 413.9 MB, free: 11.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.007879, allocations: 334.8 kB / 414.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/0.007962, allocations: 47.95 kB / 414.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.008092, allocations: 157.4 kB / 414.4 MB, free: 10.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.008301, allocations: 208.5 kB / 414.6 MB, free: 10.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.008304, allocations: 0 / 414.6 MB, free: 10.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002654/0.008569, allocations: 241.1 kB / 414.8 MB, free: 9.934 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.008582, allocations: 8 kB / 414.8 MB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.008587, allocations: 4 kB / 414.8 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.008599, allocations: 8.375 kB / 414.8 MB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.008821, allocations: 87.91 kB / 414.9 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004599/0.009281, allocations: 1.215 MB / 416.2 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.506e-05/0.009376, allocations: 43.67 kB / 416.2 MB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.009387, allocations: 8 kB / 416.2 MB, free: 8.516 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.358e-05/0.00947, allocations: 137.6 kB / 416.3 MB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.009493, allocations: 24.17 kB / 416.4 MB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.009733, allocations: 175.4 kB / 416.5 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.009736, allocations: 0 / 416.5 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.009739, allocations: 0 / 416.5 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.009743, allocations: 3.984 kB / 416.5 MB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.01011, allocations: 419.1 kB / 416.9 MB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.01011, allocations: 0 / 416.9 MB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.01023, allocations: 59.92 kB / 417 MB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01023, allocations: 0 / 417 MB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01024, allocations: 7.984 kB / 417 MB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003921/0.01063, allocations: 1.207 MB / 418.2 MB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01064, allocations: 8.031 kB / 418.2 MB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.01083, allocations: 245 kB / 418.5 MB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.01086, allocations: 27.78 kB / 418.5 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.01087, allocations: 4 kB / 418.5 MB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.01094, allocations: 8 kB / 418.5 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.01098, allocations: 11.98 kB / 418.5 MB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.01099, allocations: 4 kB / 418.5 MB, free: 6.059 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.01109, allocations: 187.1 kB / 418.7 MB, free: 5.879 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01109, allocations: 4 kB / 418.7 MB, free: 5.875 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000224/0.01131, allocations: 71.86 kB / 418.8 MB, free: 5.805 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004721/0.01179, allocations: 0.8192 MB / 419.6 MB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.01208, allocations: 160.5 kB / 419.8 MB, free: 4.793 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01208, allocations: 3.938 kB / 419.8 MB, free: 4.789 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.01222, allocations: 92.3 kB / 419.8 MB, free: 4.699 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.01245, allocations: 28.91 kB / 419.9 MB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.01438, allocations: 2.554 MB / 422.4 MB, free: 1.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.375e-05/0.01445, allocations: 121.6 kB / 422.5 MB, free: 1.793 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.772e-05/0.0145, allocations: 21.94 kB / 422.6 MB, free: 1.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.01457, allocations: 68.47 kB / 422.6 MB, free: 1.703 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.01457, allocations: 0 / 422.6 MB, free: 1.703 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.03176, allocations: 6.92 MB / 429.6 MB, free: 10.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/7.785, allocations: 0 / 429.6 MB, free: 10.78 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.773307642899454]