Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.00121/0.00121, allocations: 106.6 kB / 17.64 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 218.5 kB / 18.59 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 81.67 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1368, allocations: 62.45 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.004426/0.1413, allocations: 2.122 MB / 482.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.1437, allocations: 1.285 MB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.144, allocations: 8 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.1444, allocations: 63.59 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.1448, allocations: 99.36 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008031/0.1456, allocations: 199.3 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.1462, allocations: 434 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1464, allocations: 44.72 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003921/0.1468, allocations: 167.1 kB / 484.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.1471, allocations: 175.2 kB / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.1472, allocations: 12 kB / 484.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.1477, allocations: 275.5 kB / 485 MB, free: 288 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1479, allocations: 87.55 kB / 485.1 MB, free: 200 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.1481, allocations: 166.8 kB / 485.3 MB, free: 32 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007344/0.1488, allocations: 0.514 MB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1488, allocations: 0 / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1488, allocations: 3.938 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.1489, allocations: 4 kB / 485.8 MB, free: 15.51 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001325/0.1502, allocations: 0.7097 MB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.1503, allocations: 8.031 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.1504, allocations: 82.7 kB / 486.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004283/0.1508, allocations: 80.42 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.1512, allocations: 287.5 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.1513, allocations: 33.36 kB / 487 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.1513, allocations: 36.38 kB / 487 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009314/0.1523, allocations: 0.5739 MB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1523, allocations: 4 kB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/0.1524, allocations: 19.98 kB / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/0.1524, allocations: 21 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008817/0.1533, allocations: 431.5 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.1554, allocations: 1.371 MB / 489.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.156, allocations: 279.5 kB / 489.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.1563, allocations: 142.4 kB / 489.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.617e-05/0.1564, allocations: 11.97 kB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1564, allocations: 34.56 kB / 489.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.434e-06/0.1564, allocations: 0 / 489.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001242/0.1577, allocations: 467.6 kB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.1578, allocations: 106.8 kB / 490.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006363/0.1584, allocations: 0.5018 MB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.1584, allocations: 29.7 kB / 491 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.1586, allocations: 200.2 kB / 491.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.1587, allocations: 55.2 kB / 491.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.1588, allocations: 53.69 kB / 491.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.159, allocations: 354.8 kB / 491.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.1594, allocations: 123.9 kB / 491.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.1597, allocations: 171.9 kB / 491.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006884/0.1604, allocations: 304.8 kB / 492.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1604, allocations: 0 / 492.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000922/0.1614, allocations: 383 kB / 492.6 MB, free: 8.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.1614, allocations: 11.94 kB / 492.6 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.168e-05/0.1615, allocations: 32.14 kB / 492.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.1615, allocations: 11.94 kB / 492.6 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.1617, allocations: 27.97 kB / 492.7 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.1618, allocations: 4 kB / 492.7 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.1621, allocations: 59.41 kB / 492.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.1621, allocations: 11.94 kB / 492.7 MB, free: 8.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002437/0.1624, allocations: 185.7 kB / 492.9 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1625, allocations: 43.47 kB / 493 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007736/0.1633, allocations: 380.7 kB / 493.3 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.1633, allocations: 4 kB / 493.3 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1633, allocations: 4 kB / 493.3 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1633, allocations: 0 / 493.3 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.1639, allocations: 361.3 kB / 493.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.993e-05/0.1639, allocations: 35.98 kB / 493.7 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.1641, allocations: 35.84 kB / 493.8 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1641, allocations: 0 / 493.8 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.1642, allocations: 12 kB / 493.8 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1642, allocations: 0 / 493.8 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1642, allocations: 0 / 493.8 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008732/0.165, allocations: 0.5779 MB / 494.3 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.1652, allocations: 120.6 kB / 494.5 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-05/0.1653, allocations: 3.984 kB / 494.5 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.1656, allocations: 19.98 kB / 494.5 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.1657, allocations: 31.92 kB / 494.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.1657, allocations: 11.98 kB / 494.5 MB, free: 6.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004717/0.1662, allocations: 375 kB / 494.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.435e-06/0.1662, allocations: 0 / 494.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006181/0.1668, allocations: 119.9 kB / 495 MB, free: 5.848 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001511/0.1683, allocations: 1.179 MB / 496.2 MB, free: 4.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009561/0.1693, allocations: 0.5296 MB / 496.7 MB, free: 4.059 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1693, allocations: 4.312 kB / 496.7 MB, free: 4.055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005005/0.1698, allocations: 387.1 kB / 497.1 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.1705, allocations: 101.5 kB / 497.2 MB, free: 3.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007433/0.178, allocations: 4.814 MB / 0.4902 GB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.1785, allocations: 0.8458 MB / 0.4911 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.1787, allocations: 63.23 kB / 0.4911 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.1789, allocations: 111.4 kB / 0.4912 GB, free: 13.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.825e-06/0.1789, allocations: 0 / 0.4912 GB, free: 13.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.2152, allocations: 11.38 MB / 0.5024 GB, free: 2.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.042, allocations: 18.75 kB / 0.5024 GB, free: 2.352 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches