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.001011/0.001011, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007143/0.0007142, allocations: 95.92 kB / 295.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3022/0.3022, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002918, allocations: 8 kB / 465.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3228, allocations: 62.95 MB / 0.5159 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.001801/0.3246, allocations: 1.519 MB / 0.5174 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002974/0.3276, allocations: 2.68 MB / 0.52 GB, free: 34.1 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.3277, allocations: 0 / 0.52 GB, free: 34.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.3279, allocations: 34.28 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.3282, allocations: 69.28 kB / 0.5201 GB, free: 34.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.3295, allocations: 0.642 MB / 0.5207 GB, free: 33.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.3298, allocations: 265.3 kB / 0.521 GB, free: 33.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.302e-05/0.3299, allocations: 31.12 kB / 0.521 GB, free: 33.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.3301, allocations: 98.33 kB / 0.5211 GB, free: 33.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.3302, allocations: 119.7 kB / 0.5212 GB, free: 33.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.3302, allocations: 7.844 kB / 0.5212 GB, free: 33.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.3315, allocations: 1.164 MB / 0.5224 GB, free: 33.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.3316, allocations: 67.66 kB / 0.5224 GB, free: 33.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.072e-05/0.3317, allocations: 128.6 kB / 0.5226 GB, free: 33.1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.3323, allocations: 0.5557 MB / 0.5231 GB, free: 32.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3323, allocations: 0 / 0.5231 GB, free: 32.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3323, allocations: 3.938 kB / 0.5231 GB, free: 32.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.3323, allocations: 0 / 0.5231 GB, free: 32.93 MB / 378.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.0007572/0.3331, allocations: 0.6285 MB / 0.5237 GB, free: 32.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3331, allocations: 8.719 kB / 0.5237 GB, free: 32.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.3332, allocations: 34.47 kB / 0.5238 GB, free: 32.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3334, allocations: 242.2 kB / 0.524 GB, free: 32.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.3334, allocations: 23.3 kB / 0.524 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.3335, allocations: 20.81 kB / 0.524 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005812/0.3341, allocations: 474.8 kB / 0.5245 GB, free: 31.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3341, allocations: 0 / 0.5245 GB, free: 31.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.3341, allocations: 11.98 kB / 0.5245 GB, free: 31.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/0.3342, allocations: 53.92 kB / 0.5245 GB, free: 31.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/0.3349, allocations: 0.5529 MB / 0.5251 GB, free: 31.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.3364, allocations: 1.325 MB / 0.5264 GB, free: 30.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.3368, allocations: 271.5 kB / 0.5266 GB, free: 30.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.337, allocations: 107.9 kB / 0.5267 GB, free: 30.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.3371, allocations: 6.656 kB / 0.5267 GB, free: 30.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3371, allocations: 37.03 kB / 0.5268 GB, free: 30.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.3371, allocations: 0 / 0.5268 GB, free: 30.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007065/0.3378, allocations: 352.8 kB / 0.5271 GB, free: 30.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.3379, allocations: 53.84 kB / 0.5272 GB, free: 30.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.338, allocations: 145.4 kB / 0.5273 GB, free: 30.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.338, allocations: 29.7 kB / 0.5273 GB, free: 30.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/0.3381, allocations: 186 kB / 0.5275 GB, free: 30.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.3382, allocations: 88 kB / 0.5276 GB, free: 30.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/0.3382, allocations: 6.812 kB / 0.5276 GB, free: 30.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3383, allocations: 325.1 kB / 0.5279 GB, free: 29.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.3385, allocations: 93.95 kB / 0.528 GB, free: 29.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.3388, allocations: 180.3 kB / 0.5282 GB, free: 29.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.3393, allocations: 307.6 kB / 0.5285 GB, free: 29.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3393, allocations: 2.875 kB / 0.5285 GB, free: 29.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005926/0.3399, allocations: 335.9 kB / 0.5288 GB, free: 29.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.3399, allocations: 5.781 kB / 0.5288 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.3399, allocations: 2.5 kB / 0.5288 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.34, allocations: 5.562 kB / 0.5288 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.3405, allocations: 126 kB / 0.5289 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008148/0.3413, allocations: 2.364 MB / 0.5312 GB, free: 27.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.3415, allocations: 38.06 kB / 0.5313 GB, free: 27.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.3415, allocations: 19.19 kB / 0.5313 GB, free: 27.03 MB / 378.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.0001729/0.3417, allocations: 171.2 kB / 0.5314 GB, free: 26.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.3417, allocations: 13.78 kB / 0.5315 GB, free: 26.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/0.3424, allocations: 370.5 kB / 0.5318 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3424, allocations: 3.031 kB / 0.5318 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3424, allocations: 7.125 kB / 0.5318 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3424, allocations: 11.3 kB / 0.5318 GB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.3428, allocations: 338.7 kB / 0.5322 GB, free: 26.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3428, allocations: 0 / 0.5322 GB, free: 26.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.3431, allocations: 113.1 kB / 0.5323 GB, free: 26.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3432, allocations: 3.469 kB / 0.5323 GB, free: 26.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3432, allocations: 9.438 kB / 0.5323 GB, free: 26.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006527/0.3438, allocations: 2.365 MB / 0.5346 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3439, allocations: 3.328 kB / 0.5346 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.3443, allocations: 376.8 kB / 0.535 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.3444, allocations: 98.77 kB / 0.535 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.3444, allocations: 4 kB / 0.5351 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3445, allocations: 13.3 kB / 0.5351 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.3446, allocations: 22.34 kB / 0.5351 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3446, allocations: 12.36 kB / 0.5351 GB, free: 23.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.641e-05/0.3447, allocations: 105 kB / 0.5352 GB, free: 23.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3447, allocations: 0 / 0.5352 GB, free: 23.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006901/0.3454, allocations: 248.4 kB / 0.5354 GB, free: 23.6 MB / 378.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.0005777/0.346, allocations: 350.9 kB / 0.5358 GB, free: 23.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006559/0.3466, allocations: 313.9 kB / 0.5361 GB, free: 23.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3466, allocations: 0 / 0.5361 GB, free: 23.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.347, allocations: 185.9 kB / 0.5362 GB, free: 23.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.3473, allocations: 14.62 kB / 0.5363 GB, free: 23.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000883/0.3482, allocations: 0.7324 MB / 0.537 GB, free: 22.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.3484, allocations: 0.7964 MB / 0.5378 GB, free: 22.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/0.3485, allocations: 33.05 kB / 0.5378 GB, free: 22.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3485, allocations: 0 / 0.5378 GB, free: 22.14 MB / 378.7 MB Notification: Performance of Templates: time 0.01341/0.362, allocations: 9.971 MB / 0.5475 GB, free: 19.85 MB / 378.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