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.001349/0.001349, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.11 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.389, allocations: 62.45 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003099/0.3922, allocations: 1.823 MB / 0.5335 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3934, allocations: 0.6416 MB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.132e-05/0.3935, allocations: 1.156 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.3938, allocations: 50.2 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.394, allocations: 85.3 kB / 0.5342 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.3945, allocations: 117.6 kB / 0.5343 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.3947, allocations: 230.8 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.3948, allocations: 25.66 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.3949, allocations: 89.23 kB / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.3951, allocations: 105 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.3951, allocations: 5.5 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003645/0.3955, allocations: 222.7 kB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.254e-05/0.3956, allocations: 52.2 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.993e-05/0.3957, allocations: 95.11 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.3962, allocations: 336.5 kB / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3962, allocations: 1.156 kB / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3962, allocations: 0 / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.3962, allocations: 0 / 0.5354 GB, free: 10.84 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.0007426/0.3969, allocations: 0.5264 MB / 0.536 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.397, allocations: 9.719 kB / 0.536 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.3988, allocations: 200.3 kB / 0.5362 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.3992, allocations: 276.1 kB / 0.5364 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.3992, allocations: 22.02 kB / 0.5364 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.3993, allocations: 23.05 kB / 0.5365 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/0.4003, allocations: 0.5038 MB / 0.537 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4003, allocations: 0 / 0.537 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.4004, allocations: 10.44 kB / 0.537 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.4004, allocations: 24.52 kB / 0.537 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.4016, allocations: 0.5844 MB / 0.5376 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.4039, allocations: 1.164 MB / 0.5387 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/0.4046, allocations: 169.5 kB / 0.5389 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.4049, allocations: 92.38 kB / 0.5389 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.405, allocations: 4.141 kB / 0.539 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.405, allocations: 32.16 kB / 0.539 GB, free: 8.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.405, allocations: 3.938 kB / 0.539 GB, free: 8.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.00117/0.4062, allocations: 295.2 kB / 0.5393 GB, free: 8.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.4062, allocations: 57.03 kB / 0.5393 GB, free: 7.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.4065, allocations: 282.8 kB / 0.5396 GB, free: 7.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.4066, allocations: 29.7 kB / 0.5396 GB, free: 7.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.4067, allocations: 169.4 kB / 0.5398 GB, free: 7.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.4067, allocations: 24.19 kB / 0.5398 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.4068, allocations: 37.12 kB / 0.5398 GB, free: 7.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.407, allocations: 332.8 kB / 0.5402 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.4073, allocations: 90.59 kB / 0.5402 GB, free: 7.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.4077, allocations: 113.7 kB / 0.5404 GB, free: 7.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006766/0.4084, allocations: 215.3 kB / 0.5406 GB, free: 7.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.4084, allocations: 3.938 kB / 0.5406 GB, free: 7 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008328/0.4092, allocations: 270.4 kB / 0.5408 GB, free: 6.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4093, allocations: 5.688 kB / 0.5408 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4093, allocations: 1.062 kB / 0.5408 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4093, allocations: 1.188 kB / 0.5408 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005934/0.4152, allocations: 465.3 kB / 0.5413 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/0.418, allocations: 1.943 MB / 0.5432 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.4185, allocations: 40.06 kB / 0.5432 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.4185, allocations: 8.359 kB / 0.5432 GB, free: 4.754 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.0001903/0.4187, allocations: 163.6 kB / 0.5434 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.4188, allocations: 21.31 kB / 0.5434 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.4188, allocations: 26.7 kB / 0.5434 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4188, allocations: 4.969 kB / 0.5434 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.4189, allocations: 0 / 0.5434 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4189, allocations: 0.9688 kB / 0.5434 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.4193, allocations: 296.9 kB / 0.5437 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4193, allocations: 1.156 kB / 0.5437 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005715/0.425, allocations: 447.5 kB / 0.5441 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.425, allocations: 5.469 kB / 0.5441 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.4251, allocations: 9.578 kB / 0.5441 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.4278, allocations: 1.947 MB / 0.546 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.4278, allocations: 5.328 kB / 0.5461 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008294/0.4286, allocations: 321.5 kB / 0.5464 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.4288, allocations: 97.5 kB / 0.5465 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.4288, allocations: 8.812 kB / 0.5465 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.4292, allocations: 18 kB / 0.5465 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.4292, allocations: 7.203 kB / 0.5465 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.4293, allocations: 10.3 kB / 0.5465 GB, free: 1.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002263/0.4295, allocations: 213.9 kB / 0.5467 GB, free: 1.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4295, allocations: 1.031 kB / 0.5467 GB, free: 1.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003989/0.4299, allocations: 66.19 kB / 0.5468 GB, free: 1.703 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.0002368/0.4302, allocations: 104.2 kB / 0.5469 GB, free: 1.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006046/0.4362, allocations: 0.599 MB / 0.5474 GB, free: 1.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4363, allocations: 0 / 0.5474 GB, free: 1.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005457/0.4417, allocations: 0.4955 MB / 0.5479 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.4422, allocations: 44.55 kB / 0.548 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.4434, allocations: 499.2 kB / 0.5485 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.4438, allocations: 0.7715 MB / 0.5492 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.253e-05/0.4439, allocations: 35.3 kB / 0.5492 GB, free: 15.2 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4439, allocations: 3.938 kB / 0.5492 GB, free: 15.19 MB / 414.1 MB Notification: Performance of Templates: time 0.009204/0.4531, allocations: 6.639 MB / 0.5557 GB, free: 8.57 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/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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches