Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.00154/0.00154, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001875/0.001875, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002915/0.002915, allocations: 73.34 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1371, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003587/0.1408, allocations: 2.136 MB / 482.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1423, allocations: 0.9035 MB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.897e-05/0.1424, allocations: 4 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1427, allocations: 63.59 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.1431, allocations: 139.3 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1434, allocations: 99.69 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004761/0.1439, allocations: 457.8 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.144, allocations: 52.72 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/0.1444, allocations: 183.1 kB / 484.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003198/0.1447, allocations: 211 kB / 484.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.1448, allocations: 12 kB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.1452, allocations: 255.6 kB / 484.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.1454, allocations: 103.5 kB / 484.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.1456, allocations: 182.8 kB / 484.9 MB, free: 408 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006598/0.1463, allocations: 0.5374 MB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1463, allocations: 0 / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1463, allocations: 0 / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.1463, allocations: 0 / 485.4 MB, free: 15.86 MB / 366.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.001083/0.1474, allocations: 0.7237 MB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1474, allocations: 8.031 kB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.518e-05/0.1475, allocations: 94.7 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.42e-05/0.1476, allocations: 48.28 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.148, allocations: 299.6 kB / 486.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.148, allocations: 37.31 kB / 486.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.1481, allocations: 47.92 kB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000948/0.1491, allocations: 0.6523 MB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1491, allocations: 0 / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.1491, allocations: 23.98 kB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-05/0.1492, allocations: 53.28 kB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.1504, allocations: 0.6998 MB / 488.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.1525, allocations: 1.352 MB / 489.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007733/0.1533, allocations: 452.4 kB / 489.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.1536, allocations: 153.3 kB / 490.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.047e-05/0.1536, allocations: 24.14 kB / 490.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1537, allocations: 30.8 kB / 490.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.1537, allocations: 0 / 490.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001172/0.1549, allocations: 0.5403 MB / 490.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.1549, allocations: 51.41 kB / 490.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005859/0.1555, allocations: 0.4896 MB / 491.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.1556, allocations: 29.7 kB / 491.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.1557, allocations: 212.5 kB / 491.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.1559, allocations: 102.5 kB / 491.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.156, allocations: 90 kB / 491.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.1563, allocations: 354.7 kB / 492 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.1566, allocations: 152.5 kB / 492.1 MB, free: 8.957 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.1571, allocations: 244.3 kB / 492.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000849/0.1579, allocations: 435.6 kB / 492.8 MB, free: 8.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.158, allocations: 0 / 492.8 MB, free: 8.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001014/0.159, allocations: 0.4888 MB / 493.3 MB, free: 7.719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.159, allocations: 8 kB / 493.3 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.159, allocations: 4 kB / 493.3 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.1591, allocations: 4 kB / 493.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.1601, allocations: 203.8 kB / 493.5 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004867/0.165, allocations: 7.302 MB / 0.489 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.1653, allocations: 55.28 kB / 0.4891 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.1654, allocations: 23.98 kB / 0.4891 GB, free: 15.84 MB / 382.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.0003661/0.1658, allocations: 226.2 kB / 0.4893 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/0.1659, allocations: 43.66 kB / 0.4894 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.1669, allocations: 0.5327 MB / 0.4899 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1669, allocations: 4 kB / 0.4899 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.167, allocations: 0 / 0.4899 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.167, allocations: 0 / 0.4899 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.1675, allocations: 417.1 kB / 0.4903 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1675, allocations: 4 kB / 0.4903 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000837/0.1684, allocations: 195.9 kB / 0.4905 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.1684, allocations: 7.938 kB / 0.4905 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.1684, allocations: 11.98 kB / 0.4905 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004735/0.1732, allocations: 7.286 MB / 0.4976 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/0.1732, allocations: 3.938 kB / 0.4976 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/0.174, allocations: 0.5076 MB / 0.4981 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.1742, allocations: 120.6 kB / 0.4982 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.334e-05/0.1743, allocations: 4 kB / 0.4982 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.1746, allocations: 11.98 kB / 0.4983 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.1747, allocations: 31.97 kB / 0.4983 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.1747, allocations: 19.98 kB / 0.4983 GB, free: 6.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004177/0.1751, allocations: 351.1 kB / 0.4986 GB, free: 5.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1751, allocations: 0 / 0.4986 GB, free: 5.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006138/0.1758, allocations: 131.8 kB / 0.4988 GB, free: 5.59 MB / 382.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.001373/0.1771, allocations: 1.063 MB / 0.4998 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.1788, allocations: 0.5816 MB / 0.5004 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1789, allocations: 0 / 0.5004 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.18, allocations: 349 kB / 0.5007 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006948/0.1807, allocations: 113.2 kB / 0.5008 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1867/0.3673, allocations: 5.003 MB / 0.5057 GB, free: 42.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3677, allocations: 0.8722 MB / 0.5066 GB, free: 41.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003912/0.3681, allocations: 141.8 kB / 0.5067 GB, free: 41.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.3683, allocations: 133 kB / 0.5068 GB, free: 41.45 MB / 382.1 MB Notification: Performance of SimCode: time 1.452e-06/0.3683, allocations: 0 / 0.5068 GB, free: 41.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04235/0.4106, allocations: 13.45 MB / 0.52 GB, free: 37.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.87, allocations: 4.531 kB / 0.52 GB, free: 37.85 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches