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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001565/0.001565, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.5 MB / 243.4 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008045/0.0008048, allocations: 101.2 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.2982/0.2982, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002739, allocations: 8 kB / 465.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3057, allocations: 62.95 MB / 0.5159 GB, free: 37.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.001629/0.3074, allocations: 1.495 MB / 0.5174 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3085, allocations: 0.7451 MB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.3086, allocations: 10.78 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.3088, allocations: 31.56 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.309, allocations: 69.91 kB / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.3092, allocations: 61.89 kB / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.3093, allocations: 158.2 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.173e-05/0.3094, allocations: 6.672 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.3096, allocations: 70.5 kB / 0.5185 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3097, allocations: 73.27 kB / 0.5185 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3097, allocations: 5.938 kB / 0.5185 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.3099, allocations: 66.53 kB / 0.5186 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.3099, allocations: 27.56 kB / 0.5186 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.31, allocations: 74.11 kB / 0.5187 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.3101, allocations: 90.56 kB / 0.5188 GB, free: 35.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3101, allocations: 0 / 0.5188 GB, free: 35.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3102, allocations: 0 / 0.5188 GB, free: 35.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3102, allocations: 0 / 0.5188 GB, free: 35.38 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.000445/0.3106, allocations: 395.2 kB / 0.5192 GB, free: 34.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3107, allocations: 8.656 kB / 0.5192 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.3109, allocations: 31.39 kB / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3111, allocations: 198.4 kB / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3111, allocations: 3.219 kB / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.3111, allocations: 16.91 kB / 0.5194 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.3114, allocations: 181.7 kB / 0.5196 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3115, allocations: 0 / 0.5196 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3115, allocations: 7.984 kB / 0.5196 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.3115, allocations: 16.16 kB / 0.5196 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.3118, allocations: 150.5 kB / 0.5198 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.3125, allocations: 0.6403 MB / 0.5204 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.3128, allocations: 114.1 kB / 0.5205 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.3129, allocations: 43.91 kB / 0.5205 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.3129, allocations: 2.688 kB / 0.5205 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.18e-05/0.3129, allocations: 34.56 kB / 0.5206 GB, free: 33.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3129, allocations: 0 / 0.5206 GB, free: 33.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000378/0.3133, allocations: 155.1 kB / 0.5207 GB, free: 33.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.3133, allocations: 59.34 kB / 0.5208 GB, free: 33.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.3134, allocations: 133.4 kB / 0.5209 GB, free: 33.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.3134, allocations: 25.7 kB / 0.5209 GB, free: 33.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.3135, allocations: 123 kB / 0.521 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.3135, allocations: 25.09 kB / 0.5211 GB, free: 33.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.3135, allocations: 0 / 0.5211 GB, free: 33.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.3136, allocations: 321.2 kB / 0.5214 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.3137, allocations: 45.38 kB / 0.5214 GB, free: 33.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.3138, allocations: 101.5 kB / 0.5215 GB, free: 33.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.314, allocations: 160 kB / 0.5217 GB, free: 33.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.314, allocations: 2.906 kB / 0.5217 GB, free: 33.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002782/0.3143, allocations: 164.7 kB / 0.5218 GB, free: 32.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3144, allocations: 7.938 kB / 0.5218 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.3144, allocations: 5.688 kB / 0.5218 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3144, allocations: 2.406 kB / 0.5218 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3145, allocations: 45.2 kB / 0.5219 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3146, allocations: 6.656 kB / 0.5219 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.3147, allocations: 19.69 kB / 0.5219 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3147, allocations: 5.188 kB / 0.5219 GB, free: 32.93 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 6.861e-05/0.3147, allocations: 128.1 kB / 0.522 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.3148, allocations: 6.75 kB / 0.522 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.3151, allocations: 137 kB / 0.5222 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.3151, allocations: 2.625 kB / 0.5222 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3151, allocations: 3.328 kB / 0.5222 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3151, allocations: 0 / 0.5222 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.3152, allocations: 206.3 kB / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3153, allocations: 4 kB / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.3154, allocations: 30.05 kB / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3154, allocations: 2.906 kB / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3154, allocations: 0 / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3154, allocations: 0 / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3154, allocations: 0 / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.3157, allocations: 229.1 kB / 0.5226 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.3157, allocations: 84.34 kB / 0.5227 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3157, allocations: 6.906 kB / 0.5227 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.3158, allocations: 9.969 kB / 0.5227 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.3159, allocations: 14.23 kB / 0.5227 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3159, allocations: 2.781 kB / 0.5227 GB, free: 32.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.3159, allocations: 95.03 kB / 0.5228 GB, free: 32.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3159, allocations: 0 / 0.5228 GB, free: 32.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.3161, allocations: 31.91 kB / 0.5229 GB, free: 32.15 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 9.737e-05/0.3163, allocations: 98.03 kB / 0.523 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.3165, allocations: 111.5 kB / 0.5231 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3165, allocations: 0 / 0.5231 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.3166, allocations: 44.28 kB / 0.5231 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.3169, allocations: 19.89 kB / 0.5231 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.3173, allocations: 333.1 kB / 0.5234 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.3174, allocations: 0.7066 MB / 0.5241 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.3175, allocations: 16.09 kB / 0.5241 GB, free: 31.08 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3175, allocations: 0 / 0.5241 GB, free: 31.08 MB / 378.7 MB Notification: Performance of Templates: time 0.002234/0.3197, allocations: 1.289 MB / 0.5254 GB, free: 30.99 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (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 & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW --alarm=480 -emit_protected > 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/jenkins/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