Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_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.00129/0.00129, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.002046/0.002047, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.444/1.444, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.2218/0.2218, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3355, allocations: 60.81 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.002813/0.3384, allocations: 2.121 MB / 0.5205 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3396, allocations: 0.8722 MB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.3397, allocations: 2.062 kB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.34, allocations: 66.31 kB / 0.5214 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.3404, allocations: 137.1 kB / 0.5216 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.3406, allocations: 95.56 kB / 0.5217 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004406/0.3411, allocations: 463.8 kB / 0.5221 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.937e-05/0.3412, allocations: 53.19 kB / 0.5222 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.3414, allocations: 171.1 kB / 0.5223 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.3416, allocations: 213.1 kB / 0.5225 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.3417, allocations: 11.72 kB / 0.5225 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.3421, allocations: 258.5 kB / 0.5228 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.3422, allocations: 109.6 kB / 0.5229 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.3424, allocations: 180.9 kB / 0.5231 GB, free: 480 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006185/0.343, allocations: 0.53 MB / 0.5236 GB, free: 264 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.343, allocations: 1.781 kB / 0.5236 GB, free: 264 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.343, allocations: 0 / 0.5236 GB, free: 264 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.343, allocations: 0 / 0.5236 GB, free: 264 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001115/0.3441, allocations: 0.7265 MB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3442, allocations: 14.47 kB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.3443, allocations: 100.6 kB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.711e-05/0.3444, allocations: 53.52 kB / 0.5245 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.3448, allocations: 295.6 kB / 0.5247 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.3449, allocations: 35.23 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.3449, allocations: 44.53 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.346, allocations: 0.663 MB / 0.5255 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3461, allocations: 0 / 0.5255 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.3461, allocations: 16.31 kB / 0.5255 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.37e-05/0.3462, allocations: 53.64 kB / 0.5255 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.3474, allocations: 0.6975 MB / 0.5262 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.3494, allocations: 1.352 MB / 0.5275 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007681/0.3502, allocations: 450.6 kB / 0.528 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.3505, allocations: 163.7 kB / 0.5281 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/0.3506, allocations: 12.28 kB / 0.5281 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3506, allocations: 37.08 kB / 0.5282 GB, free: 13.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/0.3506, allocations: 0 / 0.5282 GB, free: 13.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001133/0.3518, allocations: 0.5366 MB / 0.5287 GB, free: 13.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.3518, allocations: 54.39 kB / 0.5287 GB, free: 13.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.3524, allocations: 0.4888 MB / 0.5292 GB, free: 13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.3524, allocations: 30.61 kB / 0.5292 GB, free: 12.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.3526, allocations: 220 kB / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.3527, allocations: 100.7 kB / 0.5295 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.3529, allocations: 90.98 kB / 0.5296 GB, free: 12.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3531, allocations: 355.7 kB / 0.53 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.3534, allocations: 157.3 kB / 0.5301 GB, free: 12.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.3538, allocations: 245.7 kB / 0.5304 GB, free: 12.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.3545, allocations: 441.6 kB / 0.5308 GB, free: 11.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3546, allocations: 1.281 kB / 0.5308 GB, free: 11.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009011/0.3555, allocations: 497.9 kB / 0.5313 GB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.3555, allocations: 6.344 kB / 0.5313 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3555, allocations: 2.25 kB / 0.5313 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.3555, allocations: 5.031 kB / 0.5313 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/0.3565, allocations: 202.3 kB / 0.5315 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004725/0.3612, allocations: 7.298 MB / 0.5386 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.3617, allocations: 63.09 kB / 0.5386 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.3617, allocations: 21.8 kB / 0.5387 GB, free: 4.156 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003824/0.3621, allocations: 224.2 kB / 0.5389 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.3622, allocations: 55.05 kB / 0.5389 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.3634, allocations: 0.5287 MB / 0.5395 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.3634, allocations: 7.406 kB / 0.5395 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3634, allocations: 0 / 0.5395 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3634, allocations: 1.125 kB / 0.5395 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007263/0.3641, allocations: 417.6 kB / 0.5399 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3642, allocations: 0 / 0.5399 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008231/0.365, allocations: 198.5 kB / 0.54 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.365, allocations: 5.062 kB / 0.5401 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.365, allocations: 10.66 kB / 0.5401 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004648/0.3697, allocations: 7.29 MB / 0.5472 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.3697, allocations: 4.219 kB / 0.5472 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009062/0.3706, allocations: 0.5062 MB / 0.5477 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.3708, allocations: 120.7 kB / 0.5478 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.3709, allocations: 5.312 kB / 0.5478 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.3711, allocations: 13.92 kB / 0.5478 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3713, allocations: 27 kB / 0.5478 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.3713, allocations: 25.45 kB / 0.5479 GB, free: 11.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004454/0.3718, allocations: 352.4 kB / 0.5482 GB, free: 11.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3718, allocations: 0 / 0.5482 GB, free: 11.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005462/0.3723, allocations: 129.7 kB / 0.5483 GB, free: 11.3 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/0.3736, allocations: 1.077 MB / 0.5494 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.3751, allocations: 0.5178 MB / 0.5499 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3752, allocations: 1.406 kB / 0.5499 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009879/0.3762, allocations: 341.4 kB / 0.5502 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.3767, allocations: 110.2 kB / 0.5503 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006768/0.3835, allocations: 4.897 MB / 0.5551 GB, free: 5.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.3841, allocations: 0.8699 MB / 0.5559 GB, free: 4.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003806/0.3845, allocations: 144.1 kB / 0.5561 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.3847, allocations: 135.3 kB / 0.5562 GB, free: 4.27 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3847, allocations: 0 / 0.5562 GB, free: 4.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04084/0.4256, allocations: 13.7 MB / 0.5696 GB, free: 6.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.86, allocations: 11.94 kB / 0.5696 GB, free: 6.879 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches