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_suddenChange_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.0008857/0.0008857, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.000913/0.000913, allocations: 170 kB / 23.95 MB, free: 0.6055 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.859/0.859, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2267/0.2267, allocations: 32.8 MB / 293.5 MB, free: 1.207 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_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.333e-06/1.333e-06, allocations: 3.938 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.727e-05, allocations: 4.25 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002094/0.002112, allocations: 1.79 MB / 441.4 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.00356, allocations: 1.266 MB / 442.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/0.003633, allocations: 4 kB / 442.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.003852, allocations: 51.62 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.004, allocations: 55.62 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.004524, allocations: 246.9 kB / 443 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.004648, allocations: 111.3 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.004686, allocations: 1.312 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.004867, allocations: 75.73 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.004928, allocations: 39.89 kB / 443.3 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.004942, allocations: 4 kB / 443.3 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.005313, allocations: 311.3 kB / 443.6 MB, free: 264 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.005334, allocations: 15.92 kB / 443.6 MB, free: 248 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.005366, allocations: 27.86 kB / 443.6 MB, free: 220 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1663/0.1717, allocations: 341.1 kB / 443.9 MB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1717, allocations: 0 / 443.9 MB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1717, allocations: 0 / 443.9 MB, free: 43.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1717, allocations: 0 / 443.9 MB, free: 43.74 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.0004082/0.1721, allocations: 367.6 kB / 444.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1721, allocations: 11.31 kB / 444.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.057e-05/0.1722, allocations: 44.42 kB / 444.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.1722, allocations: 15.38 kB / 444.4 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.114e-05/0.1723, allocations: 117.7 kB / 444.5 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1723, allocations: 9.781 kB / 444.5 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.1723, allocations: 16.05 kB / 444.5 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.1725, allocations: 146.2 kB / 444.6 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1725, allocations: 3.25 kB / 444.6 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1725, allocations: 10.56 kB / 444.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1725, allocations: 3.844 kB / 444.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1727, allocations: 138.1 kB / 444.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.1732, allocations: 438 kB / 445.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1733, allocations: 97.72 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.1734, allocations: 51.27 kB / 445.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1734, allocations: 0 / 445.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.061e-05/0.1734, allocations: 38.84 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 7.11e-07/0.1734, allocations: 1.188 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002642/0.1737, allocations: 168 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.794e-05/0.1737, allocations: 51.41 kB / 445.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.143e-05/0.1738, allocations: 112.4 kB / 445.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.1738, allocations: 34.28 kB / 445.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.1738, allocations: 114.8 kB / 445.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.1738, allocations: 40.53 kB / 445.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.1739, allocations: 35.66 kB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.544e-05/0.1739, allocations: 317.7 kB / 446.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/0.1739, allocations: 38.98 kB / 446.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.174, allocations: 82.61 kB / 446.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1741, allocations: 126.9 kB / 446.5 MB, free: 42.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1741, allocations: 0 / 446.5 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001632/0.1743, allocations: 162 kB / 446.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1743, allocations: 9.297 kB / 446.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1743, allocations: 3.5 kB / 446.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1743, allocations: 0 / 446.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1744, allocations: 52.75 kB / 446.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001331/0.1746, allocations: 0.5993 MB / 447.3 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.1746, allocations: 9.531 kB / 447.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1746, allocations: 12.27 kB / 447.4 MB, free: 41.46 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 4.827e-05/0.1747, allocations: 123.3 kB / 447.5 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.1747, allocations: 8.359 kB / 447.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.1749, allocations: 178.4 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1749, allocations: 0.7656 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1749, allocations: 0 / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1749, allocations: 0 / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.175, allocations: 180.9 kB / 447.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.175, allocations: 0 / 447.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-05/0.1751, allocations: 45.59 kB / 447.9 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1751, allocations: 0 / 447.9 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1751, allocations: 11.7 kB / 447.9 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-05/0.1752, allocations: 0.5852 MB / 448.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1752, allocations: 2.594 kB / 448.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.1754, allocations: 289.2 kB / 448.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.1755, allocations: 12.67 kB / 448.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1755, allocations: 5.969 kB / 448.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.046e-05/0.1755, allocations: 16.22 kB / 448.8 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.1756, allocations: 14.25 kB / 448.8 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1756, allocations: 2.844 kB / 448.8 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.702e-05/0.1756, allocations: 95.09 kB / 448.9 MB, free: 40.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1756, allocations: 0 / 448.9 MB, free: 40.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002084/0.1758, allocations: 84.83 kB / 449 MB, free: 40.31 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.0004513/0.1762, allocations: 0.8999 MB / 449.9 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.1764, allocations: 136 kB / 450 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.1764, allocations: 0 / 450 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.13e-05/0.1765, allocations: 65.28 kB / 450.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.1768, allocations: 17.84 kB / 450.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1778, allocations: 1.702 MB / 451.8 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.867e-05/0.1778, allocations: 92.27 kB / 451.9 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.603e-05/0.1779, allocations: 13.59 kB / 451.9 MB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.1779, allocations: 42.02 kB / 451.9 MB, free: 38.23 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1779, allocations: 3.938 kB / 451.9 MB, free: 38.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.1941, allocations: 4.538 MB / 456.5 MB, free: 37.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/7.889, allocations: 4.375 kB / 456.5 MB, free: 37.16 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.856757178902626]