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_pressureLossCoefficient_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.001714/0.001714, allocations: 119 kB / 18.5 MB, free: 4.602 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.001908/0.001908, allocations: 194.9 kB / 21.44 MB, free: 1.664 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.477/1.477, allocations: 225.6 MB / 249.8 MB, free: 3.598 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.214/0.214, allocations: 44.92 MB / 349.6 MB, free: 1.73 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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 0.001889/0.001889, allocations: 64.27 kB / 491.8 MB, free: 29.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.119, allocations: 64.26 MB / 0.543 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003029/0.122, allocations: 1.68 MB / 0.5447 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1235, allocations: 0.7984 MB / 0.5454 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.1235, allocations: 4 kB / 0.5455 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.1238, allocations: 39.75 kB / 0.5455 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.124, allocations: 55.67 kB / 0.5455 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.1243, allocations: 99.62 kB / 0.5456 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.1245, allocations: 151.2 kB / 0.5458 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.1246, allocations: 9.406 kB / 0.5458 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1247, allocations: 63.7 kB / 0.5459 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.1248, allocations: 79.66 kB / 0.5459 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1248, allocations: 4 kB / 0.5459 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.1252, allocations: 159.8 kB / 0.5461 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.1252, allocations: 43.77 kB / 0.5461 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.1253, allocations: 55.69 kB / 0.5462 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.1257, allocations: 219 kB / 0.5464 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1257, allocations: 0 / 0.5464 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1257, allocations: 0 / 0.5464 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1257, allocations: 0 / 0.5464 GB, free: 0.6484 MB / 398.1 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.0006969/0.1264, allocations: 458.7 kB / 0.5468 GB, free: 156 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1264, allocations: 8.031 kB / 0.5468 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.112e-05/0.1265, allocations: 54.73 kB / 0.5469 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005553/0.127, allocations: 68.73 kB / 0.547 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.1273, allocations: 216.2 kB / 0.5472 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1274, allocations: 8.375 kB / 0.5472 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.1274, allocations: 15.92 kB / 0.5472 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/0.1278, allocations: 233.5 kB / 0.5474 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1279, allocations: 0 / 0.5474 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1279, allocations: 7.938 kB / 0.5474 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/0.1279, allocations: 19.98 kB / 0.5474 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.1284, allocations: 219.8 kB / 0.5476 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.1296, allocations: 0.7325 MB / 0.5484 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.1298, allocations: 86.5 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.13, allocations: 44.81 kB / 0.5485 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.13, allocations: 4 kB / 0.5485 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.13, allocations: 42.48 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.13, allocations: 3.938 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005453/0.1306, allocations: 169.6 kB / 0.5487 GB, free: 14.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.1306, allocations: 55.41 kB / 0.5487 GB, free: 14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.1309, allocations: 184.5 kB / 0.5489 GB, free: 13.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1309, allocations: 29.7 kB / 0.5489 GB, free: 13.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.131, allocations: 139.7 kB / 0.5491 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.131, allocations: 27.73 kB / 0.5491 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.1311, allocations: 33.7 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1313, allocations: 322.8 kB / 0.5494 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1314, allocations: 55.95 kB / 0.5495 GB, free: 13.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.1316, allocations: 102.8 kB / 0.5496 GB, free: 13.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.1319, allocations: 154.7 kB / 0.5497 GB, free: 12.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.1319, allocations: 4 kB / 0.5497 GB, free: 12.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004035/0.1323, allocations: 193.2 kB / 0.5499 GB, free: 12.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1323, allocations: 6.031 kB / 0.5499 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1323, allocations: 4 kB / 0.5499 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1324, allocations: 4 kB / 0.5499 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/0.1332, allocations: 124 kB / 0.5501 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.1348, allocations: 1.813 MB / 0.5518 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.135, allocations: 27.91 kB / 0.5519 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.135, allocations: 4 kB / 0.5519 GB, free: 10.64 MB / 414.1 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 0.0001626/0.1351, allocations: 149.6 kB / 0.552 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1352, allocations: 20.05 kB / 0.552 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.1357, allocations: 166.9 kB / 0.5522 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1357, allocations: 4 kB / 0.5522 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1357, allocations: 3.984 kB / 0.5522 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1357, allocations: 3.938 kB / 0.5522 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.136, allocations: 225.5 kB / 0.5524 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.136, allocations: 0 / 0.5524 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006758/0.1366, allocations: 115.8 kB / 0.5525 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1367, allocations: 0 / 0.5525 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1367, allocations: 4 kB / 0.5525 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.1379, allocations: 1.778 MB / 0.5543 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1379, allocations: 4.031 kB / 0.5543 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.1383, allocations: 243.2 kB / 0.5545 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/0.1384, allocations: 96.94 kB / 0.5546 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.1384, allocations: 4 kB / 0.5546 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.1385, allocations: 8 kB / 0.5546 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.1386, allocations: 12.08 kB / 0.5546 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.1386, allocations: 4 kB / 0.5546 GB, free: 7.648 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1387, allocations: 142 kB / 0.5548 GB, free: 7.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1387, allocations: 0 / 0.5548 GB, free: 7.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.139, allocations: 39.94 kB / 0.5548 GB, free: 7.473 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 (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.0008568/0.1399, allocations: 0.7864 MB / 0.5556 GB, free: 6.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.1411, allocations: 232 kB / 0.5558 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1411, allocations: 0 / 0.5558 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006202/0.1417, allocations: 124.2 kB / 0.5559 GB, free: 6.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.1421, allocations: 44.06 kB / 0.5559 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.1449, allocations: 2.085 MB / 0.558 GB, free: 4.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.1453, allocations: 0.7397 MB / 0.5587 GB, free: 3.297 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.1454, allocations: 37.39 kB / 0.5587 GB, free: 3.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.1455, allocations: 43.42 kB / 0.5588 GB, free: 3.219 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1455, allocations: 4 kB / 0.5588 GB, free: 3.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.1735, allocations: 5.097 MB / 0.5638 GB, free: 14.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.67, allocations: 0 / 0.5638 GB, free: 14.38 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 14.787378042936325]