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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.001541, allocations: 199 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.231/1.231, allocations: 226.5 MB / 243.4 MB, free: 6.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007634/0.0007634, allocations: 104.5 kB / 295.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3235/0.3235, allocations: 44.81 MB / 392.3 MB, free: 35.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.000309, allocations: 8.219 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2798, allocations: 62.96 MB / 0.516 GB, free: 37.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.001604/0.2814, allocations: 1.517 MB / 0.5175 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.2843, allocations: 2.68 MB / 0.5201 GB, free: 34.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.2844, allocations: 2.844 kB / 0.5201 GB, free: 34.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.2846, allocations: 30.2 kB / 0.5201 GB, free: 34.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.2849, allocations: 80.3 kB / 0.5202 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.2861, allocations: 0.6331 MB / 0.5208 GB, free: 34.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.2863, allocations: 266.2 kB / 0.5211 GB, free: 33.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/0.2864, allocations: 34.19 kB / 0.5211 GB, free: 33.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.2866, allocations: 92 kB / 0.5212 GB, free: 33.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.2867, allocations: 120.9 kB / 0.5213 GB, free: 33.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.2867, allocations: 8.781 kB / 0.5213 GB, free: 33.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.288, allocations: 1.17 MB / 0.5224 GB, free: 33.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.2881, allocations: 62.02 kB / 0.5225 GB, free: 33.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.995e-05/0.2882, allocations: 139.8 kB / 0.5226 GB, free: 33.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.2888, allocations: 0.5474 MB / 0.5232 GB, free: 33.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2888, allocations: 0 / 0.5232 GB, free: 33.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2888, allocations: 0 / 0.5232 GB, free: 33.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2888, allocations: 0 / 0.5232 GB, free: 33.18 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.0007868/0.2896, allocations: 0.6285 MB / 0.5238 GB, free: 32.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2896, allocations: 11.81 kB / 0.5238 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.567e-05/0.2897, allocations: 78.75 kB / 0.5239 GB, free: 32.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.2898, allocations: 28.41 kB / 0.5239 GB, free: 32.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.29, allocations: 243.1 kB / 0.5241 GB, free: 32.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.29, allocations: 17.75 kB / 0.5241 GB, free: 32.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.29, allocations: 28.52 kB / 0.5242 GB, free: 32.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/0.2907, allocations: 475.5 kB / 0.5246 GB, free: 32.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2907, allocations: 0 / 0.5246 GB, free: 32.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.2907, allocations: 10.84 kB / 0.5246 GB, free: 32.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/0.2908, allocations: 46.58 kB / 0.5247 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007057/0.2915, allocations: 0.558 MB / 0.5252 GB, free: 32.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.293, allocations: 1.321 MB / 0.5265 GB, free: 31.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.2935, allocations: 268.1 kB / 0.5268 GB, free: 31.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.2937, allocations: 108.1 kB / 0.5269 GB, free: 30.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.2937, allocations: 17.59 kB / 0.5269 GB, free: 30.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.2937, allocations: 38.5 kB / 0.5269 GB, free: 30.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.233e-06/0.2937, allocations: 0 / 0.5269 GB, free: 30.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006365/0.2944, allocations: 349.3 kB / 0.5273 GB, free: 30.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.2944, allocations: 54.28 kB / 0.5273 GB, free: 30.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.2945, allocations: 145.8 kB / 0.5275 GB, free: 30.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.2945, allocations: 29.7 kB / 0.5275 GB, free: 30.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.2946, allocations: 194.2 kB / 0.5277 GB, free: 30.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.2946, allocations: 84.38 kB / 0.5277 GB, free: 30.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.2947, allocations: 4 kB / 0.5278 GB, free: 30.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.2947, allocations: 326.8 kB / 0.5281 GB, free: 30.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.2949, allocations: 92.5 kB / 0.5282 GB, free: 30.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.2951, allocations: 178.2 kB / 0.5283 GB, free: 29.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.2955, allocations: 308.7 kB / 0.5286 GB, free: 29.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2955, allocations: 0 / 0.5286 GB, free: 29.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004715/0.296, allocations: 329.5 kB / 0.5289 GB, free: 29.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.296, allocations: 8.562 kB / 0.5289 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.296, allocations: 3.312 kB / 0.5289 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.296, allocations: 6.75 kB / 0.5289 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.2964, allocations: 124.2 kB / 0.5291 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006488/0.2971, allocations: 2.365 MB / 0.5314 GB, free: 27.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.2973, allocations: 41.5 kB / 0.5314 GB, free: 27.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.2973, allocations: 15.62 kB / 0.5314 GB, free: 27.21 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.000147/0.2975, allocations: 178.4 kB / 0.5316 GB, free: 27.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.2975, allocations: 9.281 kB / 0.5316 GB, free: 27.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006669/0.2982, allocations: 381.2 kB / 0.532 GB, free: 26.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.2982, allocations: 7 kB / 0.532 GB, free: 26.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2982, allocations: 0 / 0.532 GB, free: 26.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2982, allocations: 3.938 kB / 0.532 GB, free: 26.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.2985, allocations: 339.6 kB / 0.5323 GB, free: 26.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2985, allocations: 3.328 kB / 0.5323 GB, free: 26.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.2989, allocations: 107.6 kB / 0.5324 GB, free: 26.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2989, allocations: 2.938 kB / 0.5324 GB, free: 26.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.2989, allocations: 14.34 kB / 0.5324 GB, free: 26.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006262/0.2996, allocations: 2.365 MB / 0.5347 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2996, allocations: 0 / 0.5347 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.3, allocations: 384.7 kB / 0.5351 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.3001, allocations: 94.8 kB / 0.5352 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.3001, allocations: 10.34 kB / 0.5352 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3002, allocations: 9.844 kB / 0.5352 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.3003, allocations: 25.22 kB / 0.5352 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3003, allocations: 12.38 kB / 0.5353 GB, free: 23.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.323e-05/0.3004, allocations: 103.7 kB / 0.5354 GB, free: 23.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3004, allocations: 0 / 0.5354 GB, free: 23.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006571/0.301, allocations: 240.9 kB / 0.5356 GB, free: 23.78 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.001093/0.3021, allocations: 1.158 MB / 0.5367 GB, free: 22.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006325/0.3028, allocations: 300.5 kB / 0.537 GB, free: 22.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3028, allocations: 2.219 kB / 0.537 GB, free: 22.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.3032, allocations: 194.7 kB / 0.5372 GB, free: 22.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.3035, allocations: 16.31 kB / 0.5372 GB, free: 22.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.3053, allocations: 1.548 MB / 0.5387 GB, free: 21.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.3056, allocations: 0.8021 MB / 0.5395 GB, free: 21.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.3057, allocations: 92.33 kB / 0.5396 GB, free: 21.16 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3057, allocations: 0 / 0.5396 GB, free: 21.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.728/4.034, allocations: 10.61 MB / 0.5499 GB, free: 18.28 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > 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/jenkins1/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