Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 72 kB / 417.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1294, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004042/0.1335, allocations: 2.22 MB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.1356, allocations: 1.176 MB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.1358, allocations: 4 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.1362, allocations: 67.58 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.1366, allocations: 107.3 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006558/0.1373, allocations: 191.3 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006425/0.1379, allocations: 497.8 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.1381, allocations: 60.94 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003758/0.1385, allocations: 179.1 kB / 484.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.1388, allocations: 199 kB / 484.8 MB, free: 432 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.242e-05/0.1389, allocations: 12 kB / 484.8 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006188/0.1395, allocations: 331.5 kB / 485.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.1397, allocations: 107.5 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.14, allocations: 186.7 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009196/0.141, allocations: 0.5881 MB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.141, allocations: 0 / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.141, allocations: 0 / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.141, allocations: 0 / 486 MB, free: 15.21 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001695/0.1427, allocations: 0.7486 MB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1428, allocations: 8.031 kB / 486.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.1429, allocations: 94.7 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004359/0.1433, allocations: 84.33 kB / 487 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.1437, allocations: 299.5 kB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.1438, allocations: 41.31 kB / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.1439, allocations: 43.94 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.1449, allocations: 0.6597 MB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1449, allocations: 0 / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.145, allocations: 16 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/0.145, allocations: 24.98 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009845/0.146, allocations: 483.5 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.1483, allocations: 1.523 MB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.1489, allocations: 299.5 kB / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.1493, allocations: 154.6 kB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.1494, allocations: 7.984 kB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1494, allocations: 38.56 kB / 490.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 6.382e-06/0.1494, allocations: 0 / 490.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001309/0.1507, allocations: 0.4928 MB / 491 MB, free: 9.988 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.1508, allocations: 110.8 kB / 491.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006672/0.1515, allocations: 0.5408 MB / 491.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1515, allocations: 25.7 kB / 491.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.1517, allocations: 231.9 kB / 491.9 MB, free: 9.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/0.1518, allocations: 63.02 kB / 492 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.1519, allocations: 89.94 kB / 492.1 MB, free: 8.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1521, allocations: 358.8 kB / 492.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.1525, allocations: 152.1 kB / 492.6 MB, free: 8.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/0.153, allocations: 279.6 kB / 492.8 MB, free: 8.051 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009109/0.154, allocations: 449.1 kB / 493.3 MB, free: 7.559 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.154, allocations: 0 / 493.3 MB, free: 7.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001192/0.1552, allocations: 0.5003 MB / 493.8 MB, free: 7.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.1552, allocations: 4 kB / 493.8 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/0.1553, allocations: 43.98 kB / 493.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.057e-05/0.1554, allocations: 8.469 kB / 493.8 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.1557, allocations: 51.89 kB / 493.9 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.1557, allocations: 4 kB / 493.9 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.1561, allocations: 71.25 kB / 494 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.1561, allocations: 24 kB / 494 MB, free: 6.848 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.000305/0.1565, allocations: 205.6 kB / 494.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.1566, allocations: 47.38 kB / 494.2 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009107/0.1575, allocations: 451.5 kB / 494.7 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.1575, allocations: 4 kB / 494.7 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1575, allocations: 0 / 494.7 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1575, allocations: 3.984 kB / 494.7 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.1582, allocations: 385.2 kB / 495.1 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.701e-05/0.1583, allocations: 43.92 kB / 495.1 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.1585, allocations: 31.97 kB / 495.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.1585, allocations: 4 kB / 495.1 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.1585, allocations: 11.94 kB / 495.1 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1586, allocations: 0 / 495.1 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.1586, allocations: 7.938 kB / 495.2 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009956/0.1596, allocations: 0.6019 MB / 495.8 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.1598, allocations: 132.5 kB / 495.9 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.215e-05/0.1599, allocations: 7.938 kB / 495.9 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.1602, allocations: 15.98 kB / 495.9 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.1603, allocations: 27.95 kB / 495.9 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.1603, allocations: 16 kB / 496 MB, free: 4.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005379/0.1609, allocations: 395 kB / 496.3 MB, free: 4.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.12e-07/0.1609, allocations: 0 / 496.3 MB, free: 4.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000719/0.1616, allocations: 135.8 kB / 496.5 MB, free: 4.266 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001745/0.1634, allocations: 1.206 MB / 497.7 MB, free: 3.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.1645, allocations: 0.6907 MB / 498.4 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1645, allocations: 4.188 kB / 498.4 MB, free: 2.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005777/0.1651, allocations: 480.2 kB / 498.8 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007385/0.1659, allocations: 117.9 kB / 499 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008022/0.1739, allocations: 5.285 MB / 0.4924 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.1745, allocations: 0.866 MB / 0.4933 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002897/0.1749, allocations: 79.36 kB / 0.4933 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.175, allocations: 127.4 kB / 0.4935 GB, free: 11.03 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1751, allocations: 0 / 0.4935 GB, free: 11.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2278/0.4029, allocations: 12.94 MB / 0.5061 GB, free: 42.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.337, allocations: 10.25 kB / 0.5061 GB, free: 42.57 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches