Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009457/0.0009458, allocations: 200.4 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 226.6 MB / 243.1 MB, free: 14.28 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007151/0.000715, allocations: 95.06 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1896/0.1896, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002352/0.0002352, allocations: 8 kB / 464.8 MB, free: 49.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.08674, allocations: 62.96 MB / 0.5154 GB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.001807/0.08858, allocations: 1.51 MB / 0.5168 GB, free: 1.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1675/0.2561, allocations: 2.661 MB / 0.5194 GB, free: 9.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.958e-05/0.2562, allocations: 0.625 kB / 0.5194 GB, free: 9.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.2564, allocations: 39.25 kB / 0.5195 GB, free: 9.789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.2566, allocations: 75.14 kB / 0.5195 GB, free: 9.773 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.2578, allocations: 0.6283 MB / 0.5202 GB, free: 9.664 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.258, allocations: 266.6 kB / 0.5204 GB, free: 9.598 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.2581, allocations: 28.08 kB / 0.5204 GB, free: 9.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.2582, allocations: 104.4 kB / 0.5205 GB, free: 9.559 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.2584, allocations: 123.8 kB / 0.5207 GB, free: 9.531 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.2584, allocations: 6.688 kB / 0.5207 GB, free: 9.531 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.2598, allocations: 1.156 MB / 0.5218 GB, free: 9.469 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.2599, allocations: 69.8 kB / 0.5219 GB, free: 9.453 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.26, allocations: 66.14 kB / 0.5219 GB, free: 9.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007047/0.2607, allocations: 0.5491 MB / 0.5225 GB, free: 9.336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2607, allocations: 1.875 kB / 0.5225 GB, free: 9.336 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.2607, allocations: 3.938 kB / 0.5225 GB, free: 9.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.2607, allocations: 0 / 0.5225 GB, free: 9.332 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007461/0.2615, allocations: 0.6316 MB / 0.5231 GB, free: 8.824 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.2615, allocations: 13.69 kB / 0.5231 GB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.2616, allocations: 33.05 kB / 0.5231 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.2618, allocations: 236.3 kB / 0.5233 GB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2618, allocations: 20.7 kB / 0.5234 GB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.2618, allocations: 30.27 kB / 0.5234 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.2625, allocations: 469.6 kB / 0.5238 GB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2625, allocations: 0.6562 kB / 0.5238 GB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.2626, allocations: 11.56 kB / 0.5239 GB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.88e-05/0.2626, allocations: 52.42 kB / 0.5239 GB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007859/0.2634, allocations: 0.553 MB / 0.5244 GB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.2649, allocations: 1.319 MB / 0.5257 GB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.2654, allocations: 271.7 kB / 0.526 GB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.2656, allocations: 110.5 kB / 0.5261 GB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.2657, allocations: 6.906 kB / 0.5261 GB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.2657, allocations: 40.42 kB / 0.5261 GB, free: 7.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.2657, allocations: 0 / 0.5261 GB, free: 7.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006736/0.2664, allocations: 351.8 kB / 0.5265 GB, free: 7.145 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.2664, allocations: 54.28 kB / 0.5265 GB, free: 7.082 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.2665, allocations: 142.1 kB / 0.5267 GB, free: 6.961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2665, allocations: 30.73 kB / 0.5267 GB, free: 6.926 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.2666, allocations: 191.4 kB / 0.5269 GB, free: 6.766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.2666, allocations: 86.78 kB / 0.527 GB, free: 6.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.2666, allocations: 10.53 kB / 0.527 GB, free: 6.691 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.014e-05/0.2667, allocations: 322.6 kB / 0.5273 GB, free: 6.375 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.2669, allocations: 90.28 kB / 0.5274 GB, free: 6.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.2671, allocations: 181.6 kB / 0.5275 GB, free: 6.234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.2673, allocations: 125.2 kB / 0.5277 GB, free: 6.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2673, allocations: 0 / 0.5277 GB, free: 6.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005287/0.2679, allocations: 334.8 kB / 0.528 GB, free: 6.078 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2679, allocations: 7.188 kB / 0.528 GB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2679, allocations: 2.281 kB / 0.528 GB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2679, allocations: 5.375 kB / 0.528 GB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.2684, allocations: 125 kB / 0.5281 GB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006144/0.269, allocations: 2.364 MB / 0.5304 GB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.2691, allocations: 39.08 kB / 0.5305 GB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.2692, allocations: 16.97 kB / 0.5305 GB, free: 3.664 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.2693, allocations: 173.4 kB / 0.5306 GB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.2694, allocations: 15.78 kB / 0.5307 GB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007047/0.2701, allocations: 378.9 kB / 0.531 GB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2701, allocations: 2.594 kB / 0.531 GB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2701, allocations: 1.531 kB / 0.531 GB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2701, allocations: 1.969 kB / 0.531 GB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.2704, allocations: 348.5 kB / 0.5313 GB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2704, allocations: 0 / 0.5313 GB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.2708, allocations: 109 kB / 0.5315 GB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.2708, allocations: 3.641 kB / 0.5315 GB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.2708, allocations: 12.47 kB / 0.5315 GB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005596/0.2714, allocations: 2.36 MB / 0.5338 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2714, allocations: 0 / 0.5338 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.2719, allocations: 383.7 kB / 0.5341 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.2719, allocations: 94.75 kB / 0.5342 GB, free: 436 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.2719, allocations: 13.67 kB / 0.5342 GB, free: 428 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.2721, allocations: 18.06 kB / 0.5343 GB, free: 420 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.2721, allocations: 23.55 kB / 0.5343 GB, free: 416 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.2722, allocations: 7.406 kB / 0.5343 GB, free: 416 kB / 346.7 MB Notification: Performance of sorting global known variables: time 4.19e-05/0.2722, allocations: 105.7 kB / 0.5344 GB, free: 332 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2722, allocations: 4 kB / 0.5344 GB, free: 328 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006243/0.2729, allocations: 243.6 kB / 0.5346 GB, free: 240 kB / 346.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005774/0.2734, allocations: 354.9 kB / 0.535 GB, free: 64 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006815/0.2741, allocations: 305.2 kB / 0.5353 GB, free: 0 / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2741, allocations: 1.719 kB / 0.5353 GB, free: 0 / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.2746, allocations: 186.3 kB / 0.5354 GB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.2749, allocations: 14.11 kB / 0.5354 GB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009278/0.2758, allocations: 0.7352 MB / 0.5362 GB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.2762, allocations: 0.8012 MB / 0.5369 GB, free: 14.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.2762, allocations: 28.59 kB / 0.537 GB, free: 14.81 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2763, allocations: 0 / 0.537 GB, free: 14.81 MB / 362.7 MB Notification: Performance of Templates: time 0.01193/0.2882, allocations: 9.987 MB / 0.5467 GB, free: 10.67 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches