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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|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=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 111.1 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 180.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1929/0.1929, allocations: 44.2 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3213, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002808/0.3242, allocations: 1.814 MB / 0.5207 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009646/0.3252, allocations: 0.6313 MB / 0.5213 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.3252, allocations: 1.469 kB / 0.5213 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.3255, allocations: 52.84 kB / 0.5214 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.3257, allocations: 73.84 kB / 0.5214 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.326, allocations: 122.3 kB / 0.5216 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.3262, allocations: 234 kB / 0.5218 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.3263, allocations: 31.06 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.201e-05/0.3264, allocations: 82.66 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3265, allocations: 108.8 kB / 0.522 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.3266, allocations: 6.969 kB / 0.522 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.3269, allocations: 219.1 kB / 0.5222 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.698e-05/0.327, allocations: 60.89 kB / 0.5223 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.631e-05/0.3271, allocations: 95.06 kB / 0.5224 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.3276, allocations: 331.9 kB / 0.5227 GB, free: 1.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3276, allocations: 2.094 kB / 0.5227 GB, free: 1.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3276, allocations: 0 / 0.5227 GB, free: 1.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3276, allocations: 4 kB / 0.5227 GB, free: 1.316 MB / 382.1 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.0005627/0.3282, allocations: 0.5343 MB / 0.5232 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3282, allocations: 9.719 kB / 0.5232 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.3298, allocations: 202.9 kB / 0.5234 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.3301, allocations: 271.6 kB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.3302, allocations: 18.69 kB / 0.5237 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.3302, allocations: 21.45 kB / 0.5237 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.3313, allocations: 0.4986 MB / 0.5242 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3313, allocations: 0.9844 kB / 0.5242 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.3314, allocations: 10.12 kB / 0.5242 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-05/0.3314, allocations: 29.27 kB / 0.5242 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.3327, allocations: 0.5778 MB / 0.5248 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.3349, allocations: 1.164 MB / 0.5259 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.3355, allocations: 177 kB / 0.5261 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.3359, allocations: 96.03 kB / 0.5262 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.3359, allocations: 5.516 kB / 0.5262 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.3359, allocations: 31.94 kB / 0.5262 GB, free: 15.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.3359, allocations: 0 / 0.5262 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001143/0.3371, allocations: 303.2 kB / 0.5265 GB, free: 14.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.3371, allocations: 52.78 kB / 0.5266 GB, free: 14.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.3374, allocations: 278.4 kB / 0.5268 GB, free: 14.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3374, allocations: 31.42 kB / 0.5269 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3376, allocations: 169.5 kB / 0.527 GB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.3376, allocations: 26.47 kB / 0.527 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.3377, allocations: 42.5 kB / 0.5271 GB, free: 14.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3378, allocations: 332.4 kB / 0.5274 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.3382, allocations: 90.95 kB / 0.5275 GB, free: 14.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.3386, allocations: 117.3 kB / 0.5276 GB, free: 14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/0.3393, allocations: 210.3 kB / 0.5278 GB, free: 13.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3393, allocations: 3.938 kB / 0.5278 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008329/0.3401, allocations: 266.6 kB / 0.5281 GB, free: 13.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3401, allocations: 10.94 kB / 0.5281 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3402, allocations: 0 / 0.5281 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3402, allocations: 1.781 kB / 0.5281 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005356/0.3455, allocations: 464.1 kB / 0.5285 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.348, allocations: 1.944 MB / 0.5304 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.3484, allocations: 52.11 kB / 0.5305 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.3485, allocations: 8.422 kB / 0.5305 GB, free: 11.62 MB / 398.1 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 0.0001827/0.3487, allocations: 153 kB / 0.5306 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.3487, allocations: 20.94 kB / 0.5306 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.651e-05/0.3488, allocations: 26.67 kB / 0.5307 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3488, allocations: 5.141 kB / 0.5307 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3488, allocations: 0 / 0.5307 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3488, allocations: 1.156 kB / 0.5307 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.3492, allocations: 297.1 kB / 0.5309 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3492, allocations: 0 / 0.5309 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005302/0.3545, allocations: 460.7 kB / 0.5314 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3545, allocations: 0 / 0.5314 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.3546, allocations: 2.938 kB / 0.5314 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.357, allocations: 1.943 MB / 0.5333 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.357, allocations: 192 / 0.5333 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/0.3578, allocations: 322 kB / 0.5336 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/0.3579, allocations: 101.5 kB / 0.5337 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.3579, allocations: 5.031 kB / 0.5337 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.3583, allocations: 18.62 kB / 0.5337 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.3584, allocations: 10.72 kB / 0.5337 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.3584, allocations: 2.969 kB / 0.5337 GB, free: 8.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.3586, allocations: 213.3 kB / 0.5339 GB, free: 8.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3586, allocations: 5 kB / 0.5339 GB, free: 8.598 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000381/0.359, allocations: 77.83 kB / 0.534 GB, free: 8.578 MB / 398.1 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.0002096/0.3592, allocations: 112.1 kB / 0.5341 GB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005596/0.3648, allocations: 0.5938 MB / 0.5347 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3648, allocations: 4.188 kB / 0.5347 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005048/0.3699, allocations: 499.1 kB / 0.5352 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.3703, allocations: 35.14 kB / 0.5352 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009699/0.3713, allocations: 485.7 kB / 0.5357 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3716, allocations: 0.7817 MB / 0.5364 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.3718, allocations: 49.89 kB / 0.5365 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.3719, allocations: 26.45 kB / 0.5365 GB, free: 6.887 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3719, allocations: 0 / 0.5365 GB, free: 6.887 MB / 398.1 MB Notification: Performance of Templates: time 0.009219/0.3811, allocations: 5.238 MB / 0.5416 GB, free: 4.316 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches