Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001351, allocations: 121.6 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001366, allocations: 203.9 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 75.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4365, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002893/0.4395, allocations: 1.827 MB / 0.5328 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.4406, allocations: 0.6371 MB / 0.5334 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.4407, allocations: 1.375 kB / 0.5334 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.441, allocations: 53.42 kB / 0.5335 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.4412, allocations: 78.7 kB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.4416, allocations: 116.5 kB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.4419, allocations: 231.1 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.196e-05/0.4419, allocations: 28.64 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.4421, allocations: 90.61 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.4422, allocations: 103.2 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.4422, allocations: 11.56 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.4426, allocations: 222.2 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.4427, allocations: 52.55 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.4428, allocations: 94.33 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.4433, allocations: 333.4 kB / 0.5348 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4433, allocations: 0 / 0.5348 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4433, allocations: 0 / 0.5348 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.4433, allocations: 0 / 0.5348 GB, free: 10.81 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0006913/0.444, allocations: 0.5305 MB / 0.5353 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4441, allocations: 9.625 kB / 0.5353 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.4458, allocations: 196.7 kB / 0.5355 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.4461, allocations: 276.2 kB / 0.5358 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.4461, allocations: 17.98 kB / 0.5358 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.4462, allocations: 23.34 kB / 0.5358 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.4473, allocations: 0.5027 MB / 0.5363 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4473, allocations: 0 / 0.5363 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.4474, allocations: 11.22 kB / 0.5363 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-05/0.4474, allocations: 25.02 kB / 0.5363 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.4488, allocations: 0.5796 MB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.4513, allocations: 1.168 MB / 0.538 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/0.452, allocations: 172.7 kB / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004548/0.4525, allocations: 88.75 kB / 0.5383 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.4525, allocations: 4.141 kB / 0.5383 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.4525, allocations: 35.78 kB / 0.5383 GB, free: 8.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.836e-06/0.4526, allocations: 1.094 kB / 0.5383 GB, free: 8.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001293/0.4539, allocations: 302.5 kB / 0.5386 GB, free: 8.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.4539, allocations: 53.69 kB / 0.5387 GB, free: 7.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.4542, allocations: 277.9 kB / 0.5389 GB, free: 7.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.4542, allocations: 26.95 kB / 0.5389 GB, free: 7.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.4544, allocations: 169.9 kB / 0.5391 GB, free: 7.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.4544, allocations: 22.41 kB / 0.5391 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.816e-05/0.4545, allocations: 38.16 kB / 0.5392 GB, free: 7.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4546, allocations: 336.6 kB / 0.5395 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.455, allocations: 86.45 kB / 0.5396 GB, free: 7.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.4554, allocations: 113.4 kB / 0.5397 GB, free: 7.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.4561, allocations: 218.7 kB / 0.5399 GB, free: 6.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4562, allocations: 5.375 kB / 0.5399 GB, free: 6.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009515/0.4571, allocations: 265.5 kB / 0.5401 GB, free: 6.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.4572, allocations: 5.625 kB / 0.5402 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4572, allocations: 1.031 kB / 0.5402 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.4572, allocations: 1.219 kB / 0.5402 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005484/0.4627, allocations: 468.6 kB / 0.5406 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.4655, allocations: 1.94 MB / 0.5425 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/0.4659, allocations: 43.75 kB / 0.5425 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.466, allocations: 9.203 kB / 0.5425 GB, free: 4.734 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.0002587/0.4662, allocations: 159.7 kB / 0.5427 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.4663, allocations: 20.66 kB / 0.5427 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.989e-05/0.4664, allocations: 34.34 kB / 0.5428 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4664, allocations: 1.094 kB / 0.5428 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.4664, allocations: 0 / 0.5428 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4664, allocations: 1.094 kB / 0.5428 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.4669, allocations: 297.1 kB / 0.543 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.4669, allocations: 0 / 0.543 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005264/0.4722, allocations: 456.7 kB / 0.5435 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.4722, allocations: 3.984 kB / 0.5435 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.4722, allocations: 6.375 kB / 0.5435 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/0.4749, allocations: 1.948 MB / 0.5454 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4749, allocations: 0 / 0.5454 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009125/0.4759, allocations: 317.6 kB / 0.5457 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.874e-05/0.476, allocations: 97.47 kB / 0.5458 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.476, allocations: 1.125 kB / 0.5458 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.4764, allocations: 30.38 kB / 0.5458 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.4765, allocations: 19.25 kB / 0.5458 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.4766, allocations: 2.344 kB / 0.5458 GB, free: 1.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000252/0.4768, allocations: 214.7 kB / 0.546 GB, free: 1.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4768, allocations: 0 / 0.546 GB, free: 1.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004088/0.4772, allocations: 66.66 kB / 0.5461 GB, free: 1.68 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.0003312/0.4776, allocations: 110.6 kB / 0.5462 GB, free: 1.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005802/0.4834, allocations: 0.5903 MB / 0.5468 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4834, allocations: 0 / 0.5468 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005405/0.4888, allocations: 0.492 MB / 0.5473 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.4893, allocations: 44.62 kB / 0.5473 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.4905, allocations: 478.6 kB / 0.5478 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.4909, allocations: 0.7713 MB / 0.5485 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.491, allocations: 58.03 kB / 0.5486 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.4911, allocations: 27.36 kB / 0.5486 GB, free: 15.14 MB / 414.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4911, allocations: 0 / 0.5486 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Templates: time 0.009205/0.5003, allocations: 5.23 MB / 0.5537 GB, free: 9.984 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches