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.001374/0.001374, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 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.001885/0.001885, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 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 1.429/1.429, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.2214/0.2214, allocations: 46.9 MB / 357.4 MB, free: 10.46 MB / 286.1 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 0.00219/0.00219, allocations: 79.86 kB / 0.4913 GB, free: 8.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1258, allocations: 65.99 MB / 0.5557 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003211/0.129, allocations: 1.84 MB / 0.5575 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1302, allocations: 0.6425 MB / 0.5581 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.1302, allocations: 0 / 0.5581 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.1305, allocations: 43.73 kB / 0.5582 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.1307, allocations: 79.53 kB / 0.5583 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.131, allocations: 127.5 kB / 0.5584 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.1313, allocations: 226.8 kB / 0.5586 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.1314, allocations: 24.31 kB / 0.5586 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1315, allocations: 83.52 kB / 0.5587 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1316, allocations: 115.5 kB / 0.5588 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.1317, allocations: 4 kB / 0.5588 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.132, allocations: 223.7 kB / 0.559 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.1321, allocations: 51.75 kB / 0.5591 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1322, allocations: 103.3 kB / 0.5592 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.1327, allocations: 326.6 kB / 0.5595 GB, free: 2.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1327, allocations: 0 / 0.5595 GB, free: 2.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1327, allocations: 3.938 kB / 0.5595 GB, free: 2.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1327, allocations: 4 kB / 0.5595 GB, free: 2.25 MB / 414.1 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.0007386/0.1334, allocations: 0.5338 MB / 0.56 GB, free: 1.668 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1335, allocations: 12.03 kB / 0.56 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.592e-05/0.1335, allocations: 62.72 kB / 0.5601 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.1354, allocations: 204.4 kB / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.1358, allocations: 272 kB / 0.5605 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.1358, allocations: 16.92 kB / 0.5606 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.1359, allocations: 24.38 kB / 0.5606 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009881/0.1369, allocations: 0.4967 MB / 0.5611 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1369, allocations: 0 / 0.5611 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.1369, allocations: 12 kB / 0.5611 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/0.1369, allocations: 28.55 kB / 0.5611 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.1382, allocations: 0.5836 MB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.1405, allocations: 1.17 MB / 0.5628 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.1412, allocations: 166.4 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.1415, allocations: 88.75 kB / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1415, allocations: 4.141 kB / 0.5631 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1415, allocations: 34.56 kB / 0.5631 GB, free: 14.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.1415, allocations: 0 / 0.5631 GB, free: 14.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001185/0.1427, allocations: 301.2 kB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.1428, allocations: 59.41 kB / 0.5634 GB, free: 13.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.1431, allocations: 274.6 kB / 0.5637 GB, free: 13.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.1431, allocations: 29.7 kB / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1432, allocations: 167.7 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.1433, allocations: 23.8 kB / 0.5639 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.1434, allocations: 37.69 kB / 0.5639 GB, free: 13.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1435, allocations: 334.8 kB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.1439, allocations: 91.89 kB / 0.5644 GB, free: 13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.1442, allocations: 119.3 kB / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000693/0.1449, allocations: 207.1 kB / 0.5647 GB, free: 12.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1449, allocations: 4 kB / 0.5647 GB, free: 12.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008327/0.1458, allocations: 269.2 kB / 0.5649 GB, free: 12.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.1458, allocations: 12 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1458, allocations: 0 / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1458, allocations: 0 / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006015/0.1518, allocations: 471.2 kB / 0.5654 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.1548, allocations: 1.941 MB / 0.5673 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.1552, allocations: 43.97 kB / 0.5673 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.1552, allocations: 15.92 kB / 0.5673 GB, free: 9.844 MB / 430.1 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 0.0001997/0.1554, allocations: 161.7 kB / 0.5675 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.1555, allocations: 23.86 kB / 0.5675 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.995e-05/0.1556, allocations: 25.7 kB / 0.5675 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1556, allocations: 0 / 0.5675 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1556, allocations: 0 / 0.5675 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1556, allocations: 0 / 0.5675 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.156, allocations: 297.4 kB / 0.5678 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.156, allocations: 0 / 0.5678 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005898/0.1619, allocations: 455.3 kB / 0.5683 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1619, allocations: 0 / 0.5683 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.1619, allocations: 0 / 0.5683 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/0.1648, allocations: 1.949 MB / 0.5702 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1648, allocations: 192 / 0.5702 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.1656, allocations: 331.1 kB / 0.5705 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.994e-05/0.1657, allocations: 108.9 kB / 0.5706 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.1657, allocations: 0 / 0.5706 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.1661, allocations: 15.97 kB / 0.5706 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.1662, allocations: 11.97 kB / 0.5706 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.1662, allocations: 7.938 kB / 0.5706 GB, free: 6.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002152/0.1664, allocations: 209.9 kB / 0.5708 GB, free: 6.113 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1664, allocations: 0 / 0.5708 GB, free: 6.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.1668, allocations: 75.89 kB / 0.5709 GB, free: 6.039 MB / 430.1 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.001226/0.168, allocations: 0.8609 MB / 0.5717 GB, free: 5.152 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006217/0.1742, allocations: 0.5969 MB / 0.5723 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1742, allocations: 0 / 0.5723 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005598/0.1798, allocations: 499.3 kB / 0.5728 GB, free: 4.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.1802, allocations: 44.48 kB / 0.5728 GB, free: 4.023 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/0.1851, allocations: 2.977 MB / 0.5757 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.1855, allocations: 0.7753 MB / 0.5765 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.1857, allocations: 58.03 kB / 0.5766 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1858, allocations: 63.41 kB / 0.5766 GB, free: 32 kB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1858, allocations: 4 kB / 0.5766 GB, free: 28 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03234/0.2181, allocations: 7.989 MB / 0.5844 GB, free: 8.254 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.28, allocations: 15.89 kB / 0.5844 GB, free: 8.238 MB / 446.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.636476031970233]