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_laminar_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.000805/0.000805, 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.0008363/0.0008363, allocations: 174 kB / 23.94 MB, free: 0.6172 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.8934/0.8934, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2424/0.2424, allocations: 34.25 MB / 294.9 MB, free: 0.707 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_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.188e-06/4.188e-06, allocations: 4 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.51e-05, allocations: 2.281 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.1796/0.1797, allocations: 1.781 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000999/0.1807, allocations: 0.7692 MB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.1807, allocations: 3.031 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.1809, allocations: 32.03 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.1812, allocations: 83.33 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.1814, allocations: 75.19 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1815, allocations: 136.4 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.1816, allocations: 3.469 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.1817, allocations: 98.84 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.797e-05/0.1818, allocations: 76.08 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1818, allocations: 2.969 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-05/0.1819, allocations: 53.31 kB / 445.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.182, allocations: 43.73 kB / 445.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.182, allocations: 27.61 kB / 445.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.1822, allocations: 147.6 kB / 445.5 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1822, allocations: 3.938 kB / 445.5 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1822, allocations: 2.844 kB / 445.5 MB, free: 43.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1822, allocations: 0 / 445.5 MB, free: 43.01 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0003944/0.1826, allocations: 323.5 kB / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1826, allocations: 10.22 kB / 445.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.1827, allocations: 47.27 kB / 445.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.1829, allocations: 34.8 kB / 445.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.183, allocations: 128.9 kB / 446.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.183, allocations: 7 kB / 446.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.183, allocations: 15.16 kB / 446.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1833, allocations: 173.7 kB / 446.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1833, allocations: 3.938 kB / 446.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1833, allocations: 10.48 kB / 446.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.1833, allocations: 19.27 kB / 446.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.1835, allocations: 134.1 kB / 446.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.184, allocations: 0.5407 MB / 447 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.1842, allocations: 111.8 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.1843, allocations: 43.08 kB / 447.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.1843, allocations: 7.25 kB / 447.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.1843, allocations: 30.56 kB / 447.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1843, allocations: 0 / 447.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002627/0.1845, allocations: 136.3 kB / 447.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.1846, allocations: 55.41 kB / 447.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.896e-05/0.1846, allocations: 129.1 kB / 447.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.1846, allocations: 32.42 kB / 447.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.1847, allocations: 118.3 kB / 447.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.1847, allocations: 27.83 kB / 447.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1847, allocations: 30.16 kB / 447.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.995e-05/0.1847, allocations: 318.4 kB / 448 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.1848, allocations: 38.17 kB / 448 MB, free: 41.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.1849, allocations: 97.92 kB / 448.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.185, allocations: 145 kB / 448.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.185, allocations: 2.344 kB / 448.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001764/0.1852, allocations: 164.7 kB / 448.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1852, allocations: 5.344 kB / 448.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1852, allocations: 2.688 kB / 448.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1852, allocations: 2.875 kB / 448.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.1853, allocations: 41.02 kB / 448.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1853, allocations: 10.14 kB / 448.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.1854, allocations: 16.61 kB / 448.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1854, allocations: 2.875 kB / 448.5 MB, free: 41.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.1854, allocations: 131.4 kB / 448.6 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.1854, allocations: 14.73 kB / 448.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.1856, allocations: 121.8 kB / 448.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1856, allocations: 2.938 kB / 448.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1856, allocations: 7.328 kB / 448.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1856, allocations: 0 / 448.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.1857, allocations: 163.4 kB / 448.9 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1857, allocations: 0 / 448.9 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.298e-05/0.1858, allocations: 34.72 kB / 449 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1858, allocations: 2.906 kB / 449 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1858, allocations: 0 / 449 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1858, allocations: 0 / 449 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1858, allocations: 0 / 449 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.1859, allocations: 213.5 kB / 449.2 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.1859, allocations: 15.41 kB / 449.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.186, allocations: 6.812 kB / 449.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-05/0.186, allocations: 7.078 kB / 449.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.186, allocations: 2.875 kB / 449.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.186, allocations: 6.094 kB / 449.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.706e-05/0.1861, allocations: 96.19 kB / 449.3 MB, free: 40.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1861, allocations: 0 / 449.3 MB, free: 40.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.1862, allocations: 31.58 kB / 449.3 MB, free: 40.43 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003255/0.1866, allocations: 0.7544 MB / 450.1 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.1867, allocations: 95.95 kB / 450.2 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1867, allocations: 6.812 kB / 450.2 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.138e-05/0.1868, allocations: 37.38 kB / 450.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.187, allocations: 12.36 kB / 450.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.188, allocations: 1.651 MB / 451.9 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.041e-05/0.1881, allocations: 98.03 kB / 452 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.915e-05/0.1881, allocations: 28.58 kB / 452 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.1882, allocations: 30.62 kB / 452 MB, free: 38.19 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1882, allocations: 0 / 452 MB, free: 38.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.2044, allocations: 2.946 MB / 455 MB, free: 37.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.899, allocations: 13.36 kB / 455 MB, free: 37.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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_laminar_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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: 8.906524679623544]