Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.000942/0.000942, allocations: 79.69 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.001342/0.001342, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8982/0.8982, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.252/0.252, allocations: 34.25 MB / 294.9 MB, free: 0.7227 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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.492e-05, allocations: 2.281 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.1736/0.1737, allocations: 1.811 MB / 444 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1752, allocations: 1.258 MB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.962e-05/0.1753, allocations: 0 / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1755, allocations: 55.14 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.1758, allocations: 96.75 kB / 445.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.1762, allocations: 226 kB / 445.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.1764, allocations: 409.8 kB / 446 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.556e-05/0.1765, allocations: 28.42 kB / 446.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.1768, allocations: 204.2 kB / 446.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.177, allocations: 153.4 kB / 446.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.177, allocations: 11.75 kB / 446.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.1773, allocations: 229.5 kB / 446.7 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1775, allocations: 136.1 kB / 446.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.847e-05/0.1776, allocations: 118.4 kB / 446.9 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005537/0.1781, allocations: 0.5592 MB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1781, allocations: 0 / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1781, allocations: 0 / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.1781, allocations: 0 / 447.5 MB, free: 42.44 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0008456/0.179, allocations: 0.709 MB / 448.2 MB, free: 41.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.179, allocations: 11.7 kB / 448.2 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.557e-05/0.1791, allocations: 98.72 kB / 448.3 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.1792, allocations: 55.19 kB / 448.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1794, allocations: 266.2 kB / 448.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.1794, allocations: 34.27 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.1795, allocations: 40.53 kB / 448.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.1801, allocations: 0.7034 MB / 449.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1801, allocations: 2.906 kB / 449.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.1801, allocations: 14.91 kB / 449.4 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/0.1802, allocations: 63.92 kB / 449.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006089/0.1808, allocations: 0.7151 MB / 450.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.1822, allocations: 1.322 MB / 451.5 MB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.1826, allocations: 340 kB / 451.8 MB, free: 40.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1827, allocations: 138.7 kB / 452 MB, free: 40.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.1828, allocations: 9.547 kB / 452 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.1828, allocations: 44.48 kB / 452 MB, free: 40.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.964e-06/0.1828, allocations: 0 / 452 MB, free: 40.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.000614/0.1834, allocations: 494.8 kB / 452.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.1834, allocations: 54.12 kB / 452.5 MB, free: 40.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.1837, allocations: 459 kB / 453 MB, free: 39.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1837, allocations: 32.61 kB / 453 MB, free: 39.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.1838, allocations: 267.4 kB / 453.3 MB, free: 39.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.1838, allocations: 101.1 kB / 453.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.1839, allocations: 86.09 kB / 453.5 MB, free: 39.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.184, allocations: 347.6 kB / 453.8 MB, free: 39.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.1841, allocations: 141.7 kB / 453.9 MB, free: 39.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.1843, allocations: 261.8 kB / 454.2 MB, free: 39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.1847, allocations: 431.3 kB / 454.6 MB, free: 38.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1847, allocations: 5.969 kB / 454.6 MB, free: 38.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004717/0.1852, allocations: 478.8 kB / 455.1 MB, free: 38.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1852, allocations: 8.75 kB / 455.1 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1852, allocations: 2.875 kB / 455.1 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1852, allocations: 5.812 kB / 455.1 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.1855, allocations: 168.7 kB / 455.3 MB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006627/0.1862, allocations: 3.607 MB / 458.9 MB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.1863, allocations: 59.64 kB / 458.9 MB, free: 35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.1864, allocations: 24.22 kB / 459 MB, free: 34.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.1865, allocations: 222.5 kB / 459.2 MB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.1866, allocations: 38.3 kB / 459.2 MB, free: 34.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005847/0.1871, allocations: 0.5314 MB / 459.8 MB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1871, allocations: 3.25 kB / 459.8 MB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1872, allocations: 0 / 459.8 MB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1872, allocations: 10.31 kB / 459.8 MB, free: 34.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.1875, allocations: 403.1 kB / 460.2 MB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.1875, allocations: 4 kB / 460.2 MB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.1877, allocations: 139.8 kB / 460.3 MB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1877, allocations: 0 / 460.3 MB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1877, allocations: 17.89 kB / 460.3 MB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005416/0.1883, allocations: 3.6 MB / 463.9 MB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1883, allocations: 0 / 463.9 MB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005875/0.1889, allocations: 0.6688 MB / 464.6 MB, free: 30.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.189, allocations: 86.27 kB / 464.7 MB, free: 30.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.189, allocations: 4 kB / 464.7 MB, free: 30.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1891, allocations: 10.47 kB / 464.7 MB, free: 30.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.1892, allocations: 33.83 kB / 464.7 MB, free: 30.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1892, allocations: 21.53 kB / 464.7 MB, free: 30.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.1894, allocations: 344.7 kB / 465.1 MB, free: 30.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1894, allocations: 3.938 kB / 465.1 MB, free: 30.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003829/0.1898, allocations: 168.9 kB / 465.2 MB, free: 30.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008583/0.1906, allocations: 1.273 MB / 466.5 MB, free: 29.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.1912, allocations: 434.4 kB / 466.9 MB, free: 29.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1912, allocations: 0 / 466.9 MB, free: 29.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.1915, allocations: 253.4 kB / 467.2 MB, free: 29.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1918, allocations: 42.33 kB / 467.2 MB, free: 29.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.1953, allocations: 4.89 MB / 472.1 MB, free: 26.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.1955, allocations: 306.9 kB / 472.4 MB, free: 26.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.1957, allocations: 134.5 kB / 472.6 MB, free: 26.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.1958, allocations: 168.6 kB / 472.7 MB, free: 26.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.1958, allocations: 4 kB / 472.7 MB, free: 26.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.2224, allocations: 12.24 MB / 485 MB, free: 24.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.127, allocations: 1.719 kB / 485 MB, free: 24.82 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.491283527575433]