Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.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_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_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 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 185.2 kB / 7.799 MB, free: 2.441 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.015/1.015, 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.0007822/0.0007822, allocations: 95.45 kB / 261.4 MB, free: 13.54 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.1504/0.1504, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.144e-06, allocations: 4 kB / 417.7 MB, free: 40.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2139, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.103/0.3169, allocations: 92.09 MB / 0.5553 GB, free: 6.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.3171, allocations: 91.94 kB / 0.5554 GB, free: 6.73 MB / 394.7 MB [/home/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. [/home/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. [/home/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. [/home/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.02946/0.3466, allocations: 9.992 MB / 0.5652 GB, free: 12.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.3467, allocations: 4 kB / 0.5652 GB, free: 12.55 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.0007763/0.3474, allocations: 0.6541 MB / 0.5658 GB, free: 11.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3475, allocations: 8.031 kB / 0.5658 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.161e-05/0.3476, allocations: 55.34 kB / 0.5659 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.348, allocations: 325.1 kB / 0.5662 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.348, allocations: 15.94 kB / 0.5662 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.3481, allocations: 28 kB / 0.5662 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007532/0.3488, allocations: 0.6503 MB / 0.5669 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.3496, allocations: 0.5997 MB / 0.5675 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3496, allocations: 0 / 0.5675 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.3496, allocations: 0 / 0.5675 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/0.3497, allocations: 53.28 kB / 0.5675 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.3518, allocations: 1.589 MB / 0.5691 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.3522, allocations: 326.8 kB / 0.5694 GB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.3524, allocations: 130.7 kB / 0.5695 GB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.3524, allocations: 8.219 kB / 0.5695 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.3525, allocations: 42.77 kB / 0.5696 GB, free: 7.855 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.402e-06/0.3525, allocations: 0 / 0.5696 GB, free: 7.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005205/0.353, allocations: 331.9 kB / 0.5699 GB, free: 7.527 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.353, allocations: 63.34 kB / 0.5699 GB, free: 7.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.3532, allocations: 206.9 kB / 0.5701 GB, free: 7.242 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.3532, allocations: 25.7 kB / 0.5702 GB, free: 7.211 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3534, allocations: 263.7 kB / 0.5704 GB, free: 6.949 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.3535, allocations: 98.58 kB / 0.5705 GB, free: 6.852 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/0.3535, allocations: 0 / 0.5705 GB, free: 6.852 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3536, allocations: 334.7 kB / 0.5708 GB, free: 6.516 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.3538, allocations: 127.9 kB / 0.5709 GB, free: 6.391 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.354, allocations: 237.2 kB / 0.5712 GB, free: 6.109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.3542, allocations: 167.8 kB / 0.5713 GB, free: 5.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3542, allocations: 4 kB / 0.5713 GB, free: 5.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005817/0.3548, allocations: 416.9 kB / 0.5717 GB, free: 5.527 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3548, allocations: 4 kB / 0.5717 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.3549, allocations: 8.406 kB / 0.5717 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3549, allocations: 8 kB / 0.5718 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/0.3555, allocations: 159.8 kB / 0.5719 GB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.3572, allocations: 3.65 MB / 0.5755 GB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.3574, allocations: 39.77 kB / 0.5755 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.3575, allocations: 20 kB / 0.5755 GB, free: 1.504 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 9.385e-05/0.3576, allocations: 120.1 kB / 0.5756 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.3576, allocations: 23.72 kB / 0.5757 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.3587, allocations: 0.5503 MB / 0.5762 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.3587, allocations: 7.906 kB / 0.5762 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3587, allocations: 4 kB / 0.5762 GB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3587, allocations: 3.984 kB / 0.5762 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.3592, allocations: 385.7 kB / 0.5766 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3592, allocations: 0 / 0.5766 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.3598, allocations: 135.8 kB / 0.5767 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3598, allocations: 0 / 0.5767 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.3598, allocations: 8 kB / 0.5767 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.3615, allocations: 3.657 MB / 0.5803 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3615, allocations: 3.906 kB / 0.5803 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006934/0.3622, allocations: 0.6172 MB / 0.5809 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.3624, allocations: 156.7 kB / 0.581 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.3624, allocations: 3.906 kB / 0.581 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3626, allocations: 16.14 kB / 0.5811 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3627, allocations: 27.84 kB / 0.5811 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.3628, allocations: 15.98 kB / 0.5811 GB, free: 11.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001554/0.363, allocations: 172.1 kB / 0.5813 GB, free: 11.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005914/0.3636, allocations: 183.3 kB / 0.5814 GB, free: 11.21 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.0003242/0.3639, allocations: 199 kB / 0.5816 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009263/0.3648, allocations: 416.7 kB / 0.582 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3648, allocations: 0 / 0.582 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006341/0.3655, allocations: 243.7 kB / 0.5823 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.3657, allocations: 20.2 kB / 0.5823 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.3669, allocations: 0.6717 MB / 0.5829 GB, free: 9.645 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/0.3674, allocations: 0.9691 MB / 0.5839 GB, free: 8.652 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3674, allocations: 0 / 0.5839 GB, free: 8.652 MB / 426.7 MB Notification: Performance of Templates: time 0.00881/0.3762, allocations: 5.467 MB / 0.5892 GB, free: 3.211 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches