Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.001316/0.001316, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.0014/0.0014, allocations: 204.9 kB / 23.73 MB, free: 4.379 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.405/1.405, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2184/0.2184, allocations: 46.96 MB / 360.9 MB, free: 4.133 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.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3209, allocations: 66.03 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003275/0.3242, allocations: 2.045 MB / 0.5626 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3262, allocations: 1.263 MB / 0.5639 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.3263, allocations: 0 / 0.5639 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.3266, allocations: 75.42 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.3267, allocations: 71.42 kB / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.3273, allocations: 215.1 kB / 0.5642 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.3275, allocations: 151 kB / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.434e-05/0.3276, allocations: 8.594 kB / 0.5644 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.3277, allocations: 67.53 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.3279, allocations: 67.58 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3279, allocations: 4 kB / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/0.3283, allocations: 219.7 kB / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.3283, allocations: 27.92 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.3284, allocations: 63.55 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.3289, allocations: 378.4 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3289, allocations: 4 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3289, allocations: 0 / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3289, allocations: 0 / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006237/0.3295, allocations: 429 kB / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3296, allocations: 12.03 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.138e-05/0.3296, allocations: 50.73 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.3297, allocations: 24.8 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.3299, allocations: 163.8 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3299, allocations: 20.36 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.3299, allocations: 15.94 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.3303, allocations: 210.7 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3303, allocations: 0 / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3304, allocations: 4 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3304, allocations: 8 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.3307, allocations: 152.2 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008601/0.3315, allocations: 0.5329 MB / 0.5667 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.3317, allocations: 58.55 kB / 0.5668 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3318, allocations: 36.88 kB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.3319, allocations: 0 / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.3319, allocations: 34.56 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3319, allocations: 0 / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004473/0.3323, allocations: 137.5 kB / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3324, allocations: 55.41 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.3326, allocations: 265.8 kB / 0.5673 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3327, allocations: 25.7 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3328, allocations: 160 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.3328, allocations: 27.78 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.3329, allocations: 37.7 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.333, allocations: 330.8 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3332, allocations: 47.84 kB / 0.5679 GB, free: 12.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.3334, allocations: 136.8 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.3337, allocations: 176.7 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3337, allocations: 0 / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003997/0.3341, allocations: 205.2 kB / 0.5684 GB, free: 11.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3341, allocations: 4 kB / 0.5684 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/0.3341, allocations: 16 kB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3341, allocations: 4 kB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3343, allocations: 31.92 kB / 0.5684 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.3343, allocations: 7.984 kB / 0.5684 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.3344, allocations: 36.14 kB / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3344, allocations: 12 kB / 0.5685 GB, free: 11.86 MB / 414.1 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.3345, allocations: 141.6 kB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.3346, allocations: 19.86 kB / 0.5686 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.335, allocations: 138.9 kB / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.335, allocations: 0 / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.335, allocations: 4 kB / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.335, allocations: 0 / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.3352, allocations: 184.6 kB / 0.5689 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/0.3352, allocations: 8 kB / 0.5689 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.3353, allocations: 7.984 kB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3353, allocations: 0 / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3353, allocations: 8.125 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3353, allocations: 4 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3353, allocations: 0 / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.3356, allocations: 215.2 kB / 0.5692 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.3356, allocations: 19.84 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.3357, allocations: 4 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.3358, allocations: 7.984 kB / 0.5692 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3358, allocations: 0 / 0.5692 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3358, allocations: 4 kB / 0.5692 GB, free: 11.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.336, allocations: 185.2 kB / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.336, allocations: 0 / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000392/0.3364, allocations: 75.75 kB / 0.5695 GB, free: 10.77 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009356/0.3373, allocations: 0.8138 MB / 0.5702 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.3378, allocations: 164 kB / 0.5704 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3378, allocations: 4 kB / 0.5704 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.338, allocations: 99.38 kB / 0.5705 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.3383, allocations: 28.89 kB / 0.5705 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.3413, allocations: 2.377 MB / 0.5729 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.3414, allocations: 120.9 kB / 0.573 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.789e-05/0.3415, allocations: 17.48 kB / 0.573 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.367e-05/0.3415, allocations: 59.42 kB / 0.573 GB, free: 6.859 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3415, allocations: 0 / 0.573 GB, free: 6.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.3745, allocations: 7.181 MB / 0.5801 GB, free: 15.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.45, allocations: 11.59 kB / 0.5801 GB, free: 15.87 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.282477870001458]