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.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.0009208/0.0009208, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009625/0.0009625, allocations: 173.9 kB / 24.92 MB, free: 8.723 MB / 18.57 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.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.7 MB " [Timeout remaining time 179] 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.2672/0.2672, allocations: 32.8 MB / 294.6 MB, free: 1.145 MB / 266.7 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.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: 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 323.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.704e-05, allocations: 2.969 kB / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002848/0.002865, allocations: 1.88 MB / 325.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009804/0.003845, allocations: 0.6229 MB / 325.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.003912, allocations: 4 kB / 325.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.004189, allocations: 55.61 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.004366, allocations: 83.45 kB / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.004701, allocations: 119.5 kB / 326 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.004953, allocations: 250.5 kB / 326.3 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.005005, allocations: 22.48 kB / 326.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.005139, allocations: 111.6 kB / 326.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.005282, allocations: 91.66 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.005308, allocations: 4 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.005581, allocations: 159.8 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.005653, allocations: 63.7 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.005727, allocations: 59.73 kB / 326.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.006107, allocations: 306.9 kB / 327.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006109, allocations: 3.938 kB / 327.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00611, allocations: 4 kB / 327.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.006113, allocations: 0 / 327.1 MB, free: 5.852 MB / 298.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.0005192/0.006633, allocations: 437.9 kB / 327.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.006665, allocations: 8.031 kB / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.007701, allocations: 164.6 kB / 327.7 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.00795, allocations: 166.1 kB / 327.8 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.007973, allocations: 16.88 kB / 327.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-05/0.008026, allocations: 24.31 kB / 327.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.008567, allocations: 308.9 kB / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.00858, allocations: 192 / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.008619, allocations: 12.36 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.716e-05/0.008676, allocations: 36.56 kB / 328.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.00895, allocations: 148.5 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.01024, allocations: 0.5803 MB / 328.9 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.01043, allocations: 97.27 kB / 329 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/0.0105, allocations: 16.84 kB / 329.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.01051, allocations: 4 kB / 329.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.01053, allocations: 34.5 kB / 329.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.01054, allocations: 4 kB / 329.1 MB, free: 3.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003031/0.01084, allocations: 81.81 kB / 329.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.01087, allocations: 51.41 kB / 329.2 MB, free: 3.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.01097, allocations: 146.7 kB / 329.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.01099, allocations: 29.69 kB / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.01108, allocations: 176 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.01111, allocations: 27.78 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.509e-05/0.01119, allocations: 41.62 kB / 329.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.01128, allocations: 318.8 kB / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.01135, allocations: 15.98 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-05/0.01143, allocations: 55.83 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.01159, allocations: 78.14 kB / 330.1 MB, free: 2.641 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.0116, allocations: 0 / 330.1 MB, free: 2.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002194/0.01182, allocations: 89.58 kB / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.01183, allocations: 4 kB / 330.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01183, allocations: 0 / 330.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.01185, allocations: 7.938 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003147/0.01499, allocations: 371.4 kB / 330.6 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.01639, allocations: 1.825 MB / 332.4 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.01655, allocations: 24.06 kB / 332.4 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.01657, allocations: 7.984 kB / 332.4 MB, free: 240 kB / 298.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.941e-05/0.01667, allocations: 116.7 kB / 332.5 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.01672, allocations: 19.86 kB / 332.5 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.01676, allocations: 20.72 kB / 332.6 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01676, allocations: 3.984 kB / 332.6 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01676, allocations: 0 / 332.6 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01676, allocations: 0 / 332.6 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.01699, allocations: 121.8 kB / 332.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01699, allocations: 0 / 332.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002819/0.01981, allocations: 363.4 kB / 333 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01982, allocations: 0 / 333 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.01983, allocations: 7.984 kB / 333.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.02112, allocations: 1.832 MB / 334.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02112, allocations: 0 / 334.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.02135, allocations: 213.1 kB / 335.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.02136, allocations: 15.84 kB / 335.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.02139, allocations: 7.875 kB / 335.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.02156, allocations: 7.984 kB / 335.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.02161, allocations: 11.97 kB / 335.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.02163, allocations: 8.047 kB / 335.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.412e-05/0.02166, allocations: 35.41 kB / 335.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02166, allocations: 0 / 335.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003471/0.02201, allocations: 75.78 kB / 335.3 MB, free: 13.27 MB / 314.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.0001656/0.02218, allocations: 88.41 kB / 335.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002755/0.02493, allocations: 380.3 kB / 335.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.02494, allocations: 4 kB / 335.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002678/0.02762, allocations: 340.3 kB / 336 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.02788, allocations: 19.23 kB / 336.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.02889, allocations: 438.5 kB / 336.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.696e-05/0.02896, allocations: 95.28 kB / 336.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.937e-05/0.02905, allocations: 20.7 kB / 336.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.02917, allocations: 67.36 kB / 336.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02917, allocations: 4 kB / 336.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of Templates: time 0.008741/0.03791, allocations: 5.164 MB / 341.8 MB, free: 6.711 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2243407028727233]