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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2535/0.2535, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3832, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003172/0.3864, allocations: 2.01 MB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3878, allocations: 0.8033 MB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.598e-05/0.3879, allocations: 2.094 kB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.3882, allocations: 63.44 kB / 0.5212 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.3885, allocations: 118 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.3888, allocations: 69.08 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.3891, allocations: 312.1 kB / 0.5217 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.736e-05/0.3892, allocations: 41.33 kB / 0.5218 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.3894, allocations: 123.8 kB / 0.5219 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.3896, allocations: 149 kB / 0.522 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.3896, allocations: 8.969 kB / 0.522 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.3899, allocations: 130.4 kB / 0.5222 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.39, allocations: 60.39 kB / 0.5222 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.3901, allocations: 112.3 kB / 0.5223 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.3906, allocations: 353.5 kB / 0.5227 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3906, allocations: 0 / 0.5227 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3906, allocations: 1.094 kB / 0.5227 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.3906, allocations: 0 / 0.5227 GB, free: 0.6758 MB / 382.1 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.0008277/0.3914, allocations: 0.5551 MB / 0.5232 GB, free: 212 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3915, allocations: 9.562 kB / 0.5232 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.223e-05/0.3916, allocations: 66.28 kB / 0.5233 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.3916, allocations: 34.25 kB / 0.5233 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.3919, allocations: 246.9 kB / 0.5235 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.392, allocations: 26.77 kB / 0.5236 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.392, allocations: 25.06 kB / 0.5236 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/0.3927, allocations: 396.2 kB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3927, allocations: 0 / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.3928, allocations: 15.27 kB / 0.524 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.014e-05/0.3928, allocations: 26.06 kB / 0.524 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008094/0.3936, allocations: 410.9 kB / 0.5244 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.3952, allocations: 0.869 MB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006157/0.3958, allocations: 271.4 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.396, allocations: 97.95 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.3961, allocations: 11.25 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.3961, allocations: 32.64 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.3961, allocations: 0 / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007765/0.3969, allocations: 335.2 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.3969, allocations: 52.78 kB / 0.526 GB, free: 14.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.3973, allocations: 350.8 kB / 0.5263 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.3973, allocations: 34.98 kB / 0.5264 GB, free: 14.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3974, allocations: 166.5 kB / 0.5265 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.3975, allocations: 49.67 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/0.3976, allocations: 47.58 kB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3977, allocations: 342.4 kB / 0.527 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.3979, allocations: 94.45 kB / 0.527 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.3982, allocations: 140 kB / 0.5272 GB, free: 13.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.3986, allocations: 251.5 kB / 0.5274 GB, free: 13.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3987, allocations: 0 / 0.5274 GB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005515/0.3992, allocations: 301.5 kB / 0.5277 GB, free: 13.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3992, allocations: 5.75 kB / 0.5277 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3993, allocations: 5.469 kB / 0.5277 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3993, allocations: 2.75 kB / 0.5277 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.3998, allocations: 117.7 kB / 0.5278 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.4018, allocations: 3.664 MB / 0.5314 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.4021, allocations: 38.14 kB / 0.5314 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.4021, allocations: 12.38 kB / 0.5315 GB, free: 9.898 MB / 398.1 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.0002501/0.4024, allocations: 174.3 kB / 0.5316 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.4024, allocations: 27.16 kB / 0.5317 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007641/0.4032, allocations: 337 kB / 0.532 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.4032, allocations: 1.062 kB / 0.532 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4032, allocations: 1.125 kB / 0.532 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4033, allocations: 0 / 0.532 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.4036, allocations: 305 kB / 0.5323 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4037, allocations: 3.938 kB / 0.5323 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/0.4041, allocations: 103.6 kB / 0.5324 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4041, allocations: 4 kB / 0.5324 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.4042, allocations: 12.45 kB / 0.5324 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.4059, allocations: 3.662 MB / 0.536 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4059, allocations: 3.938 kB / 0.536 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.4064, allocations: 353.8 kB / 0.5363 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.4066, allocations: 102.8 kB / 0.5364 GB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.4066, allocations: 5.125 kB / 0.5364 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.4068, allocations: 8.422 kB / 0.5364 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.4068, allocations: 22.92 kB / 0.5364 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.4069, allocations: 5.188 kB / 0.5364 GB, free: 5.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003623/0.4072, allocations: 256.4 kB / 0.5367 GB, free: 5.074 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4072, allocations: 0 / 0.5367 GB, free: 5.074 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004303/0.4077, allocations: 76.44 kB / 0.5368 GB, free: 5.059 MB / 398.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 (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.001064/0.4088, allocations: 0.9087 MB / 0.5376 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008855/0.4096, allocations: 307.3 kB / 0.5379 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.4097, allocations: 4 kB / 0.5379 GB, free: 4.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.4102, allocations: 189.2 kB / 0.5381 GB, free: 4.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.4107, allocations: 63.09 kB / 0.5382 GB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.4151, allocations: 3.381 MB / 0.5415 GB, free: 1.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.4155, allocations: 0.8071 MB / 0.5423 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.4157, allocations: 60.77 kB / 0.5423 GB, free: 1.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.4159, allocations: 75.53 kB / 0.5424 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4159, allocations: 1.125 kB / 0.5424 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.4484, allocations: 8.736 MB / 0.5509 GB, free: 10.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.84, allocations: 24.62 kB / 0.551 GB, free: 10.28 MB / 414.1 MB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/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/jenkins1/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) Reference file matches