Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007896/0.0007896, allocations: 80.53 kB / 19.92 MB, free: 4.637 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.0008296/0.0008296, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7797/0.7797, allocations: 158.6 MB / 185 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1225/0.1225, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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 1.273e-06/1.273e-06, allocations: 0 / 406.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.734e-05, allocations: 10.02 kB / 406.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002038/0.002056, allocations: 1.796 MB / 408.7 MB, free: 400 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.003756, allocations: 1.52 MB / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.00382, allocations: 0 / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.004028, allocations: 43.75 kB / 410.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.004273, allocations: 87.44 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006451/0.004919, allocations: 402.5 kB / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.00515, allocations: 258.5 kB / 411 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.005197, allocations: 16.58 kB / 411 MB, free: 14.07 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.005363, allocations: 135.5 kB / 411.1 MB, free: 13.94 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.005478, allocations: 107.6 kB / 411.2 MB, free: 13.83 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.005496, allocations: 8 kB / 411.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.005891, allocations: 307.2 kB / 411.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.219e-05/0.005974, allocations: 75.69 kB / 411.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.006042, allocations: 67.73 kB / 411.7 MB, free: 13.38 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.006548, allocations: 0.5255 MB / 412.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006551, allocations: 0 / 412.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006552, allocations: 0 / 412.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.006557, allocations: 0 / 412.2 MB, free: 12.86 MB / 394.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.0006075/0.007164, allocations: 0.5515 MB / 412.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.007204, allocations: 12.03 kB / 412.8 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.517e-05/0.007259, allocations: 74.7 kB / 412.8 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.007307, allocations: 40.67 kB / 412.9 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.007491, allocations: 177.3 kB / 413 MB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.00751, allocations: 24.59 kB / 413.1 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.007538, allocations: 35.97 kB / 413.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.008024, allocations: 467.9 kB / 413.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.008033, allocations: 0 / 413.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.008052, allocations: 12 kB / 413.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.406e-05/0.008096, allocations: 44.95 kB / 413.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.008599, allocations: 0.5426 MB / 414.2 MB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.009725, allocations: 1.036 MB / 415.2 MB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.01009, allocations: 274.8 kB / 415.5 MB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.0102, allocations: 88.73 kB / 415.6 MB, free: 9.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.01023, allocations: 12 kB / 415.6 MB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.01024, allocations: 34.55 kB / 415.6 MB, free: 9.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 1.312e-06/0.01025, allocations: 7.938 kB / 415.6 MB, free: 9.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004363/0.01068, allocations: 333.2 kB / 415.9 MB, free: 8.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.01071, allocations: 55.34 kB / 416 MB, free: 8.895 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.0108, allocations: 146 kB / 416.1 MB, free: 8.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.01081, allocations: 33.7 kB / 416.2 MB, free: 8.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.01089, allocations: 200.7 kB / 416.4 MB, free: 8.504 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.01094, allocations: 87.23 kB / 416.4 MB, free: 8.418 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.011, allocations: 69.64 kB / 416.5 MB, free: 8.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.01108, allocations: 326.8 kB / 416.8 MB, free: 8.016 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.01118, allocations: 91.78 kB / 416.9 MB, free: 7.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.01133, allocations: 174 kB / 417.1 MB, free: 7.719 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.0116, allocations: 294 kB / 417.4 MB, free: 7.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.0116, allocations: 0 / 417.4 MB, free: 7.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003319/0.01194, allocations: 329.9 kB / 417.7 MB, free: 7.066 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01195, allocations: 4 kB / 417.7 MB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01196, allocations: 7.938 kB / 417.7 MB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01197, allocations: 4 kB / 417.7 MB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.01225, allocations: 136.2 kB / 417.8 MB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007682/0.01302, allocations: 2.36 MB / 420.2 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.266e-05/0.01311, allocations: 31.78 kB / 420.2 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.01313, allocations: 19.98 kB / 420.3 MB, free: 4.414 MB / 394.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.000128/0.01326, allocations: 178 kB / 420.4 MB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.01328, allocations: 19.89 kB / 420.5 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.01372, allocations: 370.4 kB / 420.8 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01372, allocations: 4 kB / 420.8 MB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.01373, allocations: 0 / 420.8 MB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01373, allocations: 0 / 420.8 MB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.01397, allocations: 308.4 kB / 421.1 MB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.01397, allocations: 0 / 421.1 MB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.01419, allocations: 123.9 kB / 421.2 MB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.0142, allocations: 0 / 421.2 MB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01421, allocations: 8 kB / 421.2 MB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006541/0.01486, allocations: 2.36 MB / 423.6 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01486, allocations: 7.875 kB / 423.6 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.01518, allocations: 376.4 kB / 424 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.01519, allocations: 19.84 kB / 424 MB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.01521, allocations: 7.938 kB / 424 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.01528, allocations: 15.98 kB / 424 MB, free: 488 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.01533, allocations: 31.95 kB / 424.1 MB, free: 456 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.01534, allocations: 8 kB / 424.1 MB, free: 448 kB / 394.7 MB Notification: Performance of sorting global known variables: time 4.017e-05/0.01538, allocations: 102.9 kB / 424.2 MB, free: 348 kB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01538, allocations: 0 / 424.2 MB, free: 348 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.01574, allocations: 167.2 kB / 424.3 MB, free: 180 kB / 394.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.0007102/0.01645, allocations: 1.036 MB / 425.4 MB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.01685, allocations: 291.6 kB / 425.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01685, allocations: 0 / 425.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.01705, allocations: 172.3 kB / 425.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.01729, allocations: 12.69 kB / 425.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.01923, allocations: 2.543 MB / 428.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.01934, allocations: 193.8 kB / 428.6 MB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.0195, allocations: 97.72 kB / 428.7 MB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.166e-05/0.01959, allocations: 92.45 kB / 428.7 MB, free: 11.56 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01959, allocations: 0 / 428.7 MB, free: 11.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.03655, allocations: 7.729 MB / 436.5 MB, free: 3.809 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/7.469, allocations: 7.922 kB / 436.5 MB, free: 3.801 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.503706173039973]