Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|L|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|L|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.001103/0.001103, allocations: 184.2 kB / 8.519 MB, free: 1.844 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.204/1.204, allocations: 221.4 MB / 230.3 MB, free: 7.621 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.0009773/0.0009772, allocations: 97.66 kB / 281.2 MB, free: 5.438 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.1998/0.1998, allocations: 44.16 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.616e-06, allocations: 224 / 444.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 61.91 MB / 0.4941 GB, free: 1.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2873/0.4223, allocations: 93.24 MB / 0.5852 GB, free: 3.578 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/0.4227, allocations: 96.77 kB / 0.5853 GB, free: 3.484 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5761:11-5762:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5774:11-5777:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5752:11-5759:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5765:11-5772:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd: time 0.03236/0.455, allocations: 10.3 MB / 0.5953 GB, free: 9.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.4551, allocations: 8 kB / 0.5953 GB, free: 9.012 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.000753/0.4559, allocations: 0.6541 MB / 0.596 GB, free: 8.312 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.4559, allocations: 15.97 kB / 0.596 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.609e-05/0.456, allocations: 51.34 kB / 0.596 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.4564, allocations: 318.1 kB / 0.5963 GB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.4564, allocations: 20 kB / 0.5964 GB, free: 7.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.4565, allocations: 28 kB / 0.5964 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007732/0.4573, allocations: 0.6503 MB / 0.597 GB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.4581, allocations: 0.5958 MB / 0.5976 GB, free: 6.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4581, allocations: 3.984 kB / 0.5976 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.4581, allocations: 7.938 kB / 0.5976 GB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/0.4582, allocations: 57.27 kB / 0.5977 GB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.4603, allocations: 1.589 MB / 0.5992 GB, free: 4.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.4608, allocations: 330.6 kB / 0.5995 GB, free: 4.488 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.4609, allocations: 125.2 kB / 0.5996 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.461, allocations: 16.22 kB / 0.5997 GB, free: 4.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.461, allocations: 30.8 kB / 0.5997 GB, free: 4.309 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.265e-06/0.461, allocations: 0 / 0.5997 GB, free: 4.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005587/0.4616, allocations: 333.2 kB / 0.6 GB, free: 3.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.4616, allocations: 51.41 kB / 0.6001 GB, free: 3.918 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.4618, allocations: 199 kB / 0.6002 GB, free: 3.715 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.4618, allocations: 25.7 kB / 0.6003 GB, free: 3.684 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.462, allocations: 271.7 kB / 0.6005 GB, free: 3.414 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/0.4621, allocations: 98.59 kB / 0.6006 GB, free: 3.316 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/0.4621, allocations: 0 / 0.6006 GB, free: 3.316 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4623, allocations: 334.7 kB / 0.6009 GB, free: 2.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.4624, allocations: 127.7 kB / 0.6011 GB, free: 2.855 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.4627, allocations: 233.6 kB / 0.6013 GB, free: 2.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.4629, allocations: 180 kB / 0.6015 GB, free: 2.402 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4629, allocations: 0 / 0.6015 GB, free: 2.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006027/0.4635, allocations: 420.9 kB / 0.6019 GB, free: 1.984 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4636, allocations: 4 kB / 0.6019 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4636, allocations: 4 kB / 0.6019 GB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4636, allocations: 8 kB / 0.6019 GB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.4643, allocations: 160.3 kB / 0.602 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.4662, allocations: 3.661 MB / 0.6056 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.4664, allocations: 35.59 kB / 0.6056 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.4665, allocations: 23.98 kB / 0.6057 GB, free: 13.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.4666, allocations: 117 kB / 0.6058 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.4667, allocations: 19.72 kB / 0.6058 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.4678, allocations: 0.5542 MB / 0.6063 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.4678, allocations: 7.906 kB / 0.6063 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4678, allocations: 0 / 0.6063 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4678, allocations: 0 / 0.6063 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.4683, allocations: 393.7 kB / 0.6067 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4683, allocations: 0 / 0.6067 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.4689, allocations: 135.8 kB / 0.6068 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.4689, allocations: 0 / 0.6068 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.469, allocations: 11.92 kB / 0.6069 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.4707, allocations: 3.641 MB / 0.6104 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4707, allocations: 8 kB / 0.6104 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007155/0.4714, allocations: 0.6132 MB / 0.611 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.4716, allocations: 152.7 kB / 0.6112 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.4717, allocations: 7.891 kB / 0.6112 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.4719, allocations: 8 kB / 0.6112 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.472, allocations: 32.02 kB / 0.6112 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.472, allocations: 19.94 kB / 0.6112 GB, free: 8.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001468/0.4722, allocations: 172.3 kB / 0.6114 GB, free: 7.848 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005874/0.4728, allocations: 183.2 kB / 0.6116 GB, free: 7.668 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003038/0.4731, allocations: 203 kB / 0.6118 GB, free: 7.461 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009526/0.474, allocations: 408.7 kB / 0.6122 GB, free: 7.062 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.474, allocations: 4.062 kB / 0.6122 GB, free: 7.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006569/0.4747, allocations: 247.7 kB / 0.6124 GB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.4749, allocations: 12.34 kB / 0.6124 GB, free: 6.801 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.476, allocations: 0.6755 MB / 0.6131 GB, free: 6.094 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004972/0.4765, allocations: 0.9613 MB / 0.614 GB, free: 5.109 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4765, allocations: 0 / 0.614 GB, free: 5.109 MB / 426.7 MB Notification: Performance of Templates: time 0.008763/0.4853, allocations: 5.467 MB / 0.6193 GB, free: 15.68 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches