Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 119 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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.258/0.258, allocations: 44.91 MB / 349.6 MB, free: 1.746 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001937/0.001937, allocations: 66.95 kB / 491.8 MB, free: 30.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1172, allocations: 64.26 MB / 0.543 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003116/0.1203, allocations: 1.833 MB / 0.5448 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1214, allocations: 0.6347 MB / 0.5454 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.1215, allocations: 0 / 0.5454 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.1217, allocations: 51.67 kB / 0.5455 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1219, allocations: 75.58 kB / 0.5456 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.1222, allocations: 119.5 kB / 0.5457 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.1225, allocations: 230.8 kB / 0.5459 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.484e-05/0.1226, allocations: 20.3 kB / 0.5459 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1227, allocations: 87.52 kB / 0.546 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1228, allocations: 107.4 kB / 0.5461 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.1228, allocations: 8 kB / 0.5461 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.1232, allocations: 227.8 kB / 0.5463 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.1233, allocations: 59.69 kB / 0.5464 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.905e-05/0.1234, allocations: 95.36 kB / 0.5465 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.1239, allocations: 330.9 kB / 0.5468 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1239, allocations: 0 / 0.5468 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1239, allocations: 0 / 0.5468 GB, free: 260 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1239, allocations: 3.938 kB / 0.5468 GB, free: 256 kB / 398.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.0007316/0.1246, allocations: 0.5261 MB / 0.5473 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1246, allocations: 8.031 kB / 0.5473 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.596e-05/0.1247, allocations: 70.72 kB / 0.5474 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.1265, allocations: 204.3 kB / 0.5476 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.127, allocations: 267.9 kB / 0.5478 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.127, allocations: 16.94 kB / 0.5478 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.127, allocations: 20.38 kB / 0.5479 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.128, allocations: 0.5084 MB / 0.5484 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.128, allocations: 0 / 0.5484 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.1281, allocations: 7.938 kB / 0.5484 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.036e-05/0.1281, allocations: 24.55 kB / 0.5484 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.1294, allocations: 0.5915 MB / 0.549 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.1317, allocations: 1.158 MB / 0.5501 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006508/0.1323, allocations: 166.4 kB / 0.5503 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.1327, allocations: 88.75 kB / 0.5503 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1327, allocations: 7.875 kB / 0.5504 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1327, allocations: 34.5 kB / 0.5504 GB, free: 12.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1327, allocations: 4 kB / 0.5504 GB, free: 12.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001183/0.1339, allocations: 301.4 kB / 0.5507 GB, free: 12.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.1339, allocations: 51.41 kB / 0.5507 GB, free: 11.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.1342, allocations: 278.6 kB / 0.551 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.1343, allocations: 29.7 kB / 0.551 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1344, allocations: 167.7 kB / 0.5512 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.1344, allocations: 27.75 kB / 0.5512 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/0.1345, allocations: 37.69 kB / 0.5512 GB, free: 11.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1347, allocations: 334.8 kB / 0.5516 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.135, allocations: 87.89 kB / 0.5516 GB, free: 11.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.1354, allocations: 131.3 kB / 0.5518 GB, free: 10.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007141/0.1361, allocations: 203.1 kB / 0.552 GB, free: 10.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1361, allocations: 4 kB / 0.552 GB, free: 10.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008216/0.1369, allocations: 261.3 kB / 0.5522 GB, free: 10.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.137, allocations: 7.938 kB / 0.5522 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.137, allocations: 4 kB / 0.5522 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.137, allocations: 3.984 kB / 0.5522 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006121/0.1431, allocations: 471.4 kB / 0.5527 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.1461, allocations: 1.938 MB / 0.5546 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.1465, allocations: 47.73 kB / 0.5546 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.1465, allocations: 7.984 kB / 0.5546 GB, free: 7.855 MB / 414.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.000198/0.1467, allocations: 169.7 kB / 0.5548 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.1468, allocations: 15.91 kB / 0.5548 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.1468, allocations: 25.7 kB / 0.5548 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1468, allocations: 4.094 kB / 0.5548 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1468, allocations: 3.938 kB / 0.5548 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1468, allocations: 0 / 0.5548 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.1472, allocations: 297.4 kB / 0.5551 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1472, allocations: 0 / 0.5551 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006036/0.1533, allocations: 459.3 kB / 0.5556 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1533, allocations: 0 / 0.5556 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.1533, allocations: 4 kB / 0.5556 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00292/0.1562, allocations: 1.941 MB / 0.5575 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1562, allocations: 0 / 0.5575 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/0.157, allocations: 327.1 kB / 0.5578 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.1571, allocations: 96.95 kB / 0.5579 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.1572, allocations: 4 kB / 0.5579 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.1575, allocations: 23.97 kB / 0.5579 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.1576, allocations: 11.97 kB / 0.5579 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1576, allocations: 3.938 kB / 0.5579 GB, free: 4.328 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002163/0.1578, allocations: 209.9 kB / 0.5581 GB, free: 4.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1578, allocations: 4 kB / 0.5581 GB, free: 4.121 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.1582, allocations: 67.89 kB / 0.5582 GB, free: 4.055 MB / 414.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.001234/0.1594, allocations: 0.8683 MB / 0.559 GB, free: 3.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006256/0.1657, allocations: 0.585 MB / 0.5596 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1657, allocations: 0 / 0.5596 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005722/0.1714, allocations: 0.4916 MB / 0.5601 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.1718, allocations: 49.23 kB / 0.5601 GB, free: 2.031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/0.1766, allocations: 2.98 MB / 0.563 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.1771, allocations: 0.7868 MB / 0.5638 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001762/0.1772, allocations: 53.89 kB / 0.5638 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1774, allocations: 63.41 kB / 0.5639 GB, free: 14.03 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1774, allocations: 4 kB / 0.5639 GB, free: 14.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.2099, allocations: 7.995 MB / 0.5717 GB, free: 6.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.09, allocations: 4.641 kB / 0.5717 GB, free: 6.289 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.245657584164292]