Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009375/0.0009376, allocations: 182.9 kB / 8.516 MB, free: 1.777 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 221.4 MB / 230.3 MB, free: 7.719 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009109/0.0009106, allocations: 84.72 kB / 281.2 MB, free: 5.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1873/0.1873, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.205e-06/8.235e-06, allocations: 224 / 444.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1441, allocations: 61.91 MB / 0.4941 GB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3788/0.5229, allocations: 102.9 MB / 0.5946 GB, free: 9.926 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.5233, allocations: 99.92 kB / 0.5947 GB, free: 9.828 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6002:11-6008:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6010:11-6013:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6016:11-6022:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6024:11-6027:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd: time 0.05436/0.5777, allocations: 17.84 MB / 0.6121 GB, free: 7.891 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.5777, allocations: 4 kB / 0.6121 GB, free: 7.887 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.001109/0.5788, allocations: 0.6423 MB / 0.6127 GB, free: 7.195 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.5789, allocations: 11.97 kB / 0.6127 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/0.579, allocations: 27.62 kB / 0.6128 GB, free: 7.156 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.5793, allocations: 238.6 kB / 0.613 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.5793, allocations: 8 kB / 0.613 GB, free: 6.875 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.5793, allocations: 19.91 kB / 0.613 GB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000558/0.5799, allocations: 413.2 kB / 0.6134 GB, free: 6.449 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/0.5805, allocations: 405.4 kB / 0.6138 GB, free: 6.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5805, allocations: 4 kB / 0.6138 GB, free: 6.051 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.5805, allocations: 0 / 0.6138 GB, free: 6.051 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/0.5806, allocations: 44.75 kB / 0.6138 GB, free: 6.008 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.5824, allocations: 1.278 MB / 0.6151 GB, free: 4.617 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.5829, allocations: 262.5 kB / 0.6153 GB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.583, allocations: 84.75 kB / 0.6154 GB, free: 4.266 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.5831, allocations: 7.938 kB / 0.6154 GB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.5831, allocations: 38.56 kB / 0.6155 GB, free: 4.211 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.303e-06/0.5831, allocations: 4 kB / 0.6155 GB, free: 4.207 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004041/0.5835, allocations: 213.8 kB / 0.6157 GB, free: 3.992 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.5835, allocations: 59.34 kB / 0.6157 GB, free: 3.922 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.5836, allocations: 120.2 kB / 0.6158 GB, free: 3.797 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.5837, allocations: 25.7 kB / 0.6159 GB, free: 3.766 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.5838, allocations: 195.7 kB / 0.6161 GB, free: 3.566 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.5838, allocations: 82.75 kB / 0.6161 GB, free: 3.484 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.5839, allocations: 0 / 0.6161 GB, free: 3.484 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.584, allocations: 330.8 kB / 0.6165 GB, free: 3.152 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.5841, allocations: 71.83 kB / 0.6165 GB, free: 3.082 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.5842, allocations: 158.1 kB / 0.6167 GB, free: 2.891 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.5844, allocations: 103.8 kB / 0.6168 GB, free: 2.789 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5844, allocations: 4 kB / 0.6168 GB, free: 2.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003839/0.5848, allocations: 265.4 kB / 0.617 GB, free: 2.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.5848, allocations: 6.344 kB / 0.617 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.5848, allocations: 4 kB / 0.617 GB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.5849, allocations: 7.906 kB / 0.617 GB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.5854, allocations: 136.2 kB / 0.6172 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.5866, allocations: 2.379 MB / 0.6195 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.5868, allocations: 35.81 kB / 0.6195 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.5869, allocations: 23.98 kB / 0.6196 GB, free: 15.84 MB / 442.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 9.481e-05/0.587, allocations: 104.9 kB / 0.6197 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.587, allocations: 15.81 kB / 0.6197 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007702/0.5878, allocations: 375.1 kB / 0.62 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.5878, allocations: 7.906 kB / 0.62 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5878, allocations: 0 / 0.62 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5878, allocations: 7.984 kB / 0.62 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.5881, allocations: 270.3 kB / 0.6203 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5881, allocations: 0 / 0.6203 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/0.5887, allocations: 123.8 kB / 0.6204 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.5887, allocations: 4 kB / 0.6204 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.5887, allocations: 7.984 kB / 0.6204 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.5898, allocations: 2.375 MB / 0.6228 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5898, allocations: 3.938 kB / 0.6228 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003601/0.5902, allocations: 339.4 kB / 0.6231 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.5903, allocations: 92.86 kB / 0.6232 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.5903, allocations: 0 / 0.6232 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.5905, allocations: 11.98 kB / 0.6232 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.5905, allocations: 19.97 kB / 0.6232 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.5906, allocations: 11.98 kB / 0.6232 GB, free: 11.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.188e-05/0.5906, allocations: 95.28 kB / 0.6233 GB, free: 11.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008701/0.5915, allocations: 263.3 kB / 0.6236 GB, free: 11.57 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.0006795/0.5922, allocations: 380.9 kB / 0.6239 GB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006292/0.5928, allocations: 268.6 kB / 0.6242 GB, free: 10.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5928, allocations: 0 / 0.6242 GB, free: 10.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.5933, allocations: 167.7 kB / 0.6243 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.5935, allocations: 11.98 kB / 0.6243 GB, free: 10.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007716/0.5942, allocations: 387 kB / 0.6247 GB, free: 10.35 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/0.5947, allocations: 0.8448 MB / 0.6255 GB, free: 9.477 MB / 442.7 MB Notification: Performance of SimCode: time 2.554e-06/0.5947, allocations: 0 / 0.6255 GB, free: 9.477 MB / 442.7 MB Notification: Performance of Templates: time 0.01055/0.6053, allocations: 6.217 MB / 0.6316 GB, free: 3.281 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches