Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.000821/0.000821, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008334/0.0008334, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8799/0.8799, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2234/0.2234, allocations: 34.25 MB / 294.9 MB, free: 0.7266 MB / 266.7 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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.101e-05, allocations: 4.953 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.1597/0.1597, allocations: 1.682 MB / 443.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000951/0.1607, allocations: 0.7839 MB / 444.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.1607, allocations: 7 kB / 444.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.1609, allocations: 38.05 kB / 444.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.161, allocations: 57.8 kB / 444.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.1613, allocations: 99.47 kB / 444.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1614, allocations: 160.8 kB / 445 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.1614, allocations: 3.938 kB / 445 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1616, allocations: 95.38 kB / 445.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.873e-05/0.1616, allocations: 64.48 kB / 445.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1617, allocations: 2.875 kB / 445.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.1618, allocations: 130.8 kB / 445.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.1619, allocations: 44.89 kB / 445.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.1619, allocations: 40 kB / 445.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1621, allocations: 211.6 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.1621, allocations: 0 / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1621, allocations: 0 / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1621, allocations: 7.172 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0003679/0.1625, allocations: 391.5 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1625, allocations: 11.69 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.1625, allocations: 49.27 kB / 446.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.1628, allocations: 58.36 kB / 446.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1629, allocations: 158.6 kB / 446.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1629, allocations: 9.594 kB / 446.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1629, allocations: 12.16 kB / 446.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1632, allocations: 234.9 kB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1632, allocations: 3.938 kB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1632, allocations: 9 kB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.1632, allocations: 17 kB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.1635, allocations: 226.5 kB / 446.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.164, allocations: 0.533 MB / 447.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1642, allocations: 84.56 kB / 447.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/0.1642, allocations: 52.47 kB / 447.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.1642, allocations: 0 / 447.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.14e-05/0.1643, allocations: 33.94 kB / 447.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.1643, allocations: 2.969 kB / 447.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002804/0.1645, allocations: 182.5 kB / 447.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/0.1646, allocations: 51.41 kB / 447.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.277e-05/0.1646, allocations: 192.3 kB / 447.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.1647, allocations: 27.33 kB / 447.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.1647, allocations: 138.6 kB / 448 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.1647, allocations: 26.34 kB / 448.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.1647, allocations: 37.78 kB / 448.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.088e-05/0.1648, allocations: 320.6 kB / 448.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.83e-05/0.1648, allocations: 49.33 kB / 448.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/0.1649, allocations: 99.44 kB / 448.6 MB, free: 40.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1651, allocations: 159.4 kB / 448.7 MB, free: 40.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1651, allocations: 2.906 kB / 448.7 MB, free: 40.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001949/0.1653, allocations: 186.6 kB / 448.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1653, allocations: 5.719 kB / 448.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1653, allocations: 6.031 kB / 448.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1653, allocations: 6.938 kB / 448.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.1657, allocations: 89.44 kB / 449 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004181/0.1661, allocations: 1.812 MB / 450.8 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.1662, allocations: 23.73 kB / 450.8 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1662, allocations: 5.688 kB / 450.9 MB, free: 39.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/0.1663, allocations: 146.8 kB / 451 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.1663, allocations: 13.22 kB / 451 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.1665, allocations: 188.2 kB / 451.2 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1665, allocations: 0 / 451.2 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1665, allocations: 1.266 kB / 451.2 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1665, allocations: 2.875 kB / 451.2 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.1667, allocations: 190.3 kB / 451.4 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1667, allocations: 2.781 kB / 451.4 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.167, allocations: 78.75 kB / 451.5 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.167, allocations: 0 / 451.5 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.167, allocations: 13.78 kB / 451.5 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000295/0.1673, allocations: 1.776 MB / 453.3 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1673, allocations: 0 / 453.3 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.1674, allocations: 242.6 kB / 453.5 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.1675, allocations: 18.72 kB / 453.5 MB, free: 36.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1675, allocations: 8.562 kB / 453.5 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.034e-05/0.1675, allocations: 10.08 kB / 453.5 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1676, allocations: 9.359 kB / 453.5 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1676, allocations: 2.875 kB / 453.5 MB, free: 36.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.176e-05/0.1676, allocations: 143.3 kB / 453.7 MB, free: 36.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1676, allocations: 0 / 453.7 MB, free: 36.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.1678, allocations: 44.52 kB / 453.7 MB, free: 36.67 MB / 410.7 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003504/0.1682, allocations: 0.7929 MB / 454.5 MB, free: 36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000533/0.1687, allocations: 202.8 kB / 454.7 MB, free: 35.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1687, allocations: 0 / 454.7 MB, free: 35.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.169, allocations: 95.19 kB / 454.8 MB, free: 35.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.1692, allocations: 45.56 kB / 454.8 MB, free: 35.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.1706, allocations: 2.104 MB / 457 MB, free: 34.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.363e-05/0.1707, allocations: 119.8 kB / 457.1 MB, free: 34.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.067e-05/0.1708, allocations: 38.58 kB / 457.1 MB, free: 34.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.1708, allocations: 44.45 kB / 457.2 MB, free: 34.43 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1708, allocations: 2.844 kB / 457.2 MB, free: 34.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.1873, allocations: 5.951 MB / 463.1 MB, free: 33.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/7.988, allocations: 11.5 kB / 463.1 MB, free: 33.22 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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: 9.952739504165947]