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.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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 112.8 kB / 17.74 MB, free: 5.43 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.0009692/0.0009693, allocations: 187.1 kB / 18.66 MB, free: 4.508 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.28/1.28, allocations: 222.9 MB / 242.3 MB, free: 15.07 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.2048/0.2048, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.373, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002561/0.3756, allocations: 1.674 MB / 0.5205 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3769, allocations: 0.8008 MB / 0.5213 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.3769, allocations: 1.125 kB / 0.5213 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.3772, allocations: 36.39 kB / 0.5213 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.3774, allocations: 58.39 kB / 0.5214 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.3777, allocations: 96.84 kB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.3779, allocations: 152.5 kB / 0.5216 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/0.378, allocations: 16.23 kB / 0.5216 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.3781, allocations: 63.97 kB / 0.5217 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.3782, allocations: 73.91 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3783, allocations: 4.469 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.3786, allocations: 156.8 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/0.3787, allocations: 36.78 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.3787, allocations: 62.88 kB / 0.522 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.3791, allocations: 204.2 kB / 0.5222 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3791, allocations: 0 / 0.5222 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3791, allocations: 0 / 0.5222 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3791, allocations: 0.5625 kB / 0.5222 GB, free: 1.547 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000551/0.3797, allocations: 462.4 kB / 0.5226 GB, free: 1.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3797, allocations: 8.719 kB / 0.5226 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005352/0.3802, allocations: 70.61 kB / 0.5227 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3804, allocations: 222.5 kB / 0.5229 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3804, allocations: 13.69 kB / 0.5229 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.3805, allocations: 16.84 kB / 0.523 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.3809, allocations: 234.3 kB / 0.5232 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.381, allocations: 0 / 0.5232 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.381, allocations: 5.438 kB / 0.5232 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/0.3811, allocations: 19.58 kB / 0.5232 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.3816, allocations: 226.8 kB / 0.5234 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.3828, allocations: 0.7243 MB / 0.5241 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.3831, allocations: 92.89 kB / 0.5242 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.3832, allocations: 44.64 kB / 0.5243 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3833, allocations: 3.984 kB / 0.5243 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.3833, allocations: 40.84 kB / 0.5243 GB, free: 36 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.3833, allocations: 0 / 0.5243 GB, free: 36 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007075/0.384, allocations: 167.3 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3841, allocations: 57.42 kB / 0.5245 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.3844, allocations: 189.1 kB / 0.5247 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.3844, allocations: 26.45 kB / 0.5247 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.3845, allocations: 147.4 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.3846, allocations: 25.47 kB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.3847, allocations: 28.44 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3849, allocations: 330.1 kB / 0.5252 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.385, allocations: 44.12 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.3853, allocations: 106.4 kB / 0.5254 GB, free: 15.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.3856, allocations: 153.9 kB / 0.5255 GB, free: 15.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3856, allocations: 0 / 0.5255 GB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004308/0.3861, allocations: 187 kB / 0.5257 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3861, allocations: 13.47 kB / 0.5257 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3861, allocations: 2.125 kB / 0.5257 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3861, allocations: 2.75 kB / 0.5257 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000899/0.387, allocations: 119.1 kB / 0.5258 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.3884, allocations: 1.824 MB / 0.5276 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.3885, allocations: 22.91 kB / 0.5276 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3886, allocations: 13.48 kB / 0.5276 GB, free: 13.19 MB / 398.1 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 0.0001402/0.3887, allocations: 136.9 kB / 0.5278 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.3888, allocations: 13.34 kB / 0.5278 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.3892, allocations: 184.9 kB / 0.528 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.3893, allocations: 1.375 kB / 0.528 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3893, allocations: 5.312 kB / 0.528 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3893, allocations: 0 / 0.528 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.3896, allocations: 232.6 kB / 0.5282 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3896, allocations: 4 kB / 0.5282 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/0.3903, allocations: 105.7 kB / 0.5283 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3903, allocations: 0.6875 kB / 0.5283 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.3903, allocations: 1.281 kB / 0.5283 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009842/0.3913, allocations: 1.782 MB / 0.53 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.3914, allocations: 3.984 kB / 0.53 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.3918, allocations: 240.5 kB / 0.5303 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.3918, allocations: 93.06 kB / 0.5304 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.3919, allocations: 0.9688 kB / 0.5304 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.392, allocations: 13.45 kB / 0.5304 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.3921, allocations: 7.781 kB / 0.5304 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3921, allocations: 4.062 kB / 0.5304 GB, free: 10.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.3922, allocations: 140.6 kB / 0.5305 GB, free: 10.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3923, allocations: 4 kB / 0.5305 GB, free: 10.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.3926, allocations: 43.44 kB / 0.5306 GB, free: 10.42 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 (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.0002006/0.3928, allocations: 104.7 kB / 0.5307 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.394, allocations: 227.6 kB / 0.5309 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.394, allocations: 0 / 0.5309 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006346/0.3947, allocations: 126.1 kB / 0.531 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.3951, allocations: 48.97 kB / 0.531 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000742/0.3959, allocations: 344.4 kB / 0.5314 GB, free: 9.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.3962, allocations: 0.7369 MB / 0.5321 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.3963, allocations: 39.83 kB / 0.5321 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.3964, allocations: 14.16 kB / 0.5321 GB, free: 9.18 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3964, allocations: 0 / 0.5321 GB, free: 9.18 MB / 398.1 MB Notification: Performance of Templates: time 0.006765/0.4032, allocations: 3.044 MB / 0.5351 GB, free: 7.684 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches