Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 197.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 226.5 MB / 244.1 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000762/0.000762, allocations: 98.45 kB / 296.1 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2948/0.2948, allocations: 44.82 MB / 392.9 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000269/0.0002691, allocations: 8 kB / 465.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2689, allocations: 62.95 MB / 0.5165 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.3732, allocations: 93.1 MB / 0.6074 GB, free: 12.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.3735, allocations: 95.94 kB / 0.6075 GB, free: 12.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01625/0.3898, allocations: 6.109 MB / 0.6135 GB, free: 5.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3898, allocations: 0 / 0.6135 GB, free: 5.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.3898, allocations: 8 kB / 0.6135 GB, free: 5.922 MB / 426.7 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.000654/0.3905, allocations: 499.2 kB / 0.614 GB, free: 5.387 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3905, allocations: 12.03 kB / 0.614 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.3919, allocations: 200.3 kB / 0.6142 GB, free: 5.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.3923, allocations: 267.9 kB / 0.6144 GB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.3923, allocations: 28.92 kB / 0.6144 GB, free: 4.852 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.3924, allocations: 24.38 kB / 0.6145 GB, free: 4.828 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009777/0.3934, allocations: 489.1 kB / 0.6149 GB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.3934, allocations: 7.938 kB / 0.6149 GB, free: 4.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.3935, allocations: 8 kB / 0.6149 GB, free: 4.332 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.3935, allocations: 20.5 kB / 0.615 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.3947, allocations: 0.5915 MB / 0.6155 GB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.3969, allocations: 1.163 MB / 0.6167 GB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.3975, allocations: 174.3 kB / 0.6168 GB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.3979, allocations: 92.77 kB / 0.6169 GB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.3979, allocations: 8.125 kB / 0.6169 GB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3979, allocations: 38.5 kB / 0.617 GB, free: 2.148 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 3.727e-06/0.398, allocations: 0 / 0.617 GB, free: 2.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.001188/0.3992, allocations: 313.1 kB / 0.6173 GB, free: 1.836 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.3992, allocations: 51.41 kB / 0.6173 GB, free: 1.773 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.3995, allocations: 278.5 kB / 0.6176 GB, free: 1.488 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.3995, allocations: 29.7 kB / 0.6176 GB, free: 1.453 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/0.3996, allocations: 167.5 kB / 0.6178 GB, free: 1.285 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.3997, allocations: 27.64 kB / 0.6178 GB, free: 1.258 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.3997, allocations: 0 / 0.6178 GB, free: 1.258 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3999, allocations: 334.8 kB / 0.6181 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.4002, allocations: 91.91 kB / 0.6182 GB, free: 0.832 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.4006, allocations: 123.1 kB / 0.6183 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007229/0.4013, allocations: 231.1 kB / 0.6185 GB, free: 476 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4013, allocations: 0 / 0.6185 GB, free: 476 kB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008234/0.4022, allocations: 265.1 kB / 0.6188 GB, free: 204 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4022, allocations: 8 kB / 0.6188 GB, free: 196 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.4022, allocations: 3.938 kB / 0.6188 GB, free: 192 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4022, allocations: 4.094 kB / 0.6188 GB, free: 188 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005243/0.4075, allocations: 448.1 kB / 0.6192 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.4099, allocations: 1.941 MB / 0.6211 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.4103, allocations: 51.84 kB / 0.6212 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.4103, allocations: 4 kB / 0.6212 GB, free: 13.68 MB / 442.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.4105, allocations: 157.7 kB / 0.6213 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.4106, allocations: 23.7 kB / 0.6214 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.364e-05/0.4107, allocations: 25.7 kB / 0.6214 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4107, allocations: 0 / 0.6214 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4107, allocations: 0 / 0.6214 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4107, allocations: 4 kB / 0.6214 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.411, allocations: 293.4 kB / 0.6217 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4111, allocations: 0 / 0.6217 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004965/0.416, allocations: 431.4 kB / 0.6221 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.4161, allocations: 0 / 0.6221 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.4161, allocations: 12 kB / 0.6221 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/0.4184, allocations: 1.934 MB / 0.624 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4184, allocations: 0 / 0.624 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007925/0.4192, allocations: 339.5 kB / 0.6243 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.91e-05/0.4193, allocations: 100.8 kB / 0.6244 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.4193, allocations: 0 / 0.6244 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.4196, allocations: 27.91 kB / 0.6244 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.4197, allocations: 7.984 kB / 0.6244 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.4197, allocations: 7.984 kB / 0.6244 GB, free: 10.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001961/0.4199, allocations: 205.9 kB / 0.6246 GB, free: 9.988 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.42, allocations: 0 / 0.6246 GB, free: 9.988 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003743/0.4203, allocations: 75.78 kB / 0.6247 GB, free: 9.914 MB / 442.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002393/0.4206, allocations: 145 kB / 0.6249 GB, free: 9.762 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005221/0.4258, allocations: 0.5825 MB / 0.6254 GB, free: 9.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.4259, allocations: 4.188 kB / 0.6254 GB, free: 9.176 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004702/0.4306, allocations: 487.2 kB / 0.6259 GB, free: 8.699 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.4311, allocations: 33.55 kB / 0.6259 GB, free: 8.668 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.4322, allocations: 0.5551 MB / 0.6265 GB, free: 8.078 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.4325, allocations: 0.7755 MB / 0.6272 GB, free: 7.277 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.383e-05/0.4326, allocations: 19.44 kB / 0.6272 GB, free: 7.258 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/0.4326, allocations: 0 / 0.6272 GB, free: 7.258 MB / 442.7 MB Notification: Performance of Templates: time 0.009488/0.4421, allocations: 6.797 MB / 0.6339 GB, free: 488 kB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches