Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001781/0.001781, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00219/0.00219, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2443/0.2443, allocations: 46.9 MB / 357.4 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] 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.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 79.86 kB / 0.4913 GB, free: 8.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1428, allocations: 65.99 MB / 0.5557 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003469/0.1463, allocations: 1.848 MB / 0.5575 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.1491, allocations: 1.714 MB / 0.5592 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.1492, allocations: 0 / 0.5592 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.1495, allocations: 51.67 kB / 0.5592 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.1498, allocations: 71.64 kB / 0.5593 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009074/0.1507, allocations: 421 kB / 0.5597 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.151, allocations: 238.7 kB / 0.5599 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.816e-05/0.1511, allocations: 28.39 kB / 0.56 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.1513, allocations: 99.5 kB / 0.5601 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.1514, allocations: 131.4 kB / 0.5602 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.1515, allocations: 8 kB / 0.5602 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.1525, allocations: 0.7173 MB / 0.5609 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.202e-05/0.1526, allocations: 71.67 kB / 0.561 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1527, allocations: 111.1 kB / 0.5611 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009033/0.1536, allocations: 0.6267 MB / 0.5617 GB, free: 88 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1536, allocations: 0 / 0.5617 GB, free: 88 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1536, allocations: 0 / 0.5617 GB, free: 88 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1536, allocations: 3.984 kB / 0.5617 GB, free: 84 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001026/0.1546, allocations: 0.6345 MB / 0.5623 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1547, allocations: 12.03 kB / 0.5623 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.582e-05/0.1548, allocations: 78.7 kB / 0.5624 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.1548, allocations: 36.69 kB / 0.5624 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.1552, allocations: 243.2 kB / 0.5627 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1552, allocations: 16.56 kB / 0.5627 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.1552, allocations: 31.97 kB / 0.5627 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007332/0.156, allocations: 467.3 kB / 0.5631 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.156, allocations: 0 / 0.5631 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.156, allocations: 15.98 kB / 0.5632 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.289e-05/0.1561, allocations: 40.97 kB / 0.5632 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008725/0.1569, allocations: 0.5542 MB / 0.5637 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.1589, allocations: 1.308 MB / 0.565 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.1594, allocations: 258.5 kB / 0.5653 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.1596, allocations: 88.78 kB / 0.5653 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.1596, allocations: 16.31 kB / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1597, allocations: 34.56 kB / 0.5654 GB, free: 12.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.323e-06/0.1597, allocations: 0 / 0.5654 GB, free: 12.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007303/0.1604, allocations: 333.9 kB / 0.5657 GB, free: 11.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.1605, allocations: 59.34 kB / 0.5658 GB, free: 11.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1606, allocations: 144.2 kB / 0.5659 GB, free: 11.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1606, allocations: 29.7 kB / 0.5659 GB, free: 11.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1607, allocations: 200.3 kB / 0.5661 GB, free: 11.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/0.1608, allocations: 95.22 kB / 0.5662 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/0.1609, allocations: 65.69 kB / 0.5663 GB, free: 11.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1611, allocations: 326.8 kB / 0.5666 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.1613, allocations: 87.92 kB / 0.5667 GB, free: 10.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.1615, allocations: 182 kB / 0.5669 GB, free: 10.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.162, allocations: 290.2 kB / 0.5671 GB, free: 10.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.162, allocations: 4 kB / 0.5671 GB, free: 10.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005981/0.1626, allocations: 325.1 kB / 0.5674 GB, free: 9.797 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1626, allocations: 4 kB / 0.5674 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1626, allocations: 4.344 kB / 0.5674 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1627, allocations: 8 kB / 0.5675 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.1631, allocations: 123.9 kB / 0.5676 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.1646, allocations: 2.36 MB / 0.5699 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.1647, allocations: 43.64 kB / 0.5699 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.1648, allocations: 16 kB / 0.5699 GB, free: 7.148 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001903/0.165, allocations: 173.9 kB / 0.5701 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.165, allocations: 19.84 kB / 0.5701 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007813/0.1658, allocations: 370.2 kB / 0.5705 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1658, allocations: 4 kB / 0.5705 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1658, allocations: 3.938 kB / 0.5705 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1658, allocations: 3.938 kB / 0.5705 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.1662, allocations: 333.4 kB / 0.5708 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1662, allocations: 0 / 0.5708 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.1666, allocations: 111.9 kB / 0.5709 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1666, allocations: 4 kB / 0.5709 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.1667, allocations: 12 kB / 0.5709 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.1681, allocations: 2.356 MB / 0.5732 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.1681, allocations: 7.922 kB / 0.5732 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/0.1686, allocations: 371.3 kB / 0.5736 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.1687, allocations: 97.14 kB / 0.5737 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.1687, allocations: 7.938 kB / 0.5737 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1689, allocations: 11.98 kB / 0.5737 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.1689, allocations: 23.97 kB / 0.5737 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.1689, allocations: 12 kB / 0.5737 GB, free: 3.066 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.047e-05/0.169, allocations: 95.27 kB / 0.5738 GB, free: 2.973 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.169, allocations: 0 / 0.5738 GB, free: 2.973 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005715/0.1696, allocations: 183.1 kB / 0.574 GB, free: 2.793 MB / 430.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/0.1708, allocations: 1.036 MB / 0.575 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007526/0.1715, allocations: 283.6 kB / 0.5753 GB, free: 1.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1715, allocations: 0.6875 kB / 0.5753 GB, free: 1.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.1719, allocations: 171.8 kB / 0.5754 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.1723, allocations: 15.98 kB / 0.5755 GB, free: 1.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.1756, allocations: 2.55 MB / 0.578 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.1761, allocations: 0.8024 MB / 0.5787 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004402/0.1766, allocations: 105.7 kB / 0.5788 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.1768, allocations: 89.8 kB / 0.5789 GB, free: 13.56 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1768, allocations: 0 / 0.5789 GB, free: 13.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03917/0.2159, allocations: 7.146 MB / 0.5859 GB, free: 6.613 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.31, allocations: 7.766 kB / 0.5859 GB, free: 6.605 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.222931972239166]