Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_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_trunk_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_trunk_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 trunk/package.mo): time 0.001091/0.001091, allocations: 199.2 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009735/0.0009736, allocations: 87.36 kB / 286.3 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 45.14 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.154e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 63.25 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.374/0.5092, allocations: 103.9 MB / 0.6053 GB, free: 15.08 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.5096, allocations: 101.2 kB / 0.6054 GB, free: 15.02 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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 trunk/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 trunk/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.05451/0.5641, allocations: 17.75 MB / 0.6227 GB, free: 0 / 410.7 MB Notification: Performance of Transformations before backend: time 2.992e-05/0.5642, allocations: 4.047 kB / 0.6227 GB, free: 15.99 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.001176/0.5654, allocations: 0.6314 MB / 0.6234 GB, free: 15.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5654, allocations: 8.031 kB / 0.6234 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.5655, allocations: 35.62 kB / 0.6234 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.5658, allocations: 237.7 kB / 0.6236 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.5659, allocations: 15.84 kB / 0.6236 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.5659, allocations: 16 kB / 0.6237 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006045/0.5665, allocations: 410 kB / 0.624 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.5671, allocations: 406.8 kB / 0.6244 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.5671, allocations: 4 kB / 0.6244 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.5671, allocations: 0 / 0.6244 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.766e-05/0.5672, allocations: 39.75 kB / 0.6245 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.5691, allocations: 1.301 MB / 0.6257 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.5695, allocations: 261.9 kB / 0.626 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.5697, allocations: 77.83 kB / 0.6261 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.856e-05/0.5697, allocations: 15.86 kB / 0.6261 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.5698, allocations: 34.5 kB / 0.6261 GB, free: 12.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.5698, allocations: 0 / 0.6261 GB, free: 12.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.000463/0.5702, allocations: 210.4 kB / 0.6263 GB, free: 12.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.5703, allocations: 58.84 kB / 0.6264 GB, free: 12.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.5704, allocations: 130.5 kB / 0.6265 GB, free: 12.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.5704, allocations: 25.7 kB / 0.6265 GB, free: 12.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.5706, allocations: 190 kB / 0.6267 GB, free: 12.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.5706, allocations: 84.88 kB / 0.6268 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.5707, allocations: 0 / 0.6268 GB, free: 12.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5708, allocations: 329.3 kB / 0.6271 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.5709, allocations: 69.7 kB / 0.6272 GB, free: 11.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.5711, allocations: 155.7 kB / 0.6273 GB, free: 11.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.5712, allocations: 109 kB / 0.6274 GB, free: 11.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5712, allocations: 3.938 kB / 0.6274 GB, free: 11.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004107/0.5716, allocations: 271.6 kB / 0.6277 GB, free: 11.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5717, allocations: 8 kB / 0.6277 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.5717, allocations: 7.906 kB / 0.6277 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5717, allocations: 4 kB / 0.6277 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.5723, allocations: 127.8 kB / 0.6278 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.5735, allocations: 2.384 MB / 0.6301 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.5737, allocations: 31.67 kB / 0.6302 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.5737, allocations: 19.3 kB / 0.6302 GB, free: 8.559 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 9.535e-05/0.5738, allocations: 109 kB / 0.6303 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.5739, allocations: 15.81 kB / 0.6303 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007905/0.5747, allocations: 368.4 kB / 0.6307 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.5747, allocations: 4 kB / 0.6307 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5747, allocations: 0 / 0.6307 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5747, allocations: 7.922 kB / 0.6307 GB, free: 8.105 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.575, allocations: 272.8 kB / 0.6309 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5751, allocations: 4 kB / 0.6309 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.5756, allocations: 119.1 kB / 0.6311 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.5756, allocations: 4 kB / 0.6311 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.5757, allocations: 0 / 0.6311 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.5768, allocations: 2.389 MB / 0.6334 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5768, allocations: 0 / 0.6334 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003879/0.5772, allocations: 338 kB / 0.6337 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.5773, allocations: 92.86 kB / 0.6338 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.5773, allocations: 4 kB / 0.6338 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.5775, allocations: 12.08 kB / 0.6338 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.5776, allocations: 23.47 kB / 0.6338 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.5776, allocations: 7.984 kB / 0.6338 GB, free: 4.777 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.461e-05/0.5777, allocations: 94.34 kB / 0.6339 GB, free: 4.691 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001014/0.5787, allocations: 273.7 kB / 0.6342 GB, free: 4.434 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.0007639/0.5795, allocations: 415 kB / 0.6346 GB, free: 4.023 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006426/0.5801, allocations: 253 kB / 0.6348 GB, free: 3.809 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.5801, allocations: 0 / 0.6348 GB, free: 3.809 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.5806, allocations: 171.8 kB / 0.635 GB, free: 3.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.5808, allocations: 11.25 kB / 0.635 GB, free: 3.652 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008149/0.5816, allocations: 390.5 kB / 0.6354 GB, free: 3.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/0.5822, allocations: 0.8396 MB / 0.6362 GB, free: 2.406 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5822, allocations: 0 / 0.6362 GB, free: 2.406 MB / 426.7 MB Notification: Performance of Templates: time 0.01184/0.594, allocations: 6.312 MB / 0.6424 GB, free: 12.12 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches