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_overall_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.00126/0.00126, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009597/0.0009597, 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.8893/0.8893, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2333/0.2333, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.578e-05, allocations: 2.281 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.1683/0.1684, allocations: 1.808 MB / 444 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.1708, allocations: 2.639 MB / 446.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.1709, allocations: 3.875 kB / 446.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.1712, allocations: 48.8 kB / 446.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.1714, allocations: 83.72 kB / 446.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009657/0.1724, allocations: 0.7313 MB / 447.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.1726, allocations: 257 kB / 447.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.045e-05/0.1727, allocations: 14.16 kB / 447.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.1729, allocations: 142.3 kB / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.173, allocations: 103.3 kB / 448 MB, free: 41.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.173, allocations: 8.531 kB / 448 MB, free: 41.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006083/0.1736, allocations: 0.6133 MB / 448.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.1737, allocations: 74.64 kB / 448.7 MB, free: 41.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.1737, allocations: 71.08 kB / 448.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006555/0.1744, allocations: 0.7988 MB / 449.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1744, allocations: 0 / 449.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1744, allocations: 6.875 kB / 449.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1744, allocations: 0 / 449.6 MB, free: 41.37 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0006374/0.175, allocations: 0.6089 MB / 450.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1751, allocations: 8.625 kB / 450.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.1751, allocations: 82.19 kB / 450.3 MB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.1752, allocations: 38.5 kB / 450.3 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.1753, allocations: 176.2 kB / 450.5 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1753, allocations: 24.06 kB / 450.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1754, allocations: 25.27 kB / 450.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.1758, allocations: 470.5 kB / 451 MB, free: 40.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1758, allocations: 4.219 kB / 451 MB, free: 40.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.1758, allocations: 8 kB / 451 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/0.1758, allocations: 49.28 kB / 451.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.1763, allocations: 0.5447 MB / 451.6 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.1773, allocations: 1.037 MB / 452.6 MB, free: 39.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.1777, allocations: 271 kB / 452.9 MB, free: 39.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1778, allocations: 98.59 kB / 453 MB, free: 39.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.1778, allocations: 5.812 kB / 453 MB, free: 39.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.1778, allocations: 34.56 kB / 453 MB, free: 39.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.1778, allocations: 6.906 kB / 453.1 MB, free: 39.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004282/0.1782, allocations: 339 kB / 453.4 MB, free: 39.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.1783, allocations: 54.09 kB / 453.4 MB, free: 39.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.1783, allocations: 145.5 kB / 453.6 MB, free: 39.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1784, allocations: 29.7 kB / 453.6 MB, free: 39.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.1784, allocations: 205.9 kB / 453.8 MB, free: 39.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.1784, allocations: 91.92 kB / 453.9 MB, free: 39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.1785, allocations: 68.8 kB / 454 MB, free: 38.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.1785, allocations: 331.8 kB / 454.3 MB, free: 38.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1786, allocations: 86.89 kB / 454.4 MB, free: 38.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1788, allocations: 174.3 kB / 454.5 MB, free: 38.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.179, allocations: 291.9 kB / 454.8 MB, free: 38.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.179, allocations: 0 / 454.8 MB, free: 38.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003025/0.1793, allocations: 324.2 kB / 455.1 MB, free: 38.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1793, allocations: 5.719 kB / 455.2 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1793, allocations: 5.984 kB / 455.2 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1793, allocations: 6.406 kB / 455.2 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.1796, allocations: 134.6 kB / 455.3 MB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004319/0.1801, allocations: 2.357 MB / 457.7 MB, free: 35.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.61e-05/0.1801, allocations: 30.92 kB / 457.7 MB, free: 35.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.1802, allocations: 18.84 kB / 457.7 MB, free: 35.82 MB / 410.7 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.0001085/0.1803, allocations: 186.3 kB / 457.9 MB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.1803, allocations: 15.78 kB / 457.9 MB, free: 35.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/0.1807, allocations: 366.1 kB / 458.3 MB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1807, allocations: 6.625 kB / 458.3 MB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1807, allocations: 0 / 458.3 MB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1807, allocations: 0 / 458.3 MB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.1809, allocations: 307.8 kB / 458.6 MB, free: 35.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.181, allocations: 3.234 kB / 458.6 MB, free: 35.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.1812, allocations: 121.6 kB / 458.7 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1812, allocations: 0 / 458.7 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1812, allocations: 11.12 kB / 458.7 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003281/0.1815, allocations: 2.355 MB / 461.1 MB, free: 32.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1815, allocations: 3.938 kB / 461.1 MB, free: 32.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1818, allocations: 368.3 kB / 461.4 MB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.1818, allocations: 18.41 kB / 461.4 MB, free: 32.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1818, allocations: 16.56 kB / 461.5 MB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.1819, allocations: 11.09 kB / 461.5 MB, free: 32.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.1819, allocations: 27.67 kB / 461.5 MB, free: 32.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1819, allocations: 10.41 kB / 461.5 MB, free: 32.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.883e-05/0.182, allocations: 102 kB / 461.6 MB, free: 32.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.182, allocations: 3.219 kB / 461.6 MB, free: 32.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005114/0.1825, allocations: 251.5 kB / 461.8 MB, free: 32.52 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 (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.0007593/0.1832, allocations: 1.17 MB / 463 MB, free: 31.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003874/0.1836, allocations: 299.1 kB / 463.3 MB, free: 31.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1836, allocations: 0 / 463.3 MB, free: 31.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.1838, allocations: 168.2 kB / 463.5 MB, free: 31.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.1841, allocations: 15.02 kB / 463.5 MB, free: 31.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.1858, allocations: 2.586 MB / 466.1 MB, free: 29.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.74e-05/0.1859, allocations: 193.7 kB / 466.3 MB, free: 29.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.186, allocations: 109.2 kB / 466.4 MB, free: 29.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.1861, allocations: 93.06 kB / 466.5 MB, free: 29.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/0.1861, allocations: 0 / 466.5 MB, free: 29.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.207, allocations: 9.581 MB / 476 MB, free: 28.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.03, allocations: 3.281 kB / 476 MB, free: 28.09 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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_overall_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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: 10.212359317578375]