Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.001116/0.001116, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00199/0.003106, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001256/0.001256, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001904/0.00316, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9811/0.9811, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.173/1.154, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2008/0.2008, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02387/0.2247, allocations: 12.29 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.[0-9,]+.|a.[0-9,]+.|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.[0-9,]+.|a.[0-9,]+.|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.225e-05, allocations: 2.312 kB / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002382/0.002404, allocations: 1.747 MB / 269 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.00347, allocations: 0.9081 MB / 269.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.003516, allocations: 0 / 269.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.003643, allocations: 39.77 kB / 269.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.003777, allocations: 43.69 kB / 270 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.00406, allocations: 135.4 kB / 270.1 MB, free: 3.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.004203, allocations: 151.2 kB / 270.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.004248, allocations: 6.297 kB / 270.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.004348, allocations: 79.73 kB / 270.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.651e-05/0.004445, allocations: 63.8 kB / 270.4 MB, free: 3.324 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.004459, allocations: 4 kB / 270.4 MB, free: 3.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.004697, allocations: 171.6 kB / 270.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.004745, allocations: 39.92 kB / 270.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.00478, allocations: 31.88 kB / 270.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.005042, allocations: 203.3 kB / 270.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/0.005054, allocations: 0 / 270.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005055, allocations: 0 / 270.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.005071, allocations: 0 / 270.8 MB, free: 2.883 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000487/0.005558, allocations: 407.5 kB / 271.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.005593, allocations: 12.03 kB / 271.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005834/0.006176, allocations: 189.8 kB / 271.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.00633, allocations: 149.5 kB / 271.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.006341, allocations: 4.375 kB / 271.6 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.006364, allocations: 20.3 kB / 271.6 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.006669, allocations: 209.5 kB / 271.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.006678, allocations: 192 / 271.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.006696, allocations: 8.359 kB / 271.8 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.006727, allocations: 23.92 kB / 271.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.00685, allocations: 91.95 kB / 271.9 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.007497, allocations: 415.3 kB / 272.3 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.007706, allocations: 128 kB / 272.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.007764, allocations: 32.83 kB / 272.5 MB, free: 1.117 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.007783, allocations: 7.984 kB / 272.5 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.007806, allocations: 30.56 kB / 272.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.007807, allocations: 0 / 272.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002138/0.008021, allocations: 97.56 kB / 272.6 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.008053, allocations: 51.41 kB / 272.7 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.008125, allocations: 146.5 kB / 272.8 MB, free: 0.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.00814, allocations: 25.7 kB / 272.8 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.008196, allocations: 144.2 kB / 273 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.008219, allocations: 39.62 kB / 273 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.008275, allocations: 49.61 kB / 273.1 MB, free: 492 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.008363, allocations: 330.7 kB / 273.4 MB, free: 152 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.008413, allocations: 22.81 kB / 273.4 MB, free: 128 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-05/0.008496, allocations: 82.77 kB / 273.5 MB, free: 20 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.008636, allocations: 120.7 kB / 273.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.00864, allocations: 4 kB / 273.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001898/0.00883, allocations: 124.2 kB / 273.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.008847, allocations: 8 kB / 273.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.008853, allocations: 0 / 273.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.008865, allocations: 4 kB / 273.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.009143, allocations: 91.83 kB / 273.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006608/0.009803, allocations: 1.767 MB / 275.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.248e-05/0.009896, allocations: 15.83 kB / 275.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.009917, allocations: 15.98 kB / 275.6 MB, free: 13.77 MB / 282.7 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 (17): * Single equations (assignments): 14 * 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.598e-05/0.01001, allocations: 120.6 kB / 275.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.01004, allocations: 7.984 kB / 275.8 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.01023, allocations: 130.5 kB / 275.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01024, allocations: 0 / 275.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01024, allocations: 0 / 275.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01024, allocations: 0 / 275.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.01038, allocations: 117.7 kB / 276 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.01038, allocations: 0 / 276 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.01057, allocations: 71.91 kB / 276.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.01058, allocations: 15.88 kB / 276.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.01059, allocations: 4 kB / 276.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.0106, allocations: 15.97 kB / 276.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005681/0.01117, allocations: 1.762 MB / 277.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01117, allocations: 4 kB / 277.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.01134, allocations: 229.1 kB / 278.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.01136, allocations: 4 kB / 278.1 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-05/0.01144, allocations: 11.98 kB / 278.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.01148, allocations: 11.97 kB / 278.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.01149, allocations: 3.984 kB / 278.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.38e-05/0.01152, allocations: 33.33 kB / 278.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01152, allocations: 0 / 278.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.01175, allocations: 79.69 kB / 278.2 MB, free: 11.03 MB / 282.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 (10): * Single equations (assignments): 7 * 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.0002092/0.01196, allocations: 128.1 kB / 278.4 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.01216, allocations: 101.1 kB / 278.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.01217, allocations: 4 kB / 278.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.01226, allocations: 68.72 kB / 278.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.01243, allocations: 32.53 kB / 278.6 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.01486, allocations: 341.2 kB / 278.9 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.454e-05/0.01491, allocations: 79.33 kB / 279 MB, free: 10.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.01501, allocations: 44.36 kB / 279 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.01511, allocations: 75.33 kB / 279.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01511, allocations: 0 / 279.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of Templates: time 0.004446/0.01956, allocations: 2.625 MB / 281.7 MB, free: 7.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.018531427718699]