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.001041/0.001041, allocations: 200.1 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 226.6 MB / 243.1 MB, free: 12.53 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007192/0.0007192, allocations: 97.81 kB / 295.1 MB, free: 4.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1769/0.1769, allocations: 44.84 MB / 392 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002667, allocations: 4 kB / 464.8 MB, free: 68.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0858/0.08608, allocations: 62.96 MB / 0.5154 GB, free: 5.047 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.001408/0.08753, allocations: 1.49 MB / 0.5168 GB, free: 3.539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.08835, allocations: 0.7447 MB / 0.5175 GB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.0884, allocations: 0 / 0.5175 GB, free: 2.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.08856, allocations: 35.81 kB / 0.5176 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.08877, allocations: 71.64 kB / 0.5176 GB, free: 2.688 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.08889, allocations: 51.81 kB / 0.5177 GB, free: 2.637 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.08902, allocations: 163.4 kB / 0.5178 GB, free: 2.477 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.08907, allocations: 8 kB / 0.5179 GB, free: 2.469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.0892, allocations: 63.77 kB / 0.5179 GB, free: 2.406 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.397e-05/0.0893, allocations: 75.66 kB / 0.518 GB, free: 2.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.08932, allocations: 4 kB / 0.518 GB, free: 2.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.08944, allocations: 67.89 kB / 0.5181 GB, free: 2.262 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.08949, allocations: 27.89 kB / 0.5181 GB, free: 2.234 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.08952, allocations: 45.62 kB / 0.5181 GB, free: 2.184 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.08964, allocations: 92.03 kB / 0.5182 GB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.08965, allocations: 8 kB / 0.5182 GB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.08966, allocations: 0 / 0.5182 GB, free: 2.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.08967, allocations: 0 / 0.5182 GB, free: 2.086 MB / 346.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.0003813/0.09005, allocations: 387.1 kB / 0.5186 GB, free: 1.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.09009, allocations: 12.03 kB / 0.5186 GB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.09036, allocations: 35.78 kB / 0.5186 GB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.09049, allocations: 194.9 kB / 0.5188 GB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.09051, allocations: 4 kB / 0.5188 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.09053, allocations: 8 kB / 0.5188 GB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.09083, allocations: 183.3 kB / 0.519 GB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.09084, allocations: 0 / 0.519 GB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.09087, allocations: 11.98 kB / 0.519 GB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.09089, allocations: 15.98 kB / 0.519 GB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.09117, allocations: 143.7 kB / 0.5192 GB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.09178, allocations: 0.6484 MB / 0.5198 GB, free: 300 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.09206, allocations: 118.7 kB / 0.5199 GB, free: 172 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.09218, allocations: 48.83 kB / 0.52 GB, free: 120 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.0922, allocations: 3.938 kB / 0.52 GB, free: 116 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.02e-05/0.09222, allocations: 30.56 kB / 0.52 GB, free: 76 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.09222, allocations: 4 kB / 0.52 GB, free: 72 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004012/0.09263, allocations: 157.6 kB / 0.5202 GB, free: 15.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.09267, allocations: 51.41 kB / 0.5202 GB, free: 15.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.09278, allocations: 122.1 kB / 0.5203 GB, free: 15.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.0928, allocations: 29.7 kB / 0.5203 GB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.09286, allocations: 123.8 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.09289, allocations: 19.7 kB / 0.5205 GB, free: 15.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.0929, allocations: 4 kB / 0.5205 GB, free: 15.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.09299, allocations: 318.8 kB / 0.5208 GB, free: 15.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.09312, allocations: 43.95 kB / 0.5208 GB, free: 15.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.09327, allocations: 103.6 kB / 0.5209 GB, free: 15.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.0934, allocations: 60.25 kB / 0.521 GB, free: 14.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.09341, allocations: 3.953 kB / 0.521 GB, free: 14.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003092/0.09373, allocations: 165.5 kB / 0.5212 GB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.09375, allocations: 4 kB / 0.5212 GB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.09376, allocations: 4 kB / 0.5212 GB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.09377, allocations: 0 / 0.5212 GB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.09395, allocations: 47.91 kB / 0.5212 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.09397, allocations: 0 / 0.5212 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.09407, allocations: 28.08 kB / 0.5212 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.09409, allocations: 4 kB / 0.5212 GB, free: 14.72 MB / 362.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 8.312e-05/0.09418, allocations: 129.7 kB / 0.5214 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.09421, allocations: 15.86 kB / 0.5214 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.09453, allocations: 138 kB / 0.5215 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.09454, allocations: 0 / 0.5215 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.09455, allocations: 0 / 0.5215 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.09456, allocations: 4 kB / 0.5215 GB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.09475, allocations: 193.5 kB / 0.5217 GB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.09476, allocations: 0 / 0.5217 GB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.0949, allocations: 35.86 kB / 0.5217 GB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.09491, allocations: 8 kB / 0.5217 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.09492, allocations: 4 kB / 0.5217 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.09493, allocations: 4 kB / 0.5217 GB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.09494, allocations: 0 / 0.5217 GB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.09523, allocations: 223.4 kB / 0.522 GB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.09528, allocations: 85 kB / 0.522 GB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.09531, allocations: 11.89 kB / 0.522 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.09541, allocations: 4 kB / 0.5221 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.09545, allocations: 7.984 kB / 0.5221 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.09546, allocations: 4 kB / 0.5221 GB, free: 13.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.039e-05/0.09551, allocations: 99.27 kB / 0.5222 GB, free: 13.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09552, allocations: 0 / 0.5222 GB, free: 13.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.09575, allocations: 31.84 kB / 0.5222 GB, free: 13.64 MB / 362.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.0001301/0.09589, allocations: 107.2 kB / 0.5223 GB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.09618, allocations: 100.1 kB / 0.5224 GB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.09619, allocations: 0 / 0.5224 GB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.09631, allocations: 51.91 kB / 0.5224 GB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.09655, allocations: 11.98 kB / 0.5224 GB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.097, allocations: 319.2 kB / 0.5228 GB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.0973, allocations: 0.716 MB / 0.5235 GB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.09734, allocations: 15.44 kB / 0.5235 GB, free: 12.26 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.09735, allocations: 0 / 0.5235 GB, free: 12.26 MB / 362.7 MB Notification: Performance of Templates: time 0.002401/0.09975, allocations: 1.298 MB / 0.5247 GB, free: 10.97 MB / 362.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