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.000937/0.000937, 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.001053/0.001053, allocations: 170.3 kB / 24.91 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2602/0.2602, allocations: 32.8 MB / 294.6 MB, free: 1.203 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.563e-06/1.563e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.263e-05, allocations: 4.656 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002454/0.002477, allocations: 1.924 MB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008429/0.003319, allocations: 0.6267 MB / 325.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.186e-05/0.003381, allocations: 0 / 325.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.003636, allocations: 51.62 kB / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.003772, allocations: 79.52 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.004048, allocations: 115.5 kB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.004254, allocations: 250.5 kB / 326.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.004302, allocations: 18.55 kB / 326.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.004414, allocations: 111.6 kB / 326.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.004531, allocations: 91.66 kB / 326.6 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.004549, allocations: 4 kB / 326.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.004804, allocations: 175.8 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.004866, allocations: 55.7 kB / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.004921, allocations: 63.73 kB / 326.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.005232, allocations: 310.9 kB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005235, allocations: 0 / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005235, allocations: 0 / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.00524, allocations: 4 kB / 327.2 MB, free: 5.777 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.0004257/0.005666, allocations: 437.8 kB / 327.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.005696, allocations: 8.031 kB / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007251/0.006422, allocations: 176.5 kB / 327.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.006642, allocations: 158.2 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.006658, allocations: 16.88 kB / 327.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.006692, allocations: 28.36 kB / 328 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.007052, allocations: 296.9 kB / 328.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.007061, allocations: 192 / 328.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.007087, allocations: 20.34 kB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.007121, allocations: 28.58 kB / 328.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.007302, allocations: 156.5 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009286/0.008231, allocations: 0.5764 MB / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.008364, allocations: 93.28 kB / 329.1 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.008413, allocations: 20.84 kB / 329.1 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.008425, allocations: 7.938 kB / 329.1 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.008446, allocations: 42.55 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.008448, allocations: 0 / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002208/0.008669, allocations: 77.72 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.008692, allocations: 51.41 kB / 329.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.008963, allocations: 146.6 kB / 329.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.008982, allocations: 25.7 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.009046, allocations: 184 kB / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.009069, allocations: 31.77 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.009126, allocations: 33.64 kB / 329.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.009197, allocations: 326.8 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.00925, allocations: 19.92 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-05/0.00931, allocations: 39.92 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.009423, allocations: 82.14 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.009425, allocations: 0 / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001563/0.009582, allocations: 97.45 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.009595, allocations: 6.344 kB / 330.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.009599, allocations: 4 kB / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-05/0.009683, allocations: 4.031 kB / 330.3 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.01174, allocations: 375.4 kB / 330.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.01303, allocations: 1.825 MB / 332.5 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.01317, allocations: 19.88 kB / 332.5 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.01319, allocations: 7.984 kB / 332.5 MB, free: 152 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 8.7e-05/0.01327, allocations: 120.6 kB / 332.6 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.01331, allocations: 11.97 kB / 332.6 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.01335, allocations: 16.8 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01336, allocations: 4 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01336, allocations: 0 / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01336, allocations: 0 / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.01352, allocations: 125.8 kB / 332.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01352, allocations: 0 / 332.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/0.01551, allocations: 363.4 kB / 333.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.01551, allocations: 0 / 333.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.01552, allocations: 3.984 kB / 333.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009786/0.0165, allocations: 1.836 MB / 335 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.0165, allocations: 0 / 335 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.01668, allocations: 209 kB / 335.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.0167, allocations: 15.84 kB / 335.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.01672, allocations: 3.938 kB / 335.2 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.01683, allocations: 20.11 kB / 335.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.01687, allocations: 7.969 kB / 335.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.01689, allocations: 7.984 kB / 335.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.581e-05/0.01691, allocations: 27.41 kB / 335.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01691, allocations: 0 / 335.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.01713, allocations: 79.78 kB / 335.3 MB, free: 13.19 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.0001435/0.01727, allocations: 96.41 kB / 335.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002198/0.01947, allocations: 378.4 kB / 335.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.01947, allocations: 3.938 kB / 335.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.02143, allocations: 344.2 kB / 336.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.02163, allocations: 23.98 kB / 336.2 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009312/0.02256, allocations: 435.7 kB / 336.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.392e-05/0.02262, allocations: 91.3 kB / 336.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.005e-05/0.02269, allocations: 28.69 kB / 336.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.02278, allocations: 63.36 kB / 336.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of SimCode: time 1.373e-06/0.02278, allocations: 3.938 kB / 336.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of Templates: time 0.007005/0.02979, allocations: 5.159 MB / 341.9 MB, free: 6.625 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 -s gbode -gbm=radauIIA3 -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.1517597693018615]