Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 208.3 kB / 20.75 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2686/0.2686, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_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_4_1_0_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.002051/0.002051, allocations: 67.89 kB / 0.491 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1326, allocations: 65.98 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.005107/0.1377, allocations: 1.843 MB / 0.5572 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004202/0.1419, allocations: 1.722 MB / 0.5589 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.142, allocations: 3.938 kB / 0.5589 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1424, allocations: 43.75 kB / 0.5589 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.1428, allocations: 79.58 kB / 0.559 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.1443, allocations: 410.6 kB / 0.5594 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.1448, allocations: 238.7 kB / 0.5596 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.1449, allocations: 20.41 kB / 0.5596 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.1453, allocations: 111.4 kB / 0.5597 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.1456, allocations: 127.4 kB / 0.5599 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.1456, allocations: 8 kB / 0.5599 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.1474, allocations: 0.7173 MB / 0.5606 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.1475, allocations: 67.69 kB / 0.5606 GB, free: 460 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.1477, allocations: 123.1 kB / 0.5608 GB, free: 336 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.1493, allocations: 0.6111 MB / 0.5614 GB, free: 15.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1493, allocations: 4 kB / 0.5614 GB, free: 15.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1493, allocations: 4 kB / 0.5614 GB, free: 15.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.1493, allocations: 0 / 0.5614 GB, free: 15.71 MB / 430.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.001534/0.1509, allocations: 0.6422 MB / 0.562 GB, free: 15.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.1509, allocations: 8.031 kB / 0.562 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001372/0.151, allocations: 78.7 kB / 0.5621 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.1512, allocations: 36.7 kB / 0.5621 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.1516, allocations: 239.2 kB / 0.5623 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.1516, allocations: 16.56 kB / 0.5624 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.1517, allocations: 27.98 kB / 0.5624 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.1528, allocations: 467.3 kB / 0.5628 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1528, allocations: 4 kB / 0.5628 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.1529, allocations: 8 kB / 0.5628 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.877e-05/0.153, allocations: 52.91 kB / 0.5629 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.1543, allocations: 0.5465 MB / 0.5634 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.1566, allocations: 1.308 MB / 0.5647 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.1571, allocations: 264.8 kB / 0.565 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.1573, allocations: 92.78 kB / 0.565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.1574, allocations: 12.08 kB / 0.5651 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1574, allocations: 34.56 kB / 0.5651 GB, free: 11.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.313e-06/0.1574, allocations: 0 / 0.5651 GB, free: 11.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007499/0.1582, allocations: 341.9 kB / 0.5654 GB, free: 11.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.1582, allocations: 55.41 kB / 0.5655 GB, free: 11.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1583, allocations: 140.4 kB / 0.5656 GB, free: 11.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.1583, allocations: 33.7 kB / 0.5656 GB, free: 11.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.1585, allocations: 196.3 kB / 0.5658 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/0.1585, allocations: 91.2 kB / 0.5659 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.647e-05/0.1586, allocations: 69.69 kB / 0.566 GB, free: 10.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1588, allocations: 330.8 kB / 0.5663 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.159, allocations: 87.92 kB / 0.5664 GB, free: 10.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.1593, allocations: 174 kB / 0.5665 GB, free: 10.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.1597, allocations: 298.2 kB / 0.5668 GB, free: 9.746 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1597, allocations: 0 / 0.5668 GB, free: 9.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005867/0.1603, allocations: 321.1 kB / 0.5671 GB, free: 9.426 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1603, allocations: 8 kB / 0.5671 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1604, allocations: 11.92 kB / 0.5671 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1604, allocations: 4 kB / 0.5671 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.1608, allocations: 116.2 kB / 0.5673 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.1622, allocations: 2.368 MB / 0.5696 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.1623, allocations: 39.72 kB / 0.5696 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.1624, allocations: 15.98 kB / 0.5696 GB, free: 6.773 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.0001799/0.1625, allocations: 173.7 kB / 0.5698 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.1626, allocations: 15.91 kB / 0.5698 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008125/0.1634, allocations: 374.2 kB / 0.5702 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1634, allocations: 4 kB / 0.5702 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1634, allocations: 0 / 0.5702 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1634, allocations: 3.938 kB / 0.5702 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.1638, allocations: 337.4 kB / 0.5705 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1638, allocations: 0 / 0.5705 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.1642, allocations: 103.9 kB / 0.5706 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1642, allocations: 0 / 0.5706 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.1642, allocations: 11.98 kB / 0.5706 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.1655, allocations: 2.372 MB / 0.5729 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1655, allocations: 0 / 0.5729 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.1661, allocations: 371.3 kB / 0.5733 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.1661, allocations: 96.94 kB / 0.5734 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.1662, allocations: 7.938 kB / 0.5734 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1663, allocations: 16.09 kB / 0.5734 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.1664, allocations: 15.97 kB / 0.5734 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.1664, allocations: 15.98 kB / 0.5734 GB, free: 2.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.467e-05/0.1665, allocations: 99.27 kB / 0.5735 GB, free: 2.598 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1665, allocations: 0 / 0.5735 GB, free: 2.598 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005301/0.167, allocations: 175.2 kB / 0.5737 GB, free: 2.426 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.001206/0.1682, allocations: 1.04 MB / 0.5747 GB, free: 1.359 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007354/0.1689, allocations: 291.9 kB / 0.575 GB, free: 1.074 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1689, allocations: 0 / 0.575 GB, free: 1.074 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.1694, allocations: 172.5 kB / 0.5751 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.1697, allocations: 16 kB / 0.5752 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.1729, allocations: 2.558 MB / 0.5777 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.1733, allocations: 0.7985 MB / 0.5784 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002315/0.1735, allocations: 97.73 kB / 0.5785 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.1737, allocations: 91.39 kB / 0.5786 GB, free: 13.17 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1737, allocations: 4 kB / 0.5786 GB, free: 13.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1336/0.3072, allocations: 7.145 MB / 0.5856 GB, free: 6.254 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.52, allocations: 15.53 kB / 0.5856 GB, free: 6.238 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.350251257885247]