Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.00114/0.00114, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.001171, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.4 MB, free: 9.043 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.1 MB / 343.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 77.88 kB / 417.2 MB, free: 19.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1493, allocations: 62.45 MB / 479.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.004227/0.1536, allocations: 2.078 MB / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.1555, allocations: 0.9192 MB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.1557, allocations: 4 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.1561, allocations: 51.72 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005439/0.1567, allocations: 119.5 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.1571, allocations: 83.41 kB / 482.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005241/0.1576, allocations: 386.1 kB / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1577, allocations: 40.72 kB / 483.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003772/0.1581, allocations: 155.2 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.1585, allocations: 195.1 kB / 483.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.1585, allocations: 12 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.1589, allocations: 147.7 kB / 483.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.1591, allocations: 95.53 kB / 483.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.1593, allocations: 158.8 kB / 484 MB, free: 1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006245/0.1599, allocations: 426.6 kB / 484.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1599, allocations: 0 / 484.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1599, allocations: 0 / 484.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.16, allocations: 0 / 484.4 MB, free: 0.582 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001292/0.1613, allocations: 0.6513 MB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.1613, allocations: 16.02 kB / 485.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.1614, allocations: 82.7 kB / 485.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.929e-05/0.1615, allocations: 40.47 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.1619, allocations: 279.6 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.162, allocations: 33.36 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.162, allocations: 36.38 kB / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009125/0.1629, allocations: 0.5569 MB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.163, allocations: 4 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.163, allocations: 11.98 kB / 486.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.908e-05/0.1631, allocations: 40.98 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.1641, allocations: 0.5698 MB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.1662, allocations: 1.175 MB / 487.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006632/0.1669, allocations: 381 kB / 488.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.1672, allocations: 136.9 kB / 488.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.1672, allocations: 7.984 kB / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.579e-05/0.1673, allocations: 30.56 kB / 488.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.1673, allocations: 0 / 488.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.000995/0.1683, allocations: 476.2 kB / 488.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.1683, allocations: 51.41 kB / 489 MB, free: 11.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005043/0.1689, allocations: 453.6 kB / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.1689, allocations: 29.7 kB / 489.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.169, allocations: 196.3 kB / 489.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.1691, allocations: 70.91 kB / 489.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1692, allocations: 53.7 kB / 489.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1694, allocations: 354.7 kB / 490.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.1697, allocations: 115.9 kB / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.1699, allocations: 119.9 kB / 490.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.1704, allocations: 260.6 kB / 490.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1704, allocations: 0 / 490.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006851/0.1711, allocations: 356.3 kB / 491 MB, free: 9.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.1712, allocations: 10.59 kB / 491 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1712, allocations: 3.938 kB / 491 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1712, allocations: 0 / 491 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007462/0.1719, allocations: 151.9 kB / 491.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003789/0.1757, allocations: 5.52 MB / 496.6 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.176, allocations: 55.33 kB / 496.7 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.1761, allocations: 12 kB / 496.7 MB, free: 3.883 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002537/0.1763, allocations: 189.7 kB / 496.9 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.1764, allocations: 31.62 kB / 496.9 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009099/0.1773, allocations: 456.5 kB / 497.4 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.1773, allocations: 7.984 kB / 497.4 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1773, allocations: 0 / 497.4 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1774, allocations: 0 / 497.4 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.1779, allocations: 381.2 kB / 497.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1779, allocations: 0 / 497.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007448/0.1786, allocations: 155.8 kB / 497.9 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.1787, allocations: 8 kB / 497.9 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.1787, allocations: 8 kB / 497.9 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.182, allocations: 5.505 MB / 0.4916 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.182, allocations: 8 kB / 0.4916 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007001/0.1827, allocations: 454.1 kB / 0.4921 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.1828, allocations: 116.6 kB / 0.4922 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.1829, allocations: 4 kB / 0.4922 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.1831, allocations: 11.98 kB / 0.4922 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.1832, allocations: 23.91 kB / 0.4922 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.1833, allocations: 12 kB / 0.4922 GB, free: 12.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003947/0.1837, allocations: 339.1 kB / 0.4925 GB, free: 11.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1837, allocations: 0 / 0.4925 GB, free: 11.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.1841, allocations: 95.98 kB / 0.4926 GB, free: 11.82 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {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.001371/0.1855, allocations: 1.014 MB / 0.4936 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.1867, allocations: 447.5 kB / 0.4941 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1867, allocations: 0 / 0.4941 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008021/0.1876, allocations: 275.7 kB / 0.4943 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.1881, allocations: 94.94 kB / 0.4944 GB, free: 9.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006212/0.1943, allocations: 4.527 MB / 0.4988 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.1949, allocations: 0.8464 MB / 0.4997 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002711/0.1952, allocations: 87.22 kB / 0.4997 GB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.1954, allocations: 115.4 kB / 0.4998 GB, free: 4.309 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1954, allocations: 0 / 0.4998 GB, free: 4.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2399/0.4353, allocations: 11.19 MB / 0.5108 GB, free: 43.05 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.4356, allocations: 274.1 kB / 0.511 GB, free: 42.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/2.641, allocations: 1.219 kB / 0.511 GB, free: 42.68 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches