Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.0008695/0.0008695, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009533/0.0009533, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9291/0.9291, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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.2339/0.2339, allocations: 34.23 MB / 294.8 MB, free: 0.668 MB / 266.7 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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 1.603e-06/1.603e-06, allocations: 0 / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.536e-05, allocations: 6.281 kB / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.1682/0.1682, allocations: 1.807 MB / 444 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.1707, allocations: 2.643 MB / 446.6 MB, free: 42.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.1708, allocations: 5.625 kB / 446.7 MB, free: 42.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.171, allocations: 47.47 kB / 446.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.1712, allocations: 84.2 kB / 446.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009336/0.1722, allocations: 0.7353 MB / 447.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.1724, allocations: 247.7 kB / 447.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.1724, allocations: 17.78 kB / 447.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.1726, allocations: 142.1 kB / 447.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.1727, allocations: 113.2 kB / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1727, allocations: 8.438 kB / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005686/0.1733, allocations: 0.6107 MB / 448.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.1733, allocations: 77.41 kB / 448.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.1734, allocations: 67.48 kB / 448.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006073/0.174, allocations: 0.8004 MB / 449.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.174, allocations: 0 / 449.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.174, allocations: 0 / 449.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.174, allocations: 2.969 kB / 449.6 MB, free: 41.26 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.0005556/0.1746, allocations: 0.6064 MB / 450.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1746, allocations: 8.906 kB / 450.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.1746, allocations: 79.41 kB / 450.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.1747, allocations: 34.95 kB / 450.3 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.1748, allocations: 176.8 kB / 450.5 MB, free: 40.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1748, allocations: 26.92 kB / 450.5 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.1749, allocations: 24.38 kB / 450.5 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.1753, allocations: 470.5 kB / 451 MB, free: 40.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1753, allocations: 0 / 451 MB, free: 40.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.1753, allocations: 14.83 kB / 451 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.1753, allocations: 46.91 kB / 451.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.1758, allocations: 0.5523 MB / 451.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000916/0.1767, allocations: 1.034 MB / 452.6 MB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.177, allocations: 268 kB / 452.9 MB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.536e-05/0.1771, allocations: 96.8 kB / 453 MB, free: 39.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.1771, allocations: 2.938 kB / 453 MB, free: 39.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.1771, allocations: 37.41 kB / 453 MB, free: 39.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.1771, allocations: 0 / 453 MB, free: 39.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003851/0.1775, allocations: 341.1 kB / 453.4 MB, free: 39.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.923e-05/0.1775, allocations: 60.75 kB / 453.4 MB, free: 39.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.559e-05/0.1776, allocations: 143 kB / 453.6 MB, free: 39.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.1776, allocations: 30.45 kB / 453.6 MB, free: 39.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.1776, allocations: 197.9 kB / 453.8 MB, free: 38.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.1777, allocations: 93.02 kB / 453.9 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.1777, allocations: 70.86 kB / 454 MB, free: 38.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.774e-05/0.1778, allocations: 324.1 kB / 454.3 MB, free: 38.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.1778, allocations: 87.39 kB / 454.4 MB, free: 38.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.178, allocations: 181 kB / 454.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.1782, allocations: 297.7 kB / 454.8 MB, free: 38.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1782, allocations: 0.8438 kB / 454.8 MB, free: 38.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002777/0.1785, allocations: 314.9 kB / 455.1 MB, free: 38.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.1785, allocations: 6.156 kB / 455.1 MB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1785, allocations: 9.5 kB / 455.1 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1785, allocations: 13.53 kB / 455.2 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.1788, allocations: 138.4 kB / 455.3 MB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003544/0.1791, allocations: 2.361 MB / 457.7 MB, free: 35.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.1792, allocations: 31.41 kB / 457.7 MB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1792, allocations: 18.72 kB / 457.7 MB, free: 35.7 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 8.296e-05/0.1793, allocations: 187.6 kB / 457.9 MB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.1793, allocations: 16.5 kB / 457.9 MB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.1797, allocations: 354.8 kB / 458.3 MB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1797, allocations: 3.281 kB / 458.3 MB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1797, allocations: 0 / 458.3 MB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1797, allocations: 3.141 kB / 458.3 MB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.1799, allocations: 307.8 kB / 458.6 MB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1799, allocations: 7.031 kB / 458.6 MB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.1801, allocations: 121.2 kB / 458.7 MB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1801, allocations: 3.25 kB / 458.7 MB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1801, allocations: 7.219 kB / 458.7 MB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002965/0.1804, allocations: 2.354 MB / 461 MB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1804, allocations: 3.938 kB / 461.1 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.1806, allocations: 374.3 kB / 461.4 MB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.1806, allocations: 14.97 kB / 461.4 MB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1807, allocations: 11.06 kB / 461.4 MB, free: 32.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.326e-05/0.1807, allocations: 13.12 kB / 461.5 MB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.1808, allocations: 19.16 kB / 461.5 MB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1808, allocations: 12.84 kB / 461.5 MB, free: 32.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.437e-05/0.1808, allocations: 109 kB / 461.6 MB, free: 32.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1808, allocations: 0 / 461.6 MB, free: 32.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003362/0.1811, allocations: 252 kB / 461.8 MB, free: 32.41 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.0006476/0.1818, allocations: 1.175 MB / 463 MB, free: 31.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.1821, allocations: 295.1 kB / 463.3 MB, free: 31.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1821, allocations: 0 / 463.3 MB, free: 31.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.1823, allocations: 164.4 kB / 463.5 MB, free: 31.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.1826, allocations: 21.67 kB / 463.5 MB, free: 31.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.1841, allocations: 2.575 MB / 466.1 MB, free: 29.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.295e-05/0.1842, allocations: 189.8 kB / 466.2 MB, free: 29.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.1843, allocations: 100.1 kB / 466.3 MB, free: 29.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.1844, allocations: 93.7 kB / 466.4 MB, free: 29.52 MB / 410.7 MB Notification: Performance of SimCode: time 4.6e-07/0.1844, allocations: 0 / 466.4 MB, free: 29.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.2057, allocations: 9.584 MB / 476 MB, free: 27.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.826, allocations: 7.422 kB / 476 MB, free: 27.97 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.028359926305711]