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_overall_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_overall_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_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_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.001677/0.001681, allocations: 171.3 kB / 8.147 MB, free: 2.223 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.748/1.748, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001242/0.001242, allocations: 98.31 kB / 261.8 MB, free: 13.64 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.3302/0.3302, allocations: 43.51 MB / 353.2 MB, free: 2.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.736e-06/9.127e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2787, allocations: 58.83 MB / 476.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1789/0.4577, allocations: 101.7 MB / 0.5647 GB, free: 13.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003936/0.4581, allocations: 95.94 kB / 0.5648 GB, free: 13.28 MB / 410.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6094:11-6097: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:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6108:11-6111:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd: time 0.09099/0.5491, allocations: 17.47 MB / 0.5818 GB, free: 11.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.5492, allocations: 4 kB / 0.5818 GB, free: 11.7 MB / 426.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.001601/0.5508, allocations: 0.6345 MB / 0.5825 GB, free: 11.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.5509, allocations: 8.031 kB / 0.5825 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.551, allocations: 31.62 kB / 0.5825 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.5515, allocations: 238.6 kB / 0.5827 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.5515, allocations: 11.91 kB / 0.5827 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.5516, allocations: 20 kB / 0.5828 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001012/0.5526, allocations: 417.2 kB / 0.5832 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009484/0.5536, allocations: 401.4 kB / 0.5835 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5536, allocations: 0 / 0.5835 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.5537, allocations: 0 / 0.5835 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.375e-05/0.5538, allocations: 44.69 kB / 0.5836 GB, free: 9.824 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/0.557, allocations: 1.29 MB / 0.5848 GB, free: 8.422 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008562/0.5579, allocations: 265.2 kB / 0.5851 GB, free: 8.156 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.5582, allocations: 84.81 kB / 0.5852 GB, free: 8.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.577e-05/0.5582, allocations: 12.38 kB / 0.5852 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.5583, allocations: 34.56 kB / 0.5852 GB, free: 8.016 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.707e-06/0.5583, allocations: 0 / 0.5852 GB, free: 8.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006921/0.559, allocations: 213.8 kB / 0.5854 GB, free: 7.801 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.5591, allocations: 55.41 kB / 0.5855 GB, free: 7.734 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.5592, allocations: 118.7 kB / 0.5856 GB, free: 7.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.5593, allocations: 25.7 kB / 0.5856 GB, free: 7.578 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.5595, allocations: 266.1 kB / 0.5859 GB, free: 7.312 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.266e-05/0.5596, allocations: 82.77 kB / 0.586 GB, free: 7.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.5596, allocations: 0 / 0.586 GB, free: 7.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5598, allocations: 326.7 kB / 0.5863 GB, free: 6.902 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.56, allocations: 75.95 kB / 0.5863 GB, free: 6.828 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.5603, allocations: 154.4 kB / 0.5865 GB, free: 6.641 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.5606, allocations: 104.1 kB / 0.5866 GB, free: 6.539 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5606, allocations: 4 kB / 0.5866 GB, free: 6.535 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007414/0.5614, allocations: 265.2 kB / 0.5868 GB, free: 6.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.5614, allocations: 7.281 kB / 0.5868 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.5614, allocations: 4 kB / 0.5868 GB, free: 6.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.5614, allocations: 4 kB / 0.5869 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.5626, allocations: 140.2 kB / 0.587 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.5644, allocations: 2.383 MB / 0.5893 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.5648, allocations: 27.89 kB / 0.5893 GB, free: 3.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.5648, allocations: 15.98 kB / 0.5894 GB, free: 3.602 MB / 426.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.0001277/0.565, allocations: 46.42 kB / 0.5894 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.5651, allocations: 19.75 kB / 0.5894 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.5665, allocations: 373.7 kB / 0.5898 GB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.5666, allocations: 4 kB / 0.5898 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5666, allocations: 3.938 kB / 0.5898 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.5666, allocations: 7.984 kB / 0.5898 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.5672, allocations: 277.9 kB / 0.5901 GB, free: 2.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5672, allocations: 0 / 0.5901 GB, free: 2.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.5682, allocations: 115.9 kB / 0.5902 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/0.5682, allocations: 0 / 0.5902 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.5683, allocations: 8 kB / 0.5902 GB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.5701, allocations: 2.383 MB / 0.5925 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.5701, allocations: 7.969 kB / 0.5925 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007027/0.5708, allocations: 331.2 kB / 0.5928 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.5709, allocations: 92.86 kB / 0.5929 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.571, allocations: 0 / 0.5929 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.5713, allocations: 11.98 kB / 0.5929 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.5714, allocations: 19.97 kB / 0.5929 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.5715, allocations: 15.98 kB / 0.593 GB, free: 15.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.673e-05/0.5716, allocations: 92.83 kB / 0.593 GB, free: 15.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001094/0.5727, allocations: 259.3 kB / 0.5933 GB, free: 15.4 MB / 442.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.001092/0.5738, allocations: 388.4 kB / 0.5937 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.575, allocations: 267.7 kB / 0.5939 GB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.575, allocations: 0 / 0.5939 GB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008003/0.5758, allocations: 163.8 kB / 0.5941 GB, free: 14.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.5761, allocations: 8.594 kB / 0.5941 GB, free: 14.58 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.5775, allocations: 414.7 kB / 0.5945 GB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006985/0.5782, allocations: 0.837 MB / 0.5953 GB, free: 13.28 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5782, allocations: 0 / 0.5953 GB, free: 13.28 MB / 442.7 MB Notification: Performance of Templates: time 0.02153/0.5997, allocations: 9.83 MB / 0.6049 GB, free: 3.438 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches