Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002293/0.002293, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2303/0.2303, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_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_1_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.001946/0.001946, allocations: 63.91 kB / 0.491 GB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1245, allocations: 65.99 MB / 0.5554 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002918/0.1274, allocations: 1.703 MB / 0.5571 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1288, allocations: 0.8335 MB / 0.5579 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.1288, allocations: 7.938 kB / 0.5579 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.1291, allocations: 43.81 kB / 0.5579 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1292, allocations: 51.73 kB / 0.558 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1295, allocations: 99.56 kB / 0.5581 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.1297, allocations: 155.2 kB / 0.5582 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.1298, allocations: 16.88 kB / 0.5582 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.1299, allocations: 71.75 kB / 0.5583 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1301, allocations: 75.67 kB / 0.5584 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1301, allocations: 7.938 kB / 0.5584 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.1304, allocations: 151.8 kB / 0.5585 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.1304, allocations: 43.83 kB / 0.5586 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.964e-05/0.1305, allocations: 63.59 kB / 0.5586 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1308, allocations: 203.2 kB / 0.5588 GB, free: 2.422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1308, allocations: 0 / 0.5588 GB, free: 2.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1308, allocations: 4 kB / 0.5588 GB, free: 2.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1308, allocations: 0 / 0.5588 GB, free: 2.418 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006558/0.1315, allocations: 474.5 kB / 0.5593 GB, free: 1.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1315, allocations: 12.03 kB / 0.5593 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.314e-05/0.1316, allocations: 46.73 kB / 0.5593 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004563/0.132, allocations: 56.78 kB / 0.5594 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1323, allocations: 220 kB / 0.5596 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1323, allocations: 16.36 kB / 0.5596 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.1323, allocations: 19.94 kB / 0.5596 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.1328, allocations: 233.3 kB / 0.5599 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1328, allocations: 0 / 0.5599 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.1328, allocations: 15.98 kB / 0.5599 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.1329, allocations: 12 kB / 0.5599 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.1333, allocations: 231.7 kB / 0.5601 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.1345, allocations: 0.7326 MB / 0.5608 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1348, allocations: 90.5 kB / 0.5609 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.1349, allocations: 44.81 kB / 0.5609 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1349, allocations: 4.141 kB / 0.5609 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.135, allocations: 38.7 kB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.135, allocations: 0 / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.000564/0.1355, allocations: 173.4 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.1356, allocations: 51.41 kB / 0.5612 GB, free: 15.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.1358, allocations: 189.6 kB / 0.5614 GB, free: 15.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1358, allocations: 25.7 kB / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1359, allocations: 143.8 kB / 0.5615 GB, free: 15.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1359, allocations: 23.78 kB / 0.5616 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.136, allocations: 37.66 kB / 0.5616 GB, free: 15.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1361, allocations: 326.8 kB / 0.5619 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1363, allocations: 43.95 kB / 0.562 GB, free: 14.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.1365, allocations: 110.5 kB / 0.5621 GB, free: 14.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.1368, allocations: 158.6 kB / 0.5622 GB, free: 14.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1368, allocations: 0 / 0.5622 GB, free: 14.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004172/0.1372, allocations: 185.6 kB / 0.5624 GB, free: 14.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1372, allocations: 11.94 kB / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1372, allocations: 4 kB / 0.5624 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1373, allocations: 0 / 0.5624 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/0.1382, allocations: 91.83 kB / 0.5625 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.1396, allocations: 1.813 MB / 0.5643 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.1397, allocations: 28.11 kB / 0.5643 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.1397, allocations: 4 kB / 0.5643 GB, free: 12.42 MB / 430.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.0001363/0.1399, allocations: 140 kB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.1399, allocations: 15.89 kB / 0.5644 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.1404, allocations: 182.8 kB / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1404, allocations: 0 / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1404, allocations: 0 / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1404, allocations: 0 / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.1407, allocations: 241.4 kB / 0.5648 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1407, allocations: 0 / 0.5648 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007422/0.1414, allocations: 87.91 kB / 0.5649 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.1414, allocations: 0 / 0.5649 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1415, allocations: 3.984 kB / 0.5649 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.1427, allocations: 1.774 MB / 0.5667 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1427, allocations: 3.938 kB / 0.5667 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.1431, allocations: 247.6 kB / 0.5669 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.1432, allocations: 89.02 kB / 0.567 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.1432, allocations: 8 kB / 0.567 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1433, allocations: 7.984 kB / 0.567 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.1434, allocations: 7.984 kB / 0.567 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1434, allocations: 4 kB / 0.567 GB, free: 9.453 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1435, allocations: 141.8 kB / 0.5672 GB, free: 9.316 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1435, allocations: 0 / 0.5672 GB, free: 9.316 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.1439, allocations: 47.89 kB / 0.5672 GB, free: 9.27 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 (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.0008305/0.1447, allocations: 0.7864 MB / 0.568 GB, free: 8.457 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.146, allocations: 204 kB / 0.5682 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.146, allocations: 4.438 kB / 0.5682 GB, free: 8.254 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006897/0.1466, allocations: 107.7 kB / 0.5683 GB, free: 8.148 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.147, allocations: 39.97 kB / 0.5683 GB, free: 8.109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.1498, allocations: 2.103 MB / 0.5704 GB, free: 5.887 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.1502, allocations: 0.7397 MB / 0.5711 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.1503, allocations: 33.39 kB / 0.5711 GB, free: 5.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.259e-05/0.1504, allocations: 43.42 kB / 0.5712 GB, free: 5.047 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1504, allocations: 4 kB / 0.5712 GB, free: 5.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.1783, allocations: 5.132 MB / 0.5762 GB, free: 172 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.43, allocations: 8.969 kB / 0.5762 GB, free: 164 kB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 17.57121490407735]