Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.000853/0.000853, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0009036/0.0009036, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.868/0.868, allocations: 177 MB / 204.1 MB, free: 5.738 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.2312/0.2312, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 3.086e-06/3.086e-06, allocations: 4 kB / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/3.103e-05, allocations: 6.219 kB / 442.2 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.1691/0.1691, allocations: 1.673 MB / 443.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.1701, allocations: 0.7895 MB / 444.7 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.1701, allocations: 2.812 kB / 444.7 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.1703, allocations: 33.89 kB / 444.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.1704, allocations: 61.41 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.1707, allocations: 106.8 kB / 444.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1708, allocations: 157 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.1708, allocations: 4.219 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.171, allocations: 93.09 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.1711, allocations: 66.88 kB / 445.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1711, allocations: 2.906 kB / 445.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.1712, allocations: 137.3 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.1713, allocations: 36.2 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.1713, allocations: 42.14 kB / 445.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.1715, allocations: 205.5 kB / 445.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1715, allocations: 5.812 kB / 445.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1716, allocations: 0 / 445.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.1716, allocations: 0 / 445.6 MB, free: 43.02 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.0003752/0.1719, allocations: 392.6 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.172, allocations: 9.594 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.172, allocations: 53.67 kB / 446 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.1723, allocations: 58.33 kB / 446.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1724, allocations: 154.6 kB / 446.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1724, allocations: 13.19 kB / 446.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.1724, allocations: 14.42 kB / 446.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.1727, allocations: 241.6 kB / 446.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1727, allocations: 7.281 kB / 446.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1727, allocations: 3.625 kB / 446.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.1727, allocations: 18 kB / 446.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.173, allocations: 227.4 kB / 446.8 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.1736, allocations: 0.53 MB / 447.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1737, allocations: 84.45 kB / 447.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.556e-05/0.1738, allocations: 44.72 kB / 447.4 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.1738, allocations: 0 / 447.4 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.1738, allocations: 37.62 kB / 447.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1738, allocations: 0 / 447.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003078/0.1741, allocations: 184.5 kB / 447.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.1741, allocations: 54.28 kB / 447.7 MB, free: 41.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1742, allocations: 184.7 kB / 447.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.1742, allocations: 32.61 kB / 447.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.1743, allocations: 135 kB / 448 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.1743, allocations: 26.66 kB / 448.1 MB, free: 41.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.1743, allocations: 36.23 kB / 448.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.988e-05/0.1743, allocations: 321.2 kB / 448.4 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.892e-05/0.1744, allocations: 50.25 kB / 448.4 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.066e-05/0.1745, allocations: 99.31 kB / 448.5 MB, free: 41.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.1746, allocations: 160.6 kB / 448.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1746, allocations: 6.688 kB / 448.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002002/0.1748, allocations: 186.7 kB / 448.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1749, allocations: 5.375 kB / 448.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1749, allocations: 2.781 kB / 448.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1749, allocations: 6.844 kB / 448.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.1753, allocations: 92.86 kB / 449 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004522/0.1758, allocations: 1.807 MB / 450.8 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.1758, allocations: 27.73 kB / 450.8 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1758, allocations: 10.11 kB / 450.8 MB, free: 39.26 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 7.109e-05/0.1759, allocations: 137.4 kB / 451 MB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.1759, allocations: 8.953 kB / 451 MB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.1762, allocations: 190.8 kB / 451.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1762, allocations: 2.812 kB / 451.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1762, allocations: 0 / 451.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1762, allocations: 0 / 451.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.1763, allocations: 201.4 kB / 451.4 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1763, allocations: 0 / 451.4 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.1767, allocations: 88.27 kB / 451.5 MB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1767, allocations: 1.406 kB / 451.5 MB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1767, allocations: 6.625 kB / 451.5 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003012/0.177, allocations: 1.768 MB / 453.2 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.177, allocations: 2.844 kB / 453.2 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.1771, allocations: 246.2 kB / 453.5 MB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.1772, allocations: 24.59 kB / 453.5 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1772, allocations: 2.688 kB / 453.5 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-05/0.1772, allocations: 12.89 kB / 453.5 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.1773, allocations: 5.969 kB / 453.5 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1773, allocations: 6.094 kB / 453.5 MB, free: 36.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.576e-05/0.1773, allocations: 141.4 kB / 453.7 MB, free: 36.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1773, allocations: 0 / 453.7 MB, free: 36.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.1775, allocations: 44.73 kB / 453.7 MB, free: 36.81 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.0003514/0.1779, allocations: 0.7875 MB / 454.5 MB, free: 36.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.1785, allocations: 196.1 kB / 454.7 MB, free: 36.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1785, allocations: 3.938 kB / 454.7 MB, free: 36.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.1787, allocations: 95.88 kB / 454.8 MB, free: 36.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.179, allocations: 43.08 kB / 454.8 MB, free: 36.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1804, allocations: 2.105 MB / 456.9 MB, free: 34.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.656e-05/0.1805, allocations: 128.5 kB / 457.1 MB, free: 34.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.173e-05/0.1805, allocations: 32.33 kB / 457.1 MB, free: 34.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.1806, allocations: 47.73 kB / 457.1 MB, free: 34.44 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1806, allocations: 0 / 457.1 MB, free: 34.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.1979, allocations: 5.952 MB / 463.1 MB, free: 33.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/7.941, allocations: 5.766 kB / 463.1 MB, free: 33.23 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.926556144841015]