Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 210.8 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 79.86 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3841, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003987/0.3881, allocations: 1.682 MB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.39, allocations: 0.8289 MB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.3901, allocations: 5.312 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.3905, allocations: 41.42 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.3907, allocations: 56.11 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.3911, allocations: 95.39 kB / 0.5343 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.3913, allocations: 155.9 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.492e-05/0.3914, allocations: 22.48 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.3916, allocations: 71.27 kB / 0.5346 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.3918, allocations: 69.94 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.3918, allocations: 4.125 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000348/0.3922, allocations: 164.8 kB / 0.5348 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.3923, allocations: 38.08 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.088e-05/0.3924, allocations: 63.7 kB / 0.5349 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.3928, allocations: 205.3 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3928, allocations: 4 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3928, allocations: 0 / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3928, allocations: 0 / 0.5351 GB, free: 11.09 MB / 398.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.0007066/0.3935, allocations: 456.6 kB / 0.5355 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.3936, allocations: 9.188 kB / 0.5355 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006279/0.3942, allocations: 71.23 kB / 0.5356 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.3945, allocations: 212.7 kB / 0.5358 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3945, allocations: 13.39 kB / 0.5358 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.3945, allocations: 20.22 kB / 0.5358 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.3951, allocations: 231.3 kB / 0.5361 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3951, allocations: 0 / 0.5361 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.3951, allocations: 9.359 kB / 0.5361 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/0.3952, allocations: 21.73 kB / 0.5361 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.3957, allocations: 220.5 kB / 0.5363 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.397, allocations: 0.7305 MB / 0.537 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.3973, allocations: 91.25 kB / 0.5371 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.3974, allocations: 44.91 kB / 0.5371 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3975, allocations: 7.938 kB / 0.5371 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3975, allocations: 39.91 kB / 0.5372 GB, free: 9.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3975, allocations: 0 / 0.5372 GB, free: 9.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000638/0.3982, allocations: 170.5 kB / 0.5373 GB, free: 9.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.3982, allocations: 56.47 kB / 0.5374 GB, free: 9.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.3985, allocations: 178.1 kB / 0.5376 GB, free: 9.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.3985, allocations: 30.8 kB / 0.5376 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3986, allocations: 136 kB / 0.5377 GB, free: 8.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.3987, allocations: 30.95 kB / 0.5378 GB, free: 8.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.688e-05/0.3988, allocations: 33.45 kB / 0.5378 GB, free: 8.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3989, allocations: 318.2 kB / 0.5381 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3991, allocations: 51.34 kB / 0.5381 GB, free: 8.449 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.3993, allocations: 99.58 kB / 0.5382 GB, free: 8.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.3997, allocations: 168.8 kB / 0.5384 GB, free: 8.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3997, allocations: 0 / 0.5384 GB, free: 8.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004571/0.4002, allocations: 179.6 kB / 0.5386 GB, free: 8.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.4002, allocations: 13.84 kB / 0.5386 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4002, allocations: 1.5 kB / 0.5386 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.4003, allocations: 3.625 kB / 0.5386 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.4012, allocations: 118.4 kB / 0.5387 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.4025, allocations: 1.82 MB / 0.5405 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.4027, allocations: 29.98 kB / 0.5405 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.4027, allocations: 5.438 kB / 0.5405 GB, free: 6.25 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.0001362/0.4028, allocations: 137.8 kB / 0.5406 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.4029, allocations: 12.41 kB / 0.5407 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.4033, allocations: 190 kB / 0.5408 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4033, allocations: 1.156 kB / 0.5408 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.4033, allocations: 0 / 0.5408 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4034, allocations: 1.125 kB / 0.5408 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.4036, allocations: 232.6 kB / 0.5411 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4036, allocations: 4 kB / 0.5411 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006959/0.4043, allocations: 109.2 kB / 0.5412 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4044, allocations: 5.125 kB / 0.5412 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.4044, allocations: 5.172 kB / 0.5412 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00099/0.4054, allocations: 1.778 MB / 0.5429 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4054, allocations: 3.984 kB / 0.5429 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.4058, allocations: 248.6 kB / 0.5432 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.475e-05/0.4059, allocations: 90.11 kB / 0.5432 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.4059, allocations: 5.281 kB / 0.5432 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.406, allocations: 9.453 kB / 0.5433 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.4061, allocations: 7.984 kB / 0.5433 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.4061, allocations: 1.531 kB / 0.5433 GB, free: 3.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.4062, allocations: 139 kB / 0.5434 GB, free: 3.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4062, allocations: 0 / 0.5434 GB, free: 3.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003386/0.4066, allocations: 50.78 kB / 0.5434 GB, free: 3.473 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.0001997/0.4068, allocations: 110.8 kB / 0.5435 GB, free: 3.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.408, allocations: 228.6 kB / 0.5438 GB, free: 3.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.408, allocations: 0 / 0.5438 GB, free: 3.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006329/0.4086, allocations: 126.5 kB / 0.5439 GB, free: 3.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.409, allocations: 51.45 kB / 0.5439 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.4097, allocations: 357.5 kB / 0.5443 GB, free: 2.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.41, allocations: 0.735 MB / 0.545 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.4101, allocations: 15.62 kB / 0.545 GB, free: 2.227 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4101, allocations: 3.938 kB / 0.545 GB, free: 2.223 MB / 398.1 MB Notification: Performance of Templates: time 0.006996/0.4171, allocations: 4.445 MB / 0.5494 GB, free: 15.05 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches