Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_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_3_2_3_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.001152/0.001152, allocations: 105.1 kB / 16.27 MB, free: 5.852 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.001116/0.001116, allocations: 189.5 kB / 17.19 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2322/0.2322, allocations: 43.51 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001559, allocations: 66.8 kB / 382.9 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1121, allocations: 57.8 MB / 440.7 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003332/0.1154, allocations: 2.104 MB / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1172, allocations: 0.9083 MB / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.1175, allocations: 8 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1179, allocations: 63.59 kB / 443.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.1183, allocations: 131.4 kB / 443.9 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.1187, allocations: 91.69 kB / 444 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.1191, allocations: 473.8 kB / 444.4 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.1192, allocations: 48.7 kB / 444.5 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.1194, allocations: 183.1 kB / 444.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.1197, allocations: 207 kB / 444.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.929e-05/0.1198, allocations: 8 kB / 444.9 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.1202, allocations: 271.5 kB / 445.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1203, allocations: 103.5 kB / 445.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.1205, allocations: 182.7 kB / 445.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.121, allocations: 0.5293 MB / 445.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.121, allocations: 0 / 445.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.121, allocations: 0 / 445.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.1211, allocations: 0 / 445.9 MB, free: 1.465 MB / 318.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.001092/0.1222, allocations: 0.7175 MB / 446.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1222, allocations: 12.03 kB / 446.7 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.517e-05/0.1223, allocations: 98.67 kB / 446.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.087e-05/0.1224, allocations: 44.38 kB / 446.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.1228, allocations: 296.8 kB / 447.1 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.1228, allocations: 33.36 kB / 447.1 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.1229, allocations: 47.88 kB / 447.2 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.1239, allocations: 0.664 MB / 447.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1239, allocations: 0 / 447.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.124, allocations: 16 kB / 447.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.05e-05/0.1241, allocations: 49.28 kB / 447.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.1254, allocations: 0.6999 MB / 448.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.1275, allocations: 1.356 MB / 449.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/0.1283, allocations: 453.8 kB / 450.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.1287, allocations: 161.2 kB / 450.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/0.1287, allocations: 8.453 kB / 450.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.1288, allocations: 42.55 kB / 450.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.973e-06/0.1288, allocations: 4 kB / 450.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001187/0.13, allocations: 0.5242 MB / 451.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.13, allocations: 51.41 kB / 451.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/0.1306, allocations: 497.5 kB / 451.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.1307, allocations: 29.7 kB / 451.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1308, allocations: 216.3 kB / 451.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.475e-05/0.1309, allocations: 102.6 kB / 452 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.1311, allocations: 89.86 kB / 452.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1312, allocations: 358.7 kB / 452.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.1316, allocations: 152.5 kB / 452.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.132, allocations: 256.2 kB / 452.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.1327, allocations: 427.6 kB / 453.3 MB, free: 9.832 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1327, allocations: 4 kB / 453.3 MB, free: 9.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008716/0.1336, allocations: 492.6 kB / 453.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.1336, allocations: 8.359 kB / 453.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.1337, allocations: 8 kB / 453.8 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.1337, allocations: 4 kB / 453.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009515/0.1347, allocations: 203.8 kB / 454 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.1387, allocations: 7.298 MB / 461.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.1391, allocations: 75.28 kB / 461.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.1391, allocations: 27.92 kB / 461.4 MB, free: 1.441 MB / 334.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.0002889/0.1394, allocations: 213.7 kB / 461.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.1395, allocations: 39.47 kB / 461.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.1406, allocations: 0.5289 MB / 462.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1406, allocations: 7.938 kB / 462.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1406, allocations: 3.984 kB / 462.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1406, allocations: 0 / 462.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.1412, allocations: 425.1 kB / 462.6 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1412, allocations: 0 / 462.6 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008534/0.1421, allocations: 191.9 kB / 462.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.1421, allocations: 7.938 kB / 462.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.1421, allocations: 15.94 kB / 462.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/0.1459, allocations: 7.29 MB / 470.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1459, allocations: 3.938 kB / 470.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007716/0.1467, allocations: 0.504 MB / 470.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.1468, allocations: 120.6 kB / 470.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/0.1469, allocations: 4 kB / 470.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.1471, allocations: 8 kB / 470.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.1472, allocations: 31.89 kB / 470.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.1473, allocations: 12 kB / 470.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004107/0.1477, allocations: 359 kB / 471.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1477, allocations: 3.938 kB / 471.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005161/0.1482, allocations: 135.8 kB / 471.2 MB, free: 7.188 MB / 350.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.0013/0.1495, allocations: 1.055 MB / 472.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.1511, allocations: 0.5782 MB / 472.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1511, allocations: 0 / 472.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.1522, allocations: 340.5 kB / 473.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.1528, allocations: 123.3 kB / 473.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006894/0.1597, allocations: 5.009 MB / 478.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.1603, allocations: 0.8815 MB / 479.2 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004125/0.1607, allocations: 136.1 kB / 479.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.1609, allocations: 127.4 kB / 479.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1609, allocations: 4 kB / 479.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04142/0.2023, allocations: 13.45 MB / 492.9 MB, free: 1.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.62, allocations: 5.031 kB / 492.9 MB, free: 1.32 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches