Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.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_trunk_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_trunk_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 trunk/package.mo): time 0.001011/0.001011, allocations: 199.5 kB / 8.535 MB, free: 1.684 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 225.5 MB / 234.4 MB, free: 3.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008902/0.0008901, allocations: 96.31 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.187/0.187, allocations: 45.13 MB / 383.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.993e-06, allocations: 4 kB / 452.6 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 63.24 MB / 0.5038 GB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3918/0.5064, allocations: 94.3 MB / 0.5959 GB, free: 8.605 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.5068, allocations: 99.11 kB / 0.596 GB, free: 8.547 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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 trunk/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 trunk/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.03388/0.5407, allocations: 10.38 MB / 0.6061 GB, free: 15.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.5408, allocations: 4 kB / 0.6061 GB, free: 15.59 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.001156/0.5419, allocations: 0.6613 MB / 0.6068 GB, free: 14.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.542, allocations: 8.031 kB / 0.6068 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.5422, allocations: 51.34 kB / 0.6068 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.5427, allocations: 327.2 kB / 0.6071 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.5428, allocations: 16 kB / 0.6071 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.137e-05/0.5429, allocations: 24 kB / 0.6072 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008966/0.5438, allocations: 0.6546 MB / 0.6078 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.5446, allocations: 0.597 MB / 0.6084 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.5447, allocations: 0 / 0.6084 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.5447, allocations: 4 kB / 0.6084 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/0.5448, allocations: 56.77 kB / 0.6084 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.5474, allocations: 1.582 MB / 0.61 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.5479, allocations: 320 kB / 0.6103 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.5481, allocations: 131.5 kB / 0.6104 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-05/0.5482, allocations: 12.2 kB / 0.6104 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.5483, allocations: 45.8 kB / 0.6105 GB, free: 11.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.474e-06/0.5483, allocations: 0 / 0.6105 GB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007187/0.549, allocations: 324 kB / 0.6108 GB, free: 11.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.549, allocations: 55.41 kB / 0.6108 GB, free: 11.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.5493, allocations: 203.3 kB / 0.611 GB, free: 10.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.5494, allocations: 25.7 kB / 0.6111 GB, free: 10.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.5496, allocations: 268.8 kB / 0.6113 GB, free: 10.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.5497, allocations: 89.91 kB / 0.6114 GB, free: 10.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/0.5497, allocations: 4 kB / 0.6114 GB, free: 10.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.5499, allocations: 341.3 kB / 0.6117 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.5501, allocations: 125.2 kB / 0.6118 GB, free: 10.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.5504, allocations: 238 kB / 0.6121 GB, free: 9.949 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.5508, allocations: 176.2 kB / 0.6122 GB, free: 9.801 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5508, allocations: 0 / 0.6122 GB, free: 9.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007362/0.5515, allocations: 422.7 kB / 0.6126 GB, free: 9.434 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5515, allocations: 4 kB / 0.6127 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/0.5516, allocations: 4 kB / 0.6127 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.5516, allocations: 4 kB / 0.6127 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007427/0.5523, allocations: 155.8 kB / 0.6128 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.5547, allocations: 3.653 MB / 0.6164 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.555, allocations: 39.64 kB / 0.6164 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.555, allocations: 23.3 kB / 0.6164 GB, free: 5.457 MB / 410.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.0001434/0.5552, allocations: 112.9 kB / 0.6165 GB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.5553, allocations: 27.7 kB / 0.6166 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.5565, allocations: 0.5601 MB / 0.6171 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.5565, allocations: 4 kB / 0.6171 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5565, allocations: 7.922 kB / 0.6171 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5565, allocations: 0 / 0.6171 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000602/0.5571, allocations: 383.6 kB / 0.6175 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5571, allocations: 0 / 0.6175 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/0.5577, allocations: 138.6 kB / 0.6176 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.5578, allocations: 4 kB / 0.6176 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.5578, allocations: 15.05 kB / 0.6176 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.56, allocations: 3.638 MB / 0.6212 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.56, allocations: 3.906 kB / 0.6212 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000885/0.5609, allocations: 0.6152 MB / 0.6218 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.5612, allocations: 159 kB / 0.622 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.591e-05/0.5612, allocations: 0 / 0.622 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.5615, allocations: 11.98 kB / 0.622 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.5616, allocations: 23.72 kB / 0.622 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.5616, allocations: 11.98 kB / 0.622 GB, free: 15.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002087/0.5618, allocations: 173.5 kB / 0.6222 GB, free: 15.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001056/0.5629, allocations: 183 kB / 0.6223 GB, free: 15.48 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.0007222/0.5636, allocations: 206.7 kB / 0.6225 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.5649, allocations: 411.2 kB / 0.6229 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5649, allocations: 0 / 0.6229 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.5656, allocations: 256.5 kB / 0.6232 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.5659, allocations: 20.81 kB / 0.6232 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.5676, allocations: 0.662 MB / 0.6238 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007171/0.5683, allocations: 0.9617 MB / 0.6248 GB, free: 13.07 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5683, allocations: 0 / 0.6248 GB, free: 13.07 MB / 426.7 MB Notification: Performance of Templates: time 0.01228/0.5806, allocations: 5.473 MB / 0.6301 GB, free: 7.637 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches