Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_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.001219/0.001219, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 113 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3609/0.3609, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001185, allocations: 59.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.31, allocations: 62.01 MB / 0.5152 GB, free: 37.69 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002611/0.3127, allocations: 1.867 MB / 0.517 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3138, allocations: 0.8356 MB / 0.5178 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.3139, allocations: 0 / 0.5178 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.3141, allocations: 30.45 kB / 0.5178 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.3143, allocations: 74.16 kB / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.3145, allocations: 53.45 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.3147, allocations: 206.5 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.3147, allocations: 12.69 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.3149, allocations: 66.97 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.315, allocations: 79.09 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.315, allocations: 9.578 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.3152, allocations: 65.61 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.3152, allocations: 32.7 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.3153, allocations: 36.66 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.3155, allocations: 144.2 kB / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3155, allocations: 0 / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3155, allocations: 0 / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3155, allocations: 0 / 0.5186 GB, free: 35.52 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.0004574/0.316, allocations: 402 kB / 0.519 GB, free: 35.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.316, allocations: 12.5 kB / 0.519 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003097/0.3163, allocations: 40.03 kB / 0.519 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.3165, allocations: 185.3 kB / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3165, allocations: 14.23 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.3165, allocations: 14.53 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.3168, allocations: 181.5 kB / 0.5194 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3169, allocations: 2.906 kB / 0.5194 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3169, allocations: 7.938 kB / 0.5194 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.3169, allocations: 11.34 kB / 0.5194 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.3172, allocations: 134.3 kB / 0.5196 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006989/0.3179, allocations: 0.6416 MB / 0.5202 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.3182, allocations: 110.8 kB / 0.5203 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.3183, allocations: 36.95 kB / 0.5203 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3183, allocations: 2.906 kB / 0.5203 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.3184, allocations: 38.56 kB / 0.5204 GB, free: 34.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.3184, allocations: 0 / 0.5204 GB, free: 34.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004282/0.3188, allocations: 137.8 kB / 0.5205 GB, free: 34.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.3188, allocations: 51.41 kB / 0.5205 GB, free: 33.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.081e-05/0.3189, allocations: 125.7 kB / 0.5207 GB, free: 33.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.3189, allocations: 29.7 kB / 0.5207 GB, free: 33.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.319, allocations: 125.2 kB / 0.5208 GB, free: 33.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.319, allocations: 24.72 kB / 0.5208 GB, free: 33.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.3191, allocations: 29.73 kB / 0.5209 GB, free: 33.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.3191, allocations: 317.2 kB / 0.5212 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.3192, allocations: 39.36 kB / 0.5212 GB, free: 33.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3194, allocations: 98.36 kB / 0.5213 GB, free: 33.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.3196, allocations: 148.4 kB / 0.5214 GB, free: 33.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3196, allocations: 3.938 kB / 0.5214 GB, free: 33.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002835/0.3199, allocations: 161.5 kB / 0.5216 GB, free: 33.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3199, allocations: 5.906 kB / 0.5216 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3199, allocations: 3 kB / 0.5216 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.32, allocations: 2.969 kB / 0.5216 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3201, allocations: 40.66 kB / 0.5216 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.3201, allocations: 3.031 kB / 0.5216 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.28e-05/0.3202, allocations: 20.88 kB / 0.5217 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3203, allocations: 9.781 kB / 0.5217 GB, free: 33.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.086e-05/0.3203, allocations: 125.9 kB / 0.5218 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.3204, allocations: 10.62 kB / 0.5218 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.3207, allocations: 129 kB / 0.5219 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3207, allocations: 6.594 kB / 0.5219 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3207, allocations: 3.984 kB / 0.5219 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3207, allocations: 7.938 kB / 0.5219 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.3209, allocations: 199.2 kB / 0.5221 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3209, allocations: 0 / 0.5221 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.3211, allocations: 28 kB / 0.5222 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3211, allocations: 0 / 0.5222 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3211, allocations: 0 / 0.5222 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3211, allocations: 4 kB / 0.5222 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3211, allocations: 2.781 kB / 0.5222 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/0.3216, allocations: 0.8094 MB / 0.523 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.3217, allocations: 79.86 kB / 0.523 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3217, allocations: 0 / 0.523 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.3218, allocations: 9.344 kB / 0.523 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.3218, allocations: 15.06 kB / 0.5231 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3218, allocations: 3.422 kB / 0.5231 GB, free: 31.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.439e-05/0.3219, allocations: 93.41 kB / 0.5232 GB, free: 31.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3219, allocations: 0 / 0.5232 GB, free: 31.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000346/0.3222, allocations: 27.16 kB / 0.5232 GB, free: 31.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001192/0.3224, allocations: 100.2 kB / 0.5233 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.3226, allocations: 109.5 kB / 0.5234 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3226, allocations: 0 / 0.5234 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.3227, allocations: 44.31 kB / 0.5234 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.323, allocations: 7.984 kB / 0.5234 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.3235, allocations: 414.2 kB / 0.5238 GB, free: 31.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.3237, allocations: 0.7154 MB / 0.5245 GB, free: 30.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.577e-05/0.3238, allocations: 24.08 kB / 0.5245 GB, free: 30.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.3238, allocations: 13.12 kB / 0.5246 GB, free: 30.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3238, allocations: 4 kB / 0.5246 GB, free: 30.51 MB / 378.7 MB Notification: Performance of Templates: time 0.00278/0.3266, allocations: 0.8544 MB / 0.5254 GB, free: 30.44 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches