Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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_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_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 3.2.3+maint.om/package.mo): time 0.0009101/0.0009102, allocations: 187.8 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007759/0.000776, allocations: 86.92 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.149/0.149, allocations: 43.5 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.471e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2115, allocations: 58.84 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.3237, allocations: 101.7 MB / 0.5647 GB, free: 13.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.3239, allocations: 95.92 kB / 0.5648 GB, free: 13.15 MB / 410.7 MB [/home/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). [/home/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. [/home/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). [/home/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.05031/0.3743, allocations: 17.47 MB / 0.5819 GB, free: 11.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3743, allocations: 4 kB / 0.5819 GB, free: 11.55 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.0009019/0.3752, allocations: 0.6299 MB / 0.5825 GB, free: 10.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3753, allocations: 12.03 kB / 0.5825 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.3753, allocations: 27.62 kB / 0.5825 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.3756, allocations: 242.6 kB / 0.5827 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.3756, allocations: 15.91 kB / 0.5828 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.3757, allocations: 16 kB / 0.5828 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005445/0.3762, allocations: 413.2 kB / 0.5832 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/0.3768, allocations: 409.4 kB / 0.5836 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3768, allocations: 0 / 0.5836 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.3768, allocations: 4 kB / 0.5836 GB, free: 9.723 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.3769, allocations: 44.75 kB / 0.5836 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.3787, allocations: 1.293 MB / 0.5849 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.3791, allocations: 261.3 kB / 0.5851 GB, free: 8.008 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3792, allocations: 76.83 kB / 0.5852 GB, free: 7.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.3793, allocations: 7.984 kB / 0.5852 GB, free: 7.922 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.3793, allocations: 46.5 kB / 0.5852 GB, free: 7.867 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.263e-06/0.3793, allocations: 0 / 0.5852 GB, free: 7.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003769/0.3797, allocations: 213.8 kB / 0.5855 GB, free: 7.652 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.3797, allocations: 51.41 kB / 0.5855 GB, free: 7.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.3798, allocations: 117.3 kB / 0.5856 GB, free: 7.465 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.3799, allocations: 25.7 kB / 0.5856 GB, free: 7.434 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.3799, allocations: 199.7 kB / 0.5858 GB, free: 7.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.38, allocations: 78.77 kB / 0.5859 GB, free: 7.152 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.38, allocations: 0 / 0.5859 GB, free: 7.152 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3801, allocations: 334.7 kB / 0.5862 GB, free: 6.816 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3803, allocations: 71.97 kB / 0.5863 GB, free: 6.746 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.3804, allocations: 154.4 kB / 0.5864 GB, free: 6.559 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.3806, allocations: 100.1 kB / 0.5865 GB, free: 6.461 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3806, allocations: 4 kB / 0.5865 GB, free: 6.457 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003799/0.381, allocations: 269.2 kB / 0.5868 GB, free: 6.188 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.381, allocations: 4 kB / 0.5868 GB, free: 6.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.381, allocations: 7.938 kB / 0.5868 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3811, allocations: 7.906 kB / 0.5868 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.3816, allocations: 140.2 kB / 0.5869 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.3827, allocations: 2.383 MB / 0.5893 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3829, allocations: 31.97 kB / 0.5893 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.3829, allocations: 19.98 kB / 0.5893 GB, free: 3.504 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 8.576e-05/0.383, allocations: 110.3 kB / 0.5894 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.3831, allocations: 15.81 kB / 0.5894 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007231/0.3838, allocations: 373.8 kB / 0.5898 GB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3838, allocations: 4 kB / 0.5898 GB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3838, allocations: 3.938 kB / 0.5898 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3838, allocations: 3.984 kB / 0.5898 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.3841, allocations: 274.3 kB / 0.5901 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3841, allocations: 0 / 0.5901 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.3846, allocations: 123.8 kB / 0.5902 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3846, allocations: 0 / 0.5902 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.3847, allocations: 7.984 kB / 0.5902 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.3857, allocations: 2.375 MB / 0.5925 GB, free: 96 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3857, allocations: 0 / 0.5925 GB, free: 96 kB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003521/0.3861, allocations: 339.5 kB / 0.5928 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.3861, allocations: 92.86 kB / 0.5929 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.3862, allocations: 0 / 0.5929 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.3863, allocations: 11.98 kB / 0.5929 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.3864, allocations: 19.97 kB / 0.593 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.3864, allocations: 11.98 kB / 0.593 GB, free: 15.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.687e-05/0.3865, allocations: 100.1 kB / 0.5931 GB, free: 15.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007608/0.3872, allocations: 251.2 kB / 0.5933 GB, free: 15.25 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.000637/0.3879, allocations: 396.4 kB / 0.5937 GB, free: 14.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005905/0.3885, allocations: 260.4 kB / 0.5939 GB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3885, allocations: 0 / 0.5939 GB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004173/0.3889, allocations: 167.8 kB / 0.5941 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.3891, allocations: 7.859 kB / 0.5941 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000678/0.3898, allocations: 385 kB / 0.5945 GB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/0.3902, allocations: 0.8409 MB / 0.5953 GB, free: 13.16 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3902, allocations: 0 / 0.5953 GB, free: 13.16 MB / 442.7 MB Notification: Performance of Templates: time 0.00973/0.3999, allocations: 6.224 MB / 0.6014 GB, free: 6.934 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches