Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002413/0.002413, allocations: 177.1 kB / 8.15 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 84.05 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2555/0.2555, allocations: 43.48 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.496e-06/8.666e-06, allocations: 0 / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2983, allocations: 58.85 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.4831, allocations: 92.09 MB / 0.5553 GB, free: 6.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003963/0.4835, allocations: 95.44 kB / 0.5554 GB, free: 6.863 MB / 394.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd: time 0.05288/0.5364, allocations: 9.984 MB / 0.5652 GB, free: 12.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.5365, allocations: 4 kB / 0.5652 GB, free: 12.7 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.001631/0.5382, allocations: 0.6541 MB / 0.5658 GB, free: 12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5382, allocations: 8.031 kB / 0.5658 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.5384, allocations: 51.34 kB / 0.5659 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008222/0.5393, allocations: 325 kB / 0.5662 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.5393, allocations: 16 kB / 0.5662 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.5395, allocations: 28 kB / 0.5662 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001898/0.5414, allocations: 0.6464 MB / 0.5669 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.5433, allocations: 0.6036 MB / 0.5674 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.5434, allocations: 0 / 0.5674 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.059e-05/0.5434, allocations: 0 / 0.5674 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.5436, allocations: 61.27 kB / 0.5675 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00521/0.5488, allocations: 1.585 MB / 0.5691 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.55, allocations: 318.8 kB / 0.5694 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.5505, allocations: 122.7 kB / 0.5695 GB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-05/0.5506, allocations: 20.19 kB / 0.5695 GB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.5506, allocations: 38.73 kB / 0.5695 GB, free: 8.004 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 4.087e-06/0.5507, allocations: 4 kB / 0.5695 GB, free: 8 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.001493/0.5522, allocations: 332 kB / 0.5698 GB, free: 7.672 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.5523, allocations: 59.34 kB / 0.5699 GB, free: 7.602 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.5527, allocations: 206.9 kB / 0.5701 GB, free: 7.391 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.5528, allocations: 25.7 kB / 0.5701 GB, free: 7.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.5531, allocations: 326.1 kB / 0.5704 GB, free: 7.039 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.5533, allocations: 94.59 kB / 0.5705 GB, free: 6.945 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.5534, allocations: 0 / 0.5705 GB, free: 6.945 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.5536, allocations: 338.7 kB / 0.5709 GB, free: 6.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005085/0.5541, allocations: 123.9 kB / 0.571 GB, free: 6.484 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006792/0.5548, allocations: 235.3 kB / 0.5712 GB, free: 6.199 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.5555, allocations: 175.8 kB / 0.5714 GB, free: 6.027 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5555, allocations: 0 / 0.5714 GB, free: 6.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001596/0.5571, allocations: 409.4 kB / 0.5718 GB, free: 5.621 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.5572, allocations: 14.88 kB / 0.5718 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.5572, allocations: 0 / 0.5718 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/0.5572, allocations: 8 kB / 0.5718 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/0.559, allocations: 151.8 kB / 0.5719 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003685/0.5627, allocations: 3.638 MB / 0.5755 GB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005935/0.5634, allocations: 32.02 kB / 0.5755 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.89e-05/0.5635, allocations: 23.98 kB / 0.5755 GB, free: 1.621 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.00018/0.5637, allocations: 37.58 kB / 0.5756 GB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.5639, allocations: 23.72 kB / 0.5756 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00292/0.5668, allocations: 0.5541 MB / 0.5761 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5668, allocations: 4 kB / 0.5761 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.5668, allocations: 0 / 0.5761 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.5669, allocations: 3.984 kB / 0.5761 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.5681, allocations: 397.6 kB / 0.5765 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.5681, allocations: 0 / 0.5765 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.5698, allocations: 135.8 kB / 0.5766 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.696e-05/0.5698, allocations: 8 kB / 0.5766 GB, free: 432 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.5699, allocations: 4 kB / 0.5767 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00373/0.5737, allocations: 3.653 MB / 0.5802 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.5737, allocations: 0 / 0.5802 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002007/0.5757, allocations: 0.6171 MB / 0.5808 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/0.5761, allocations: 156.7 kB / 0.581 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.5763, allocations: 4.125 kB / 0.581 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005348/0.5768, allocations: 15.98 kB / 0.581 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.577, allocations: 19.97 kB / 0.581 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-05/0.5771, allocations: 19.92 kB / 0.581 GB, free: 11.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003445/0.5774, allocations: 176.1 kB / 0.5812 GB, free: 11.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001288/0.5787, allocations: 187.2 kB / 0.5814 GB, free: 11.4 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.00069/0.5794, allocations: 206.9 kB / 0.5816 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002508/0.582, allocations: 416.7 kB / 0.582 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.582, allocations: 0 / 0.582 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.5838, allocations: 239.7 kB / 0.5822 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.5843, allocations: 20.41 kB / 0.5822 GB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.5872, allocations: 0.7001 MB / 0.5829 GB, free: 9.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/0.5885, allocations: 0.9653 MB / 0.5838 GB, free: 8.809 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5885, allocations: 0 / 0.5838 GB, free: 8.809 MB / 426.7 MB Notification: Performance of Templates: time 0.03635/0.6249, allocations: 16.07 MB / 0.5995 GB, free: 8.723 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches