Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008546/0.0008546, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008274/0.0008274, 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.8825/0.8825, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2478/0.2478, allocations: 32.79 MB / 293.5 MB, free: 1.223 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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_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_0_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.283e-06/1.283e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.661e-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.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002118/0.002134, allocations: 1.814 MB / 441.4 MB, free: 2.391 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.003504, allocations: 1.25 MB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.432e-05/0.003578, allocations: 4 kB / 442.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.003813, allocations: 51.69 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.004027, allocations: 91.42 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.004413, allocations: 231.1 kB / 443 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.004696, allocations: 413.5 kB / 443.5 MB, free: 364 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.004744, allocations: 16.94 kB / 443.5 MB, free: 344 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.004995, allocations: 215.1 kB / 443.7 MB, free: 128 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1661/0.1711, allocations: 150 kB / 443.8 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.341e-05/0.1712, allocations: 8.75 kB / 443.8 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005264/0.1717, allocations: 225.8 kB / 444.1 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.1719, allocations: 144.4 kB / 444.2 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.172, allocations: 114.4 kB / 444.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.1725, allocations: 0.5602 MB / 444.9 MB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1725, allocations: 0 / 444.9 MB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1725, allocations: 0 / 444.9 MB, free: 43.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1725, allocations: 2.938 kB / 444.9 MB, free: 43.39 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.0007407/0.1733, allocations: 0.7054 MB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1733, allocations: 8.094 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.306e-05/0.1734, allocations: 103.1 kB / 445.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.1734, allocations: 55.75 kB / 445.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1737, allocations: 261.7 kB / 446 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.1737, allocations: 38.67 kB / 446 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.1737, allocations: 44.75 kB / 446.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.1743, allocations: 0.698 MB / 446.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1743, allocations: 2.281 kB / 446.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.1743, allocations: 21.97 kB / 446.8 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/0.1744, allocations: 59.28 kB / 446.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/0.1749, allocations: 0.7228 MB / 447.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.1762, allocations: 1.312 MB / 448.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.1765, allocations: 341.6 kB / 449.2 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.1767, allocations: 138.5 kB / 449.4 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.1767, allocations: 10.75 kB / 449.4 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.12e-05/0.1767, allocations: 34.8 kB / 449.4 MB, free: 42.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.064e-06/0.1767, allocations: 2.938 kB / 449.4 MB, free: 42.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005495/0.1773, allocations: 498.3 kB / 449.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.1773, allocations: 57.16 kB / 449.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.1775, allocations: 459.5 kB / 450.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1776, allocations: 28.89 kB / 450.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.529e-05/0.1776, allocations: 270.5 kB / 450.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.1777, allocations: 98.73 kB / 450.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.1777, allocations: 86 kB / 450.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.078e-05/0.1778, allocations: 349.5 kB / 451.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1779, allocations: 140.6 kB / 451.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.1781, allocations: 255.6 kB / 451.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.1784, allocations: 433.8 kB / 452 MB, free: 40.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1784, allocations: 2.344 kB / 452 MB, free: 40.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004182/0.1788, allocations: 478.8 kB / 452.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1789, allocations: 10.19 kB / 452.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1789, allocations: 3.219 kB / 452.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1789, allocations: 9.578 kB / 452.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.1792, allocations: 162.8 kB / 452.7 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005749/0.1797, allocations: 3.608 MB / 456.3 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.1799, allocations: 58.45 kB / 456.3 MB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.1799, allocations: 27.38 kB / 456.4 MB, free: 36.77 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.0001352/0.18, allocations: 226.1 kB / 456.6 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.1801, allocations: 40.73 kB / 456.6 MB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005606/0.1806, allocations: 0.5342 MB / 457.2 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1806, allocations: 3.188 kB / 457.2 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1806, allocations: 0 / 457.2 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1806, allocations: 9.453 kB / 457.2 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.1809, allocations: 409.1 kB / 457.6 MB, free: 36.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1809, allocations: 4 kB / 457.6 MB, free: 36.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.1812, allocations: 141 kB / 457.7 MB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1812, allocations: 3.375 kB / 457.7 MB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.1812, allocations: 7.156 kB / 457.7 MB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005324/0.1817, allocations: 3.608 MB / 461.3 MB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1817, allocations: 0 / 461.3 MB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/0.1823, allocations: 0.6585 MB / 462 MB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.1824, allocations: 83.2 kB / 462.1 MB, free: 32.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.1824, allocations: 10.38 kB / 462.1 MB, free: 32.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.842e-05/0.1825, allocations: 7.188 kB / 462.1 MB, free: 32.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1826, allocations: 34.52 kB / 462.1 MB, free: 32.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1826, allocations: 17.25 kB / 462.1 MB, free: 32.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001928/0.1828, allocations: 347.2 kB / 462.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1828, allocations: 0 / 462.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003661/0.1831, allocations: 176.9 kB / 462.6 MB, free: 32.07 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.0008196/0.184, allocations: 1.28 MB / 463.9 MB, free: 31.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005614/0.1845, allocations: 434.6 kB / 464.4 MB, free: 31.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1845, allocations: 0 / 464.4 MB, free: 31.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.1848, allocations: 253.9 kB / 464.6 MB, free: 31.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.1851, allocations: 34 kB / 464.6 MB, free: 31.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.1885, allocations: 4.898 MB / 469.5 MB, free: 28.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.1887, allocations: 305.3 kB / 469.8 MB, free: 28.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001806/0.1888, allocations: 138 kB / 470 MB, free: 28.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.189, allocations: 167.9 kB / 470.1 MB, free: 28.37 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.189, allocations: 6.844 kB / 470.1 MB, free: 28.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.2107, allocations: 12.24 MB / 482.4 MB, free: 26.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.129, allocations: 16.31 kB / 482.4 MB, free: 26.64 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.467755912803113]