Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.0008463/0.0008463, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0009133/0.0009133, 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.8856/0.8856, 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.2321/0.2321, allocations: 34.24 MB / 294.8 MB, free: 0.6719 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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.93e-05, allocations: 2.281 kB / 442.2 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.1545/0.1545, allocations: 1.799 MB / 444 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.1553, allocations: 0.5777 MB / 444.6 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.1553, allocations: 3.219 kB / 444.6 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.1556, allocations: 48.52 kB / 444.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.1557, allocations: 76.64 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.1559, allocations: 125.2 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.1561, allocations: 244.2 kB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.1561, allocations: 11.16 kB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.355e-05/0.1562, allocations: 116.6 kB / 445.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.1563, allocations: 91.77 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1563, allocations: 8.781 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.1565, allocations: 165 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.1565, allocations: 53.86 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.1566, allocations: 64.95 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.1568, allocations: 330.6 kB / 445.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1568, allocations: 4.438 kB / 445.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1568, allocations: 2.344 kB / 445.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1569, allocations: 3.938 kB / 445.9 MB, free: 42.93 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0004079/0.1573, allocations: 465.5 kB / 446.3 MB, free: 42.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1573, allocations: 12.36 kB / 446.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.1573, allocations: 63.86 kB / 446.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008377/0.1582, allocations: 205.8 kB / 446.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.1584, allocations: 219.4 kB / 446.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1584, allocations: 13.41 kB / 446.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.1584, allocations: 25.28 kB / 446.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.159, allocations: 0.502 MB / 447.4 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.159, allocations: 192 / 447.4 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.159, allocations: 10.72 kB / 447.4 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.159, allocations: 30.36 kB / 447.4 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006229/0.1597, allocations: 0.5829 MB / 448 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.1608, allocations: 0.9104 MB / 448.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.1611, allocations: 176 kB / 449.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.1613, allocations: 92.67 kB / 449.2 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1613, allocations: 3.938 kB / 449.2 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.1613, allocations: 33.47 kB / 449.2 MB, free: 41.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1613, allocations: 0 / 449.2 MB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006849/0.162, allocations: 297.7 kB / 449.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.162, allocations: 54.19 kB / 449.5 MB, free: 41.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1622, allocations: 285.9 kB / 449.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1622, allocations: 29.7 kB / 449.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.1623, allocations: 171.9 kB / 450 MB, free: 41.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.1623, allocations: 29.62 kB / 450.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.1623, allocations: 38.89 kB / 450.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.058e-05/0.1624, allocations: 331 kB / 450.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.1625, allocations: 89.22 kB / 450.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.1627, allocations: 116.1 kB / 450.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.1631, allocations: 207.5 kB / 450.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1631, allocations: 0 / 450.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004226/0.1635, allocations: 275.8 kB / 451.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1635, allocations: 5.625 kB / 451.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1635, allocations: 2.844 kB / 451.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1635, allocations: 0 / 451.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/0.1659, allocations: 466.2 kB / 451.6 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.167, allocations: 1.944 MB / 453.5 MB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.1672, allocations: 43.66 kB / 453.5 MB, free: 38.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.1672, allocations: 5.984 kB / 453.5 MB, free: 38.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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 9.913e-05/0.1673, allocations: 161.1 kB / 453.7 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.1673, allocations: 23.77 kB / 453.7 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.1674, allocations: 28.83 kB / 453.8 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1674, allocations: 2.562 kB / 453.8 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1674, allocations: 0 / 453.8 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1674, allocations: 0 / 453.8 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1676, allocations: 242.7 kB / 454 MB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1676, allocations: 3.375 kB / 454 MB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002298/0.1699, allocations: 452.3 kB / 454.4 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1699, allocations: 2.938 kB / 454.4 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.1699, allocations: 3.234 kB / 454.4 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.1709, allocations: 1.951 MB / 456.4 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1709, allocations: 0 / 456.4 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.1713, allocations: 326.4 kB / 456.7 MB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.1713, allocations: 20.67 kB / 456.7 MB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.1714, allocations: 6.781 kB / 456.7 MB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.1715, allocations: 15.03 kB / 456.8 MB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.1716, allocations: 13.69 kB / 456.8 MB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1716, allocations: 12.88 kB / 456.8 MB, free: 36.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1717, allocations: 208.3 kB / 457 MB, free: 36.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1717, allocations: 0 / 457 MB, free: 36.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.1719, allocations: 67.42 kB / 457 MB, free: 36.17 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 (7): * Single equations (assignments): 4 * 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.0005897/0.1725, allocations: 0.8717 MB / 457.9 MB, free: 35.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.175, allocations: 0.5928 MB / 458.5 MB, free: 35.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.175, allocations: 0 / 458.5 MB, free: 35.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002189/0.1772, allocations: 495.2 kB / 459 MB, free: 35.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.1774, allocations: 42.88 kB / 459 MB, free: 35.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.1798, allocations: 2.997 MB / 462 MB, free: 33.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.892e-05/0.1799, allocations: 167.9 kB / 462.2 MB, free: 33.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.18, allocations: 50.92 kB / 462.3 MB, free: 33.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.1801, allocations: 71.5 kB / 462.3 MB, free: 33.51 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1801, allocations: 2.969 kB / 462.3 MB, free: 33.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.1994, allocations: 9.656 MB / 472 MB, free: 31.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/7.984, allocations: 7.188 kB / 472 MB, free: 31.87 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.958464415743947]