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_turbulent_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_turbulent_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_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_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.0009332/0.0009332, allocations: 184.1 kB / 7.8 MB, free: 2.125 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9964/0.9964, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008007/0.0008005, allocations: 91.06 kB / 261.4 MB, free: 13.55 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.1486/0.1486, allocations: 43.5 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.561e-06/5.581e-06, allocations: 0 / 417.7 MB, free: 40.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2056, allocations: 58.83 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.3139, allocations: 94.31 MB / 0.5575 GB, free: 4.602 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.3142, allocations: 91.94 kB / 0.5576 GB, free: 4.512 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6224:11-6227: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:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd: time 0.0325/0.3467, allocations: 10.94 MB / 0.5683 GB, free: 9.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3468, allocations: 4 kB / 0.5683 GB, free: 9.496 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000712/0.3475, allocations: 0.5795 MB / 0.5688 GB, free: 8.871 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.3475, allocations: 8.031 kB / 0.5689 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.3476, allocations: 27.62 kB / 0.5689 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3479, allocations: 250.6 kB / 0.5691 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3479, allocations: 8 kB / 0.5691 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.3479, allocations: 19.91 kB / 0.5691 GB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005035/0.3484, allocations: 417.2 kB / 0.5695 GB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004844/0.3489, allocations: 405.3 kB / 0.5699 GB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3489, allocations: 0 / 0.5699 GB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.349, allocations: 4 kB / 0.5699 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.349, allocations: 44.73 kB / 0.57 GB, free: 7.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.3507, allocations: 1.282 MB / 0.5712 GB, free: 6.277 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.3511, allocations: 269.2 kB / 0.5715 GB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3512, allocations: 84.81 kB / 0.5716 GB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.3512, allocations: 4 kB / 0.5716 GB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.3513, allocations: 38.5 kB / 0.5716 GB, free: 5.871 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.232e-06/0.3513, allocations: 0 / 0.5716 GB, free: 5.871 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003599/0.3517, allocations: 213.9 kB / 0.5718 GB, free: 5.656 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.3517, allocations: 59.31 kB / 0.5719 GB, free: 5.586 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.3518, allocations: 121.1 kB / 0.572 GB, free: 5.461 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.3518, allocations: 25.7 kB / 0.572 GB, free: 5.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.3519, allocations: 195.7 kB / 0.5722 GB, free: 5.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.352, allocations: 82.75 kB / 0.5723 GB, free: 5.148 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/0.352, allocations: 0 / 0.5723 GB, free: 5.148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.3521, allocations: 322.8 kB / 0.5726 GB, free: 4.824 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/0.3522, allocations: 75.97 kB / 0.5727 GB, free: 4.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.3523, allocations: 154.1 kB / 0.5728 GB, free: 4.562 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.3525, allocations: 104.1 kB / 0.5729 GB, free: 4.461 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.3525, allocations: 3.906 kB / 0.5729 GB, free: 4.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003707/0.3528, allocations: 273.2 kB / 0.5732 GB, free: 4.184 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.3529, allocations: 8 kB / 0.5732 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3529, allocations: 3.938 kB / 0.5732 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3529, allocations: 8 kB / 0.5732 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.3534, allocations: 132 kB / 0.5733 GB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.3545, allocations: 2.383 MB / 0.5756 GB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.3547, allocations: 35.7 kB / 0.5757 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.3547, allocations: 16.19 kB / 0.5757 GB, free: 1.508 MB / 410.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 7.771e-05/0.3548, allocations: 110.3 kB / 0.5758 GB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.3549, allocations: 19.8 kB / 0.5758 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007349/0.3556, allocations: 373.8 kB / 0.5762 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3556, allocations: 7.906 kB / 0.5762 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3556, allocations: 4 kB / 0.5762 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3556, allocations: 0 / 0.5762 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.3559, allocations: 274.3 kB / 0.5764 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3559, allocations: 7.938 kB / 0.5764 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.3564, allocations: 119.8 kB / 0.5766 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3564, allocations: 0 / 0.5766 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.3565, allocations: 7.984 kB / 0.5766 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009667/0.3574, allocations: 2.383 MB / 0.5789 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3574, allocations: 3.938 kB / 0.5789 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003316/0.3578, allocations: 327.3 kB / 0.5792 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.3578, allocations: 101 kB / 0.5793 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.3579, allocations: 0 / 0.5793 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.358, allocations: 8 kB / 0.5793 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.3581, allocations: 19.97 kB / 0.5793 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.3581, allocations: 11.98 kB / 0.5793 GB, free: 13.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.541e-05/0.3582, allocations: 95.27 kB / 0.5794 GB, free: 13.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005233/0.3587, allocations: 175.5 kB / 0.5796 GB, free: 13.32 MB / 426.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.000416/0.3591, allocations: 262.8 kB / 0.5799 GB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000589/0.3597, allocations: 256.4 kB / 0.5801 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3597, allocations: 4 kB / 0.5801 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.3601, allocations: 163.8 kB / 0.5803 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.3603, allocations: 15.77 kB / 0.5803 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007248/0.361, allocations: 385 kB / 0.5806 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.3615, allocations: 0.8408 MB / 0.5815 GB, free: 11.35 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3615, allocations: 0 / 0.5815 GB, free: 11.35 MB / 426.7 MB Notification: Performance of Templates: time 0.007663/0.3691, allocations: 4.847 MB / 0.5862 GB, free: 6.508 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches