Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009494/0.0009494, allocations: 79.7 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.001029/0.001029, allocations: 174.3 kB / 23.95 MB, free: 0.6094 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.8886/0.8886, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2582/0.2582, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_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_0_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 1.512e-06/1.512e-06, allocations: 0 / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.982e-05, allocations: 2.281 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002365/0.002384, allocations: 1.826 MB / 441.4 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1671/0.1695, allocations: 2.631 MB / 444.1 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1697, allocations: 3.094 kB / 444.1 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.1699, allocations: 44.22 kB / 444.1 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.1702, allocations: 82.41 kB / 444.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.1716, allocations: 0.7451 MB / 444.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.1718, allocations: 252.1 kB / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.731e-05/0.1719, allocations: 14.03 kB / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.1721, allocations: 139.9 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1723, allocations: 108 kB / 445.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.1723, allocations: 5.688 kB / 445.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008252/0.1731, allocations: 0.6144 MB / 446.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-05/0.1732, allocations: 74.77 kB / 446.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.1733, allocations: 70.14 kB / 446.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007967/0.1741, allocations: 0.8033 MB / 447 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1741, allocations: 0 / 447 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1741, allocations: 0 / 447 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1741, allocations: 0 / 447 MB, free: 42.93 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.0006661/0.1747, allocations: 0.6161 MB / 447.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1748, allocations: 9.188 kB / 447.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.1748, allocations: 70.03 kB / 447.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.1749, allocations: 35.88 kB / 447.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.175, allocations: 184 kB / 447.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.175, allocations: 18.09 kB / 447.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1751, allocations: 26.78 kB / 448 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.1755, allocations: 478.5 kB / 448.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1755, allocations: 0.625 kB / 448.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.1755, allocations: 10.34 kB / 448.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.1756, allocations: 51.03 kB / 448.5 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.176, allocations: 0.5451 MB / 449 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1771, allocations: 1.033 MB / 450.1 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.1774, allocations: 269.3 kB / 450.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.1775, allocations: 92.75 kB / 450.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1776, allocations: 9.562 kB / 450.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.1776, allocations: 34.56 kB / 450.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.242e-06/0.1776, allocations: 0 / 450.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004308/0.178, allocations: 335.2 kB / 450.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.178, allocations: 58.28 kB / 450.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.963e-05/0.1781, allocations: 149.8 kB / 451 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1781, allocations: 28.8 kB / 451 MB, free: 41.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.1782, allocations: 203.3 kB / 451.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.1782, allocations: 97.05 kB / 451.3 MB, free: 41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.1783, allocations: 72.45 kB / 451.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.968e-05/0.1783, allocations: 323.8 kB / 451.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1784, allocations: 88.94 kB / 451.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1785, allocations: 170.3 kB / 452 MB, free: 40.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.1788, allocations: 295.6 kB / 452.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1788, allocations: 0 / 452.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003187/0.1791, allocations: 321 kB / 452.6 MB, free: 40.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1791, allocations: 8.031 kB / 452.6 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1791, allocations: 3.188 kB / 452.6 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1791, allocations: 7.062 kB / 452.6 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.1794, allocations: 136.3 kB / 452.7 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004254/0.1798, allocations: 2.362 MB / 455.1 MB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.676e-05/0.1799, allocations: 36.59 kB / 455.1 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.1799, allocations: 16.31 kB / 455.1 MB, free: 37.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.0001039/0.18, allocations: 179 kB / 455.3 MB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.1801, allocations: 18.44 kB / 455.3 MB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.1805, allocations: 364.6 kB / 455.7 MB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1805, allocations: 3.188 kB / 455.7 MB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1805, allocations: 3.938 kB / 455.7 MB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1805, allocations: 3.328 kB / 455.7 MB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.1807, allocations: 311.9 kB / 456 MB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1807, allocations: 3.219 kB / 456 MB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.1809, allocations: 112.7 kB / 456.1 MB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1809, allocations: 7.281 kB / 456.1 MB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1809, allocations: 14.47 kB / 456.1 MB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003441/0.1813, allocations: 2.349 MB / 458.5 MB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1813, allocations: 7.125 kB / 458.5 MB, free: 34.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.1815, allocations: 370.7 kB / 458.8 MB, free: 34.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.1815, allocations: 17.62 kB / 458.9 MB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1816, allocations: 4 kB / 458.9 MB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.1816, allocations: 13.7 kB / 458.9 MB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.539e-05/0.1817, allocations: 31.19 kB / 458.9 MB, free: 34.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1817, allocations: 13.7 kB / 458.9 MB, free: 34.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.738e-05/0.1817, allocations: 97.66 kB / 459 MB, free: 34.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1817, allocations: 0 / 459 MB, free: 34.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004639/0.1822, allocations: 253.3 kB / 459.3 MB, free: 34.53 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.0007658/0.1829, allocations: 1.176 MB / 460.4 MB, free: 33.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003948/0.1833, allocations: 289 kB / 460.7 MB, free: 33.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1833, allocations: 0 / 460.7 MB, free: 33.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.1835, allocations: 173 kB / 460.9 MB, free: 33.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.1838, allocations: 23.42 kB / 460.9 MB, free: 33.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.1855, allocations: 2.588 MB / 463.5 MB, free: 31.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.842e-05/0.1856, allocations: 193.2 kB / 463.7 MB, free: 31.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.1858, allocations: 104.4 kB / 463.8 MB, free: 31.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.478e-05/0.1859, allocations: 89.83 kB / 463.9 MB, free: 31.66 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1859, allocations: 0 / 463.9 MB, free: 31.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.2053, allocations: 9.583 MB / 473.5 MB, free: 30.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.105, allocations: 9.609 kB / 473.5 MB, free: 30.12 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.289589543826878]