Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001654/0.001655, allocations: 172 kB / 8.148 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001263, allocations: 103.9 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2593/0.2593, allocations: 43.5 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.416e-06/8.526e-06, allocations: 0 / 417.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2741, allocations: 58.83 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.4412, allocations: 94.3 MB / 0.5575 GB, free: 4.766 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003845/0.4417, allocations: 103.9 kB / 0.5576 GB, free: 4.664 MB / 394.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6224:11-6227:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd: time 0.05746/0.4991, allocations: 10.94 MB / 0.5683 GB, free: 9.656 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.4992, allocations: 12 kB / 0.5683 GB, free: 9.645 MB / 410.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.00125/0.5005, allocations: 0.5683 MB / 0.5688 GB, free: 9.027 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.5005, allocations: 8.031 kB / 0.5688 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.5006, allocations: 31.62 kB / 0.5689 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.5011, allocations: 246.6 kB / 0.5691 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.5011, allocations: 12 kB / 0.5691 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/0.5012, allocations: 19.91 kB / 0.5691 GB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000987/0.5022, allocations: 409.2 kB / 0.5695 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009302/0.5031, allocations: 417.3 kB / 0.5699 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.5032, allocations: 0 / 0.5699 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/0.5032, allocations: 0 / 0.5699 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.387e-05/0.5033, allocations: 40.75 kB / 0.57 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.5064, allocations: 1.29 MB / 0.5712 GB, free: 6.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008279/0.5073, allocations: 265.2 kB / 0.5715 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.5075, allocations: 88.81 kB / 0.5716 GB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.253e-05/0.5076, allocations: 7.938 kB / 0.5716 GB, free: 6.062 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.5076, allocations: 34.56 kB / 0.5716 GB, free: 6.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.487e-06/0.5076, allocations: 0 / 0.5716 GB, free: 6.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006679/0.5083, allocations: 209.9 kB / 0.5718 GB, free: 5.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.5084, allocations: 55.31 kB / 0.5718 GB, free: 5.742 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.5085, allocations: 123.4 kB / 0.572 GB, free: 5.613 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.5086, allocations: 25.7 kB / 0.572 GB, free: 5.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.5088, allocations: 270.1 kB / 0.5722 GB, free: 5.312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.389e-05/0.5089, allocations: 82.77 kB / 0.5723 GB, free: 5.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.5089, allocations: 0 / 0.5723 GB, free: 5.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5091, allocations: 322.8 kB / 0.5726 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.5093, allocations: 71.95 kB / 0.5727 GB, free: 4.836 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.5096, allocations: 154.1 kB / 0.5728 GB, free: 4.648 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.5099, allocations: 108.1 kB / 0.573 GB, free: 4.543 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.5099, allocations: 3.906 kB / 0.573 GB, free: 4.539 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007117/0.5106, allocations: 269.2 kB / 0.5732 GB, free: 4.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5106, allocations: 7.438 kB / 0.5732 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5107, allocations: 4.281 kB / 0.5732 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5107, allocations: 12 kB / 0.5732 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.5118, allocations: 135.8 kB / 0.5734 GB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.5136, allocations: 2.387 MB / 0.5757 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.5139, allocations: 23.83 kB / 0.5757 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.514, allocations: 15.98 kB / 0.5757 GB, free: 1.598 MB / 410.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 () * 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.000118/0.5141, allocations: 42.42 kB / 0.5758 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.39e-05/0.5142, allocations: 15.81 kB / 0.5758 GB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.5156, allocations: 377.8 kB / 0.5761 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.5157, allocations: 0 / 0.5761 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5157, allocations: 4 kB / 0.5762 GB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.5157, allocations: 3.984 kB / 0.5762 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.5162, allocations: 278.2 kB / 0.5764 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5162, allocations: 0 / 0.5764 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.5173, allocations: 119.8 kB / 0.5765 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.934e-06/0.5173, allocations: 0 / 0.5765 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.5174, allocations: 4 kB / 0.5765 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.5191, allocations: 2.383 MB / 0.5789 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5191, allocations: 0 / 0.5789 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006746/0.5198, allocations: 339.2 kB / 0.5792 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.572e-05/0.5199, allocations: 92.86 kB / 0.5793 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.5199, allocations: 4 kB / 0.5793 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.5202, allocations: 12.08 kB / 0.5793 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.5203, allocations: 19.97 kB / 0.5793 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.5204, allocations: 11.98 kB / 0.5793 GB, free: 13.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.335e-05/0.5205, allocations: 92.12 kB / 0.5794 GB, free: 13.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008449/0.5213, allocations: 183.4 kB / 0.5796 GB, free: 13.48 MB / 426.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 () * 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.0006749/0.522, allocations: 258.9 kB / 0.5798 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.5231, allocations: 255.7 kB / 0.5801 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5232, allocations: 0.6875 kB / 0.5801 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007866/0.524, allocations: 175.8 kB / 0.5802 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.5242, allocations: 7.906 kB / 0.5803 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.5256, allocations: 418.6 kB / 0.5807 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006494/0.5262, allocations: 0.8409 MB / 0.5815 GB, free: 11.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5262, allocations: 0 / 0.5815 GB, free: 11.48 MB / 426.7 MB Notification: Performance of Templates: time 0.01815/0.5444, allocations: 8.651 MB / 0.5899 GB, free: 2.82 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches