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_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.001335/0.001335, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001367/0.001367, allocations: 172.3 kB / 24.91 MB, free: 8.77 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 0.9866/0.9866, 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.2711/0.2711, allocations: 32.8 MB / 294.6 MB, free: 1.215 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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|zeta_TOT.[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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|zeta_TOT.[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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.917e-05, allocations: 2.969 kB / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002406/0.002435, allocations: 1.756 MB / 325 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003543, allocations: 0.8333 MB / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.003601, allocations: 0 / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.003808, allocations: 31.83 kB / 325.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.003977, allocations: 59.61 kB / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.004286, allocations: 107.5 kB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.00445, allocations: 159.1 kB / 326.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.00449, allocations: 5.969 kB / 326.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.004655, allocations: 91.66 kB / 326.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.004752, allocations: 63.8 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.004768, allocations: 4 kB / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.004974, allocations: 131.8 kB / 326.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.005033, allocations: 43.84 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.00508, allocations: 44.47 kB / 326.6 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.005326, allocations: 207.2 kB / 326.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.005329, allocations: 0 / 326.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.00533, allocations: 0 / 326.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.005334, allocations: 0 / 326.8 MB, free: 6.191 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0003795/0.005714, allocations: 353.3 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.005746, allocations: 12.03 kB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.006026, allocations: 80.73 kB / 327.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.006164, allocations: 137.6 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.006179, allocations: 20.3 kB / 327.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.006198, allocations: 8.375 kB / 327.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.00639, allocations: 150.7 kB / 327.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.006399, allocations: 3.938 kB / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.006415, allocations: 7.984 kB / 327.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.006444, allocations: 19.98 kB / 327.5 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.817e-05/0.006512, allocations: 59.47 kB / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.007029, allocations: 371.4 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.003e-05/0.007109, allocations: 97.19 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.00713, allocations: 12.86 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.007141, allocations: 4 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.007161, allocations: 30.56 kB / 328.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.007162, allocations: 0 / 328.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001409/0.007303, allocations: 61.66 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.007331, allocations: 55.34 kB / 328.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.007407, allocations: 142.8 kB / 328.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.00742, allocations: 25.7 kB / 328.4 MB, free: 4.434 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.007491, allocations: 144.1 kB / 328.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.007508, allocations: 35.77 kB / 328.6 MB, free: 4.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.007553, allocations: 29.66 kB / 328.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.007627, allocations: 326.8 kB / 328.9 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.007651, allocations: 14.83 kB / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.382e-05/0.007695, allocations: 60.59 kB / 329 MB, free: 3.793 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.804e-05/0.007783, allocations: 100.3 kB / 329.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.007785, allocations: 4 kB / 329.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001105/0.007896, allocations: 92.3 kB / 329.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.007908, allocations: 8 kB / 329.2 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.007915, allocations: 3.984 kB / 329.2 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.00793, allocations: 8 kB / 329.2 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.008317, allocations: 92.05 kB / 329.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008185/0.009136, allocations: 1.782 MB / 331.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.136e-05/0.009207, allocations: 20.08 kB / 331.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.009219, allocations: 4 kB / 331.1 MB, free: 1.574 MB / 298.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 (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 8.545e-05/0.009304, allocations: 124.6 kB / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.009323, allocations: 4 kB / 331.2 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.009476, allocations: 99.11 kB / 331.3 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.009478, allocations: 0 / 331.3 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.009482, allocations: 7.938 kB / 331.3 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.009486, allocations: 0 / 331.3 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.009615, allocations: 109.7 kB / 331.4 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.009617, allocations: 0 / 331.4 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.009904, allocations: 75.84 kB / 331.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.009906, allocations: 4 kB / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.009912, allocations: 0 / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006619/0.01057, allocations: 1.769 MB / 333.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01058, allocations: 0 / 333.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.01073, allocations: 221.9 kB / 333.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.01075, allocations: 7.953 kB / 333.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.01077, allocations: 192 / 333.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-05/0.01082, allocations: 11.98 kB / 333.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.01086, allocations: 15.86 kB / 333.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.01087, allocations: 4 kB / 333.5 MB, free: 15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.613e-05/0.01089, allocations: 24.83 kB / 333.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01089, allocations: 0 / 333.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003289/0.01122, allocations: 47.89 kB / 333.6 MB, free: 14.93 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 (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.0001543/0.01138, allocations: 92.34 kB / 333.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004295/0.01181, allocations: 134.8 kB / 333.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.01181, allocations: 4 kB / 333.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.01202, allocations: 68.72 kB / 333.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.0122, allocations: 19.98 kB / 333.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.01284, allocations: 338.3 kB / 334.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.073e-05/0.01289, allocations: 83.27 kB / 334.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.539e-05/0.01295, allocations: 20.42 kB / 334.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.01303, allocations: 63.36 kB / 334.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01303, allocations: 0 / 334.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of Templates: time 0.005169/0.0182, allocations: 2.723 MB / 337.1 MB, free: 11.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_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.189951831009239]