Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_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.001104/0.001104, allocations: 197.2 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.296/1.296, allocations: 226.5 MB / 243.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007523/0.0007523, allocations: 98.19 kB / 295.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3197/0.3197, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002523/0.0002523, allocations: 8 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2866, allocations: 62.96 MB / 0.516 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.001532/0.2882, allocations: 1.512 MB / 0.5175 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.2898, allocations: 1.562 MB / 0.519 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.2899, allocations: 0 / 0.519 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.2901, allocations: 46.2 kB / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.2904, allocations: 75.72 kB / 0.5191 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.2909, allocations: 356.6 kB / 0.5194 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.2912, allocations: 268.3 kB / 0.5197 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.027e-05/0.2912, allocations: 35.05 kB / 0.5197 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.2914, allocations: 92.69 kB / 0.5198 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.2915, allocations: 123 kB / 0.5199 GB, free: 34.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.2916, allocations: 5.594 kB / 0.5199 GB, free: 34.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007332/0.2923, allocations: 0.6832 MB / 0.5206 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.2924, allocations: 70.19 kB / 0.5207 GB, free: 34.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.705e-05/0.2925, allocations: 129.6 kB / 0.5208 GB, free: 34.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.2929, allocations: 386.3 kB / 0.5212 GB, free: 34.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.2929, allocations: 0 / 0.5212 GB, free: 34.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2929, allocations: 0 / 0.5212 GB, free: 34.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.2929, allocations: 0 / 0.5212 GB, free: 34.23 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.0006921/0.2936, allocations: 0.5678 MB / 0.5217 GB, free: 33.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2936, allocations: 8.594 kB / 0.5217 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.111e-05/0.2937, allocations: 72.08 kB / 0.5218 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.2938, allocations: 35 kB / 0.5218 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.294, allocations: 247.2 kB / 0.5221 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.294, allocations: 23.73 kB / 0.5221 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.294, allocations: 24.28 kB / 0.5221 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/0.2947, allocations: 472.2 kB / 0.5226 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2947, allocations: 3.938 kB / 0.5226 GB, free: 33.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.2947, allocations: 14.83 kB / 0.5226 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.074e-05/0.2948, allocations: 53.19 kB / 0.5226 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006839/0.2955, allocations: 0.5509 MB / 0.5232 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.2969, allocations: 1.309 MB / 0.5244 GB, free: 32.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.2974, allocations: 282.2 kB / 0.5247 GB, free: 32.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.2975, allocations: 108.4 kB / 0.5248 GB, free: 32.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.2976, allocations: 6.969 kB / 0.5248 GB, free: 32.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.2976, allocations: 37.53 kB / 0.5249 GB, free: 32.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.2976, allocations: 0 / 0.5249 GB, free: 32.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007092/0.2983, allocations: 350.4 kB / 0.5252 GB, free: 31.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.2984, allocations: 56.75 kB / 0.5253 GB, free: 31.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.2985, allocations: 143 kB / 0.5254 GB, free: 31.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2985, allocations: 29.7 kB / 0.5254 GB, free: 31.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.2986, allocations: 182.2 kB / 0.5256 GB, free: 31.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.2986, allocations: 91.31 kB / 0.5257 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.2986, allocations: 10.38 kB / 0.5257 GB, free: 31.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.2987, allocations: 323.9 kB / 0.526 GB, free: 31.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.2989, allocations: 93.19 kB / 0.5261 GB, free: 31.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.2991, allocations: 180 kB / 0.5263 GB, free: 31.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.2995, allocations: 304.8 kB / 0.5265 GB, free: 30.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2995, allocations: 0 / 0.5265 GB, free: 30.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004852/0.3, allocations: 335.7 kB / 0.5269 GB, free: 30.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3, allocations: 5.469 kB / 0.5269 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3, allocations: 10.75 kB / 0.5269 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3, allocations: 5.469 kB / 0.5269 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.3005, allocations: 125.9 kB / 0.527 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008091/0.3013, allocations: 2.365 MB / 0.5293 GB, free: 28.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.3015, allocations: 40.52 kB / 0.5294 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.3015, allocations: 15.19 kB / 0.5294 GB, free: 28.3 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.0001961/0.3017, allocations: 178.1 kB / 0.5295 GB, free: 28.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.3018, allocations: 13.06 kB / 0.5296 GB, free: 28.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007988/0.3026, allocations: 365.3 kB / 0.5299 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3026, allocations: 2.719 kB / 0.5299 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3026, allocations: 4 kB / 0.5299 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3026, allocations: 3.938 kB / 0.5299 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.303, allocations: 343.4 kB / 0.5302 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.303, allocations: 0 / 0.5302 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.3033, allocations: 108.1 kB / 0.5303 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3034, allocations: 3 kB / 0.5303 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.3034, allocations: 10.47 kB / 0.5304 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000708/0.3041, allocations: 2.37 MB / 0.5327 GB, free: 25.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3041, allocations: 0 / 0.5327 GB, free: 25.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.3046, allocations: 379.3 kB / 0.533 GB, free: 25.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.3046, allocations: 102.2 kB / 0.5331 GB, free: 25.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.3047, allocations: 4 kB / 0.5331 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.3048, allocations: 16.52 kB / 0.5331 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.3049, allocations: 19.61 kB / 0.5332 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.3049, allocations: 8 kB / 0.5332 GB, free: 25.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.862e-05/0.305, allocations: 109.7 kB / 0.5333 GB, free: 24.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.305, allocations: 0 / 0.5333 GB, free: 24.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00056/0.3056, allocations: 170.8 kB / 0.5334 GB, free: 24.9 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.0009769/0.3065, allocations: 1.034 MB / 0.5345 GB, free: 24.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006523/0.3072, allocations: 308.3 kB / 0.5347 GB, free: 24.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3072, allocations: 3.031 kB / 0.5347 GB, free: 24.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.3076, allocations: 188 kB / 0.5349 GB, free: 24.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.3079, allocations: 12.02 kB / 0.5349 GB, free: 24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.3098, allocations: 1.516 MB / 0.5364 GB, free: 23.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.3101, allocations: 0.8014 MB / 0.5372 GB, free: 22.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3102, allocations: 95.67 kB / 0.5373 GB, free: 22.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.021e-06/0.3102, allocations: 0 / 0.5373 GB, free: 22.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.677/3.988, allocations: 9.487 MB / 0.5466 GB, free: 20.34 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches