Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.001013/0.001013, 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.203/1.203, allocations: 226.5 MB / 243.4 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007737/0.0007736, allocations: 91.59 kB / 295.5 MB, free: 6.859 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.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.000271, allocations: 11.98 kB / 465.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3075, allocations: 62.96 MB / 0.516 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.001569/0.3091, allocations: 1.494 MB / 0.5174 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.3101, allocations: 0.7489 MB / 0.5182 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.3102, allocations: 0 / 0.5182 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.3104, allocations: 39.44 kB / 0.5182 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.3106, allocations: 70.78 kB / 0.5183 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.3108, allocations: 52.16 kB / 0.5183 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.3109, allocations: 169 kB / 0.5185 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.311, allocations: 6.547 kB / 0.5185 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.3112, allocations: 59.89 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3113, allocations: 79.8 kB / 0.5186 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.3113, allocations: 2.812 kB / 0.5186 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.3114, allocations: 66.97 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.3115, allocations: 32.69 kB / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.199e-05/0.3116, allocations: 60.45 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.3117, allocations: 97.81 kB / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3117, allocations: 7.422 kB / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3117, allocations: 0 / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.3117, allocations: 0 / 0.5189 GB, free: 35.17 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004514/0.3122, allocations: 391.5 kB / 0.5193 GB, free: 34.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3122, allocations: 6.938 kB / 0.5193 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.3123, allocations: 41.31 kB / 0.5193 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.3126, allocations: 40.98 kB / 0.5193 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3127, allocations: 184.2 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3127, allocations: 14.23 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.3128, allocations: 13.81 kB / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.3131, allocations: 180.8 kB / 0.5197 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3131, allocations: 3.938 kB / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3131, allocations: 8 kB / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.3132, allocations: 12.17 kB / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.3135, allocations: 144.7 kB / 0.5199 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006772/0.3141, allocations: 0.649 MB / 0.5205 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.3144, allocations: 108.5 kB / 0.5206 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3146, allocations: 47.84 kB / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.3146, allocations: 3.984 kB / 0.5207 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.3146, allocations: 42.44 kB / 0.5207 GB, free: 33.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.3146, allocations: 2.906 kB / 0.5207 GB, free: 33.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004067/0.315, allocations: 146.4 kB / 0.5209 GB, free: 33.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.3151, allocations: 54.12 kB / 0.5209 GB, free: 33.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/0.3151, allocations: 129 kB / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.3152, allocations: 25.7 kB / 0.5211 GB, free: 33.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.3152, allocations: 124 kB / 0.5212 GB, free: 33.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.3152, allocations: 28.44 kB / 0.5212 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/0.3152, allocations: 4 kB / 0.5212 GB, free: 33.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.3153, allocations: 318.8 kB / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3154, allocations: 40.98 kB / 0.5215 GB, free: 32.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3155, allocations: 104.9 kB / 0.5216 GB, free: 32.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.3158, allocations: 150.7 kB / 0.5218 GB, free: 32.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3158, allocations: 6.875 kB / 0.5218 GB, free: 32.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002892/0.3161, allocations: 164 kB / 0.522 GB, free: 32.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3161, allocations: 12.16 kB / 0.522 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.3161, allocations: 0 / 0.522 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3162, allocations: 5.656 kB / 0.522 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.3163, allocations: 43.28 kB / 0.522 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3163, allocations: 6.734 kB / 0.522 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.967e-05/0.3164, allocations: 15.91 kB / 0.522 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.3164, allocations: 13.91 kB / 0.522 GB, free: 32.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.095e-05/0.3165, allocations: 134.2 kB / 0.5222 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.3165, allocations: 6.812 kB / 0.5222 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.3168, allocations: 137.3 kB / 0.5223 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3169, allocations: 0 / 0.5223 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3169, allocations: 0 / 0.5223 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3169, allocations: 3.094 kB / 0.5223 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.317, allocations: 206.5 kB / 0.5225 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.317, allocations: 0 / 0.5225 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.3172, allocations: 34.14 kB / 0.5225 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3172, allocations: 0 / 0.5225 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3172, allocations: 4 kB / 0.5225 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3172, allocations: 10.78 kB / 0.5226 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3172, allocations: 0 / 0.5226 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3175, allocations: 218.2 kB / 0.5228 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.62e-05/0.3175, allocations: 91.7 kB / 0.5229 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3175, allocations: 0 / 0.5229 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.3176, allocations: 13.28 kB / 0.5229 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.3177, allocations: 6.297 kB / 0.5229 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3177, allocations: 2.844 kB / 0.5229 GB, free: 31.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.574e-05/0.3177, allocations: 91.27 kB / 0.523 GB, free: 31.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3177, allocations: 0 / 0.523 GB, free: 31.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.318, allocations: 28.34 kB / 0.523 GB, free: 31.91 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004505/0.3184, allocations: 0.7597 MB / 0.5237 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.3187, allocations: 105.9 kB / 0.5238 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3187, allocations: 4 kB / 0.5238 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3188, allocations: 45.39 kB / 0.5239 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.3191, allocations: 10.59 kB / 0.5239 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.3201, allocations: 0.783 MB / 0.5247 GB, free: 30.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.3203, allocations: 0.7057 MB / 0.5253 GB, free: 29.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.3203, allocations: 32.22 kB / 0.5254 GB, free: 29.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3204, allocations: 0 / 0.5254 GB, free: 29.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.566/2.887, allocations: 1.617 MB / 0.527 GB, free: 29.78 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches