Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008944/0.0008944, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009844/0.0009844, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8906/0.8906, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.236/0.236, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.116e-05, allocations: 2.281 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.1768/0.1768, allocations: 1.783 MB / 444 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1782, allocations: 1.278 MB / 445.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.1782, allocations: 2.812 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1784, allocations: 39.05 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.1786, allocations: 57.19 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1789, allocations: 253.7 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.857e-05/0.179, allocations: 110.7 kB / 445.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.1791, allocations: 7.281 kB / 445.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.1793, allocations: 69.56 kB / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.1793, allocations: 42.22 kB / 445.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1794, allocations: 2.938 kB / 445.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.1797, allocations: 311.3 kB / 446.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.1797, allocations: 18.44 kB / 446.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.1797, allocations: 35.7 kB / 446.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.1801, allocations: 334.3 kB / 446.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1801, allocations: 0 / 446.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1801, allocations: 0.5 kB / 446.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1801, allocations: 2.375 kB / 446.5 MB, free: 42.64 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000475/0.1806, allocations: 373.7 kB / 446.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.1807, allocations: 8.281 kB / 446.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.1807, allocations: 46.86 kB / 446.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.1807, allocations: 18.19 kB / 446.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.417e-05/0.1808, allocations: 119.2 kB / 447.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1808, allocations: 6.094 kB / 447.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.1809, allocations: 11.66 kB / 447.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.1811, allocations: 154 kB / 447.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1811, allocations: 0 / 447.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1811, allocations: 3.375 kB / 447.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1811, allocations: 8.281 kB / 447.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.1813, allocations: 140.8 kB / 447.4 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/0.1819, allocations: 436.3 kB / 447.8 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.1821, allocations: 88.66 kB / 447.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.334e-05/0.1822, allocations: 49.41 kB / 447.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.1822, allocations: 6.688 kB / 447.9 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.1822, allocations: 30.56 kB / 448 MB, free: 41.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.1822, allocations: 0 / 448 MB, free: 41.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003335/0.1826, allocations: 174 kB / 448.1 MB, free: 41.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.1826, allocations: 51.41 kB / 448.2 MB, free: 41.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.204e-05/0.1827, allocations: 118.7 kB / 448.3 MB, free: 41.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.1827, allocations: 29.7 kB / 448.3 MB, free: 41.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.1827, allocations: 112.8 kB / 448.4 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.1827, allocations: 40.75 kB / 448.5 MB, free: 41.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.1828, allocations: 32.45 kB / 448.5 MB, free: 41.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.612e-05/0.1828, allocations: 318 kB / 448.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.1829, allocations: 42.08 kB / 448.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.052e-05/0.183, allocations: 77.91 kB / 448.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.1831, allocations: 135.4 kB / 449.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1831, allocations: 4 kB / 449.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001983/0.1833, allocations: 162.4 kB / 449.2 MB, free: 40.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1833, allocations: 5.688 kB / 449.2 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1833, allocations: 2.812 kB / 449.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1834, allocations: 2.844 kB / 449.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1835, allocations: 49.73 kB / 449.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000203/0.1837, allocations: 0.597 MB / 449.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.1838, allocations: 9.094 kB / 449.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1838, allocations: 9.688 kB / 449.9 MB, free: 40.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/0.1838, allocations: 128.8 kB / 450 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.1838, allocations: 6.797 kB / 450.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.1841, allocations: 182 kB / 450.2 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1841, allocations: 0 / 450.2 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1841, allocations: 0 / 450.2 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1841, allocations: 0 / 450.2 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1843, allocations: 181.8 kB / 450.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1843, allocations: 0 / 450.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.816e-05/0.1844, allocations: 41.8 kB / 450.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1844, allocations: 2.906 kB / 450.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1844, allocations: 8 kB / 450.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001241/0.1845, allocations: 0.5835 MB / 451 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1845, allocations: 0 / 451 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.1847, allocations: 301.7 kB / 451.3 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.1848, allocations: 23.69 kB / 451.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.1848, allocations: 6.812 kB / 451.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.374e-05/0.1849, allocations: 10.12 kB / 451.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.1849, allocations: 16.67 kB / 451.4 MB, free: 38.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.1849, allocations: 2.938 kB / 451.4 MB, free: 38.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.288e-05/0.1849, allocations: 91.28 kB / 451.5 MB, free: 38.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1849, allocations: 0 / 451.5 MB, free: 38.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.1852, allocations: 81.22 kB / 451.6 MB, free: 38.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005414/0.1857, allocations: 0.9047 MB / 452.5 MB, free: 37.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.186, allocations: 127.1 kB / 452.6 MB, free: 37.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.186, allocations: 4.344 kB / 452.6 MB, free: 37.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.89e-05/0.1861, allocations: 66.81 kB / 452.7 MB, free: 37.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.1864, allocations: 18.89 kB / 452.7 MB, free: 37.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.1876, allocations: 1.698 MB / 454.4 MB, free: 36.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.528e-05/0.1877, allocations: 89.69 kB / 454.5 MB, free: 36.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.479e-05/0.1877, allocations: 16.72 kB / 454.5 MB, free: 36.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.1878, allocations: 36.98 kB / 454.5 MB, free: 36.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.173e-06/0.1878, allocations: 0 / 454.5 MB, free: 36.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.2077, allocations: 4.526 MB / 459 MB, free: 35.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.404/7.612, allocations: 7.953 kB / 459.1 MB, free: 35.3 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.616476945579052]