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.001212/0.001212, allocations: 110 kB / 18.45 MB, free: 4.602 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.001195/0.001195, allocations: 186.4 kB / 19.38 MB, free: 3.684 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.274/1.274, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.1959/0.1959, allocations: 44.17 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3032, allocations: 60.82 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002679/0.306, allocations: 1.818 MB / 0.5214 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.307, allocations: 0.6319 MB / 0.522 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.3071, allocations: 1.156 kB / 0.522 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.3075, allocations: 52.62 kB / 0.522 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.3076, allocations: 73.19 kB / 0.5221 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.308, allocations: 122.9 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.3083, allocations: 231.2 kB / 0.5224 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.977e-05/0.3084, allocations: 29.23 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.3085, allocations: 82.66 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.3087, allocations: 109.9 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.3087, allocations: 6.719 kB / 0.5227 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004082/0.3091, allocations: 222.6 kB / 0.5229 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.3092, allocations: 58.25 kB / 0.5229 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.829e-05/0.3093, allocations: 98.38 kB / 0.523 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.3098, allocations: 333.1 kB / 0.5233 GB, free: 1.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3098, allocations: 1.891 kB / 0.5233 GB, free: 1.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3098, allocations: 0 / 0.5233 GB, free: 1.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3098, allocations: 0 / 0.5233 GB, free: 1.344 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.000613/0.3104, allocations: 0.5283 MB / 0.5238 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3104, allocations: 9.547 kB / 0.5239 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.3123, allocations: 201 kB / 0.5241 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.3126, allocations: 271.7 kB / 0.5243 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3126, allocations: 13.12 kB / 0.5243 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.3127, allocations: 28.28 kB / 0.5243 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009856/0.3137, allocations: 0.4977 MB / 0.5248 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3137, allocations: 0 / 0.5248 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.3137, allocations: 10.77 kB / 0.5248 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/0.3138, allocations: 30.08 kB / 0.5249 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.315, allocations: 0.5809 MB / 0.5254 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.3171, allocations: 1.159 MB / 0.5266 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.3178, allocations: 177.9 kB / 0.5267 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.3182, allocations: 84.3 kB / 0.5268 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.3182, allocations: 4 kB / 0.5268 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3182, allocations: 35.94 kB / 0.5269 GB, free: 15.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.3182, allocations: 0 / 0.5269 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001234/0.3195, allocations: 304.8 kB / 0.5272 GB, free: 14.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3195, allocations: 55.41 kB / 0.5272 GB, free: 14.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.3198, allocations: 275.9 kB / 0.5275 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.3198, allocations: 29.69 kB / 0.5275 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.32, allocations: 169.2 kB / 0.5277 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.32, allocations: 27.77 kB / 0.5277 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.421e-05/0.3201, allocations: 38 kB / 0.5277 GB, free: 14.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3202, allocations: 328.3 kB / 0.528 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.3206, allocations: 93.95 kB / 0.5281 GB, free: 14.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.321, allocations: 114.4 kB / 0.5282 GB, free: 14.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007377/0.3217, allocations: 214.9 kB / 0.5284 GB, free: 13.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.3218, allocations: 7.922 kB / 0.5284 GB, free: 13.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008932/0.3227, allocations: 259 kB / 0.5287 GB, free: 13.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3227, allocations: 7.906 kB / 0.5287 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3227, allocations: 1.344 kB / 0.5287 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3227, allocations: 1.281 kB / 0.5287 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005708/0.3284, allocations: 468.3 kB / 0.5291 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.3313, allocations: 1.948 MB / 0.531 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.3318, allocations: 43.5 kB / 0.5311 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.3318, allocations: 8.234 kB / 0.5311 GB, free: 11.67 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.0002058/0.332, allocations: 153.6 kB / 0.5312 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.3321, allocations: 20.56 kB / 0.5313 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.44e-05/0.3322, allocations: 27.17 kB / 0.5313 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3322, allocations: 4.094 kB / 0.5313 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3322, allocations: 1.219 kB / 0.5313 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3322, allocations: 0 / 0.5313 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.3326, allocations: 293.2 kB / 0.5316 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3326, allocations: 0.9062 kB / 0.5316 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005749/0.3383, allocations: 459.4 kB / 0.532 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3384, allocations: 5.188 kB / 0.532 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.3384, allocations: 9.078 kB / 0.532 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/0.3412, allocations: 1.94 MB / 0.5339 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.3412, allocations: 5.547 kB / 0.5339 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008858/0.3421, allocations: 321.4 kB / 0.5342 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.713e-05/0.3422, allocations: 89.3 kB / 0.5343 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.3423, allocations: 1.344 kB / 0.5343 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.3427, allocations: 21.5 kB / 0.5343 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.3428, allocations: 12.16 kB / 0.5344 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.3428, allocations: 9.516 kB / 0.5344 GB, free: 8.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.343, allocations: 214 kB / 0.5346 GB, free: 8.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.343, allocations: 1.312 kB / 0.5346 GB, free: 8.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004079/0.3435, allocations: 69.66 kB / 0.5346 GB, free: 8.633 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.0002345/0.3437, allocations: 121.5 kB / 0.5347 GB, free: 8.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006065/0.3498, allocations: 0.5963 MB / 0.5353 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3498, allocations: 0 / 0.5353 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00569/0.3555, allocations: 499.4 kB / 0.5358 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.3561, allocations: 46.92 kB / 0.5359 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.3573, allocations: 494.8 kB / 0.5363 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.3577, allocations: 0.7799 MB / 0.5371 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.3579, allocations: 22.11 kB / 0.5371 GB, free: 6.938 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3579, allocations: 0 / 0.5371 GB, free: 6.938 MB / 398.1 MB Notification: Performance of Templates: time 0.01021/0.3681, allocations: 6.659 MB / 0.5436 GB, free: 2.898 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/jenkins1/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/jenkins1/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