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.001024/0.001024, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001155/0.001155, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.014/1.014, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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.2601/0.2601, allocations: 34.87 MB / 296.3 MB, free: 0.5391 MB / 266.7 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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eta.[0-9,]+.|rho.[0-9,]+.|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eta.[0-9,]+.|rho.[0-9,]+.|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.064e-05, allocations: 4.422 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002131/0.002152, allocations: 1.883 MB / 380.7 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003292, allocations: 0.6191 MB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.003361, allocations: 0 / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.003676, allocations: 55.62 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.003835, allocations: 79.52 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.004198, allocations: 119.5 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.004418, allocations: 242.6 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.004463, allocations: 12.59 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.004574, allocations: 107.6 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.004687, allocations: 99.64 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.004708, allocations: 12 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.004956, allocations: 163.8 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.957e-05/0.005026, allocations: 59.7 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.342e-05/0.005089, allocations: 63.73 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.005416, allocations: 310.9 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005417, allocations: 0 / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005418, allocations: 4 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.005422, allocations: 0 / 382.6 MB, free: 14.25 MB / 362.7 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.000502/0.005924, allocations: 0.5583 MB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.005963, allocations: 16.03 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/0.00679, allocations: 228.3 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.007018, allocations: 204.1 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.007035, allocations: 16.88 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.007071, allocations: 20.38 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.007504, allocations: 318.1 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.007516, allocations: 4.188 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.007542, allocations: 8.375 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/0.007582, allocations: 28.58 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.007892, allocations: 247.8 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.009033, allocations: 0.7752 MB / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.009201, allocations: 71.02 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.821e-05/0.009269, allocations: 27.66 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.009285, allocations: 3.938 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.009305, allocations: 41.39 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.009306, allocations: 0 / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003358/0.009642, allocations: 109.7 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.009668, allocations: 51.41 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.009783, allocations: 209.1 kB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.009803, allocations: 25.7 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.009891, allocations: 230.8 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.009911, allocations: 23.8 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.009971, allocations: 43.3 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.01008, allocations: 0.4923 MB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.01016, allocations: 35.84 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.01024, allocations: 66.72 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.0104, allocations: 98.67 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.0104, allocations: 0 / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002248/0.01062, allocations: 137.5 kB / 386.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.01064, allocations: 7.938 kB / 386.6 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01064, allocations: 0 / 386.6 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.01066, allocations: 4 kB / 386.6 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/0.01285, allocations: 383.4 kB / 387 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.01447, allocations: 2.754 MB / 389.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.0146, allocations: 19.88 kB / 389.8 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.01461, allocations: 4 kB / 389.8 MB, free: 6.715 MB / 362.7 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 9.622e-05/0.01471, allocations: 168.5 kB / 390 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.01475, allocations: 16.02 kB / 390 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.01478, allocations: 16.78 kB / 390 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.01479, allocations: 4 kB / 390 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01479, allocations: 0 / 390 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01479, allocations: 0 / 390 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.01498, allocations: 220.5 kB / 390.2 MB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01498, allocations: 0 / 390.2 MB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/0.01709, allocations: 379.4 kB / 390.6 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01709, allocations: 3.938 kB / 390.6 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.01711, allocations: 4 kB / 390.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.01828, allocations: 2.754 MB / 393.3 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01828, allocations: 0 / 393.3 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.01851, allocations: 244 kB / 393.6 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.01853, allocations: 19.83 kB / 393.6 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.01855, allocations: 0 / 393.6 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.01867, allocations: 7.984 kB / 393.6 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.01871, allocations: 7.984 kB / 393.6 MB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.01873, allocations: 7.984 kB / 393.6 MB, free: 2.734 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.675e-05/0.01878, allocations: 155.1 kB / 393.8 MB, free: 2.582 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01878, allocations: 0 / 393.8 MB, free: 2.582 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000225/0.01901, allocations: 75.78 kB / 393.9 MB, free: 2.508 MB / 362.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 (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.0001642/0.01917, allocations: 115.2 kB / 394 MB, free: 2.383 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.02132, allocations: 406.9 kB / 394.4 MB, free: 1.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.02132, allocations: 192 / 394.4 MB, free: 1.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001981/0.0233, allocations: 363.1 kB / 394.7 MB, free: 1.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.02351, allocations: 23.91 kB / 394.7 MB, free: 1.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008071/0.02432, allocations: 422 kB / 395.2 MB, free: 1.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.373e-05/0.02437, allocations: 95.28 kB / 395.2 MB, free: 1.047 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.955e-05/0.02445, allocations: 44.66 kB / 395.3 MB, free: 1.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.0245, allocations: 16.5 kB / 395.3 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.0245, allocations: 0 / 395.3 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of Templates: time 0.006102/0.03061, allocations: 4.849 MB / 400.2 MB, free: 12.2 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_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.5328326700255275]