Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.0008303/0.0008303, 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.0009021/0.0009021, allocations: 170 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.8991/0.8991, 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.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.2405/0.2405, allocations: 32.79 MB / 293.5 MB, free: 1.211 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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.452e-05, allocations: 2.281 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002017/0.002031, allocations: 1.684 MB / 441.3 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009935/0.003025, allocations: 0.7827 MB / 442.1 MB, free: 1.734 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.003079, allocations: 3.938 kB / 442.1 MB, free: 1.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.003295, allocations: 43.75 kB / 442.1 MB, free: 1.688 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.003454, allocations: 55.61 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.003746, allocations: 95.64 kB / 442.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.003922, allocations: 167 kB / 442.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.003963, allocations: 9.234 kB / 442.4 MB, free: 1.367 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.004134, allocations: 79.8 kB / 442.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.004248, allocations: 67.78 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.004264, allocations: 4 kB / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.004465, allocations: 135.7 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.00453, allocations: 39.84 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.004575, allocations: 39.86 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.004835, allocations: 215.3 kB / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004836, allocations: 0 / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004837, allocations: 0 / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.004842, allocations: 0 / 443 MB, free: 0.7969 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004858/0.005327, allocations: 393.4 kB / 443.4 MB, free: 392 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.005369, allocations: 8.031 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.005411, allocations: 54.67 kB / 443.5 MB, free: 320 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.005672, allocations: 56.78 kB / 443.5 MB, free: 264 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.00583, allocations: 157.5 kB / 443.7 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.005843, allocations: 12.38 kB / 443.7 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.005862, allocations: 16.36 kB / 443.7 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1755/0.1814, allocations: 239.5 kB / 443.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1814, allocations: 0 / 443.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1814, allocations: 6.438 kB / 443.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.1814, allocations: 20.31 kB / 444 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.1817, allocations: 228.9 kB / 444.2 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.1823, allocations: 0.5178 MB / 444.7 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1824, allocations: 89.11 kB / 444.8 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.126e-05/0.1825, allocations: 40.2 kB / 444.8 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.1825, allocations: 6.156 kB / 444.8 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.1825, allocations: 39.92 kB / 444.9 MB, free: 46.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1825, allocations: 0 / 444.9 MB, free: 46.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002895/0.1828, allocations: 166.4 kB / 445 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.1828, allocations: 61.8 kB / 445.1 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.686e-05/0.1829, allocations: 188.3 kB / 445.3 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.1829, allocations: 27.48 kB / 445.3 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.183, allocations: 141.7 kB / 445.4 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.183, allocations: 23.91 kB / 445.5 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.183, allocations: 36.19 kB / 445.5 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.634e-05/0.1831, allocations: 328.2 kB / 445.8 MB, free: 45.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-05/0.1831, allocations: 50.14 kB / 445.9 MB, free: 45.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.761e-05/0.1832, allocations: 103.2 kB / 446 MB, free: 45.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.1834, allocations: 153.4 kB / 446.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1834, allocations: 2.344 kB / 446.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001932/0.1835, allocations: 195.1 kB / 446.3 MB, free: 45.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1836, allocations: 14.69 kB / 446.3 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1836, allocations: 0 / 446.3 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1836, allocations: 2.75 kB / 446.3 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.184, allocations: 93.86 kB / 446.4 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004352/0.1844, allocations: 1.807 MB / 448.2 MB, free: 43.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.1845, allocations: 25.73 kB / 448.3 MB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1845, allocations: 8.344 kB / 448.3 MB, free: 43.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.876e-05/0.1846, allocations: 145.6 kB / 448.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.1846, allocations: 17.12 kB / 448.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.1848, allocations: 181.3 kB / 448.6 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1848, allocations: 2.938 kB / 448.6 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1848, allocations: 0 / 448.6 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1848, allocations: 0 / 448.6 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.185, allocations: 204.2 kB / 448.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.185, allocations: 0 / 448.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.1853, allocations: 83.23 kB / 448.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1853, allocations: 0 / 448.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1853, allocations: 6.688 kB / 448.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002938/0.1856, allocations: 1.773 MB / 450.7 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1856, allocations: 0 / 450.7 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.1858, allocations: 249.6 kB / 450.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.1858, allocations: 13.62 kB / 450.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1858, allocations: 0 / 450.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.1859, allocations: 9.734 kB / 450.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1859, allocations: 13.88 kB / 450.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1859, allocations: 3.062 kB / 450.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.743e-05/0.186, allocations: 142.2 kB / 451.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.186, allocations: 0 / 451.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.1862, allocations: 41.36 kB / 451.1 MB, free: 41.15 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003328/0.1865, allocations: 0.7939 MB / 451.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000537/0.187, allocations: 201.3 kB / 452.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.187, allocations: 0 / 452.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.1873, allocations: 95.11 kB / 452.2 MB, free: 40.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.1876, allocations: 44.41 kB / 452.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1889, allocations: 2.102 MB / 454.3 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.277e-05/0.189, allocations: 135.6 kB / 454.5 MB, free: 38.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.585e-05/0.189, allocations: 33.39 kB / 454.5 MB, free: 38.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.1891, allocations: 43.77 kB / 454.6 MB, free: 38.79 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1891, allocations: 0 / 454.6 MB, free: 38.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.2071, allocations: 5.965 MB / 460.5 MB, free: 37.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/7.883, allocations: 3.859 kB / 460.5 MB, free: 37.59 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.918199985288084]