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.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.002221/0.002221, allocations: 171.6 kB / 8.148 MB, free: 2.199 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.711/1.711, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001236/0.001236, allocations: 92.84 kB / 261.8 MB, free: 13.63 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.3157/0.3157, allocations: 43.5 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.436e-06/8.596e-06, allocations: 0 / 417.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.297, allocations: 58.84 MB / 476.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.4654, allocations: 88.61 MB / 0.5519 GB, free: 10.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/0.4658, allocations: 91.94 kB / 0.552 GB, free: 10.34 MB / 394.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd: time 0.03738/0.5032, allocations: 7.404 MB / 0.5593 GB, free: 2.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.5032, allocations: 4 kB / 0.5593 GB, free: 2.902 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007289/0.504, allocations: 445.8 kB / 0.5597 GB, free: 2.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.504, allocations: 12.03 kB / 0.5597 GB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.5053, allocations: 95.64 kB / 0.5598 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.5057, allocations: 234.7 kB / 0.56 GB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.5057, allocations: 4 kB / 0.56 GB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.5058, allocations: 8 kB / 0.56 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007879/0.5066, allocations: 287.8 kB / 0.5603 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.5073, allocations: 277.4 kB / 0.5606 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5074, allocations: 0 / 0.5606 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.5074, allocations: 0 / 0.5606 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.903e-05/0.5075, allocations: 23.98 kB / 0.5606 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.51, allocations: 0.7952 MB / 0.5614 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/0.5106, allocations: 202.4 kB / 0.5616 GB, free: 380 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.5108, allocations: 76.84 kB / 0.5616 GB, free: 300 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.5109, allocations: 0 / 0.5616 GB, free: 300 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.5109, allocations: 38.78 kB / 0.5617 GB, free: 252 kB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.5109, allocations: 0 / 0.5617 GB, free: 252 kB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006658/0.5116, allocations: 173.5 kB / 0.5618 GB, free: 72 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.5117, allocations: 55.41 kB / 0.5619 GB, free: 4 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.5118, allocations: 131.3 kB / 0.562 GB, free: 15.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.5119, allocations: 25.7 kB / 0.562 GB, free: 15.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.512, allocations: 210.2 kB / 0.5622 GB, free: 15.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.5121, allocations: 27.56 kB / 0.5623 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.5121, allocations: 3.938 kB / 0.5623 GB, free: 15.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5123, allocations: 326.7 kB / 0.5626 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.5125, allocations: 71.94 kB / 0.5626 GB, free: 15.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.5128, allocations: 126.1 kB / 0.5628 GB, free: 15.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.513, allocations: 80.02 kB / 0.5628 GB, free: 14.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.513, allocations: 3.938 kB / 0.5628 GB, free: 14.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006787/0.5137, allocations: 225.2 kB / 0.5631 GB, free: 14.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5137, allocations: 8 kB / 0.5631 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.5138, allocations: 4 kB / 0.5631 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.5138, allocations: 4 kB / 0.5631 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008942/0.5147, allocations: 83.84 kB / 0.5632 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.5161, allocations: 1.797 MB / 0.5649 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.5165, allocations: 20.08 kB / 0.5649 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.5166, allocations: 19.92 kB / 0.5649 GB, free: 12.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.5167, allocations: 33.55 kB / 0.565 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.972e-05/0.5168, allocations: 7.906 kB / 0.565 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008524/0.5177, allocations: 245.8 kB / 0.5652 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.5177, allocations: 4 kB / 0.5652 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.5177, allocations: 0 / 0.5652 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.5177, allocations: 0 / 0.5652 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.5182, allocations: 230 kB / 0.5654 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5182, allocations: 0 / 0.5654 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/0.519, allocations: 71.84 kB / 0.5655 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.519, allocations: 7.906 kB / 0.5655 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.519, allocations: 3.984 kB / 0.5655 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.5204, allocations: 1.805 MB / 0.5673 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5204, allocations: 0 / 0.5673 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006479/0.5211, allocations: 283.3 kB / 0.5676 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.5212, allocations: 88.95 kB / 0.5676 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.5212, allocations: 0 / 0.5676 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.5217, allocations: 19.98 kB / 0.5677 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.5217, allocations: 11.97 kB / 0.5677 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.5218, allocations: 7.984 kB / 0.5677 GB, free: 9.797 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.123e-05/0.5219, allocations: 100.1 kB / 0.5678 GB, free: 9.699 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005512/0.5225, allocations: 71.97 kB / 0.5678 GB, free: 9.629 MB / 410.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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003847/0.5229, allocations: 155.1 kB / 0.568 GB, free: 9.465 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009479/0.5238, allocations: 207.7 kB / 0.5682 GB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5238, allocations: 0 / 0.5682 GB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006335/0.5245, allocations: 120.2 kB / 0.5683 GB, free: 9.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.5248, allocations: 18.78 kB / 0.5683 GB, free: 9.129 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008891/0.5257, allocations: 276.9 kB / 0.5686 GB, free: 8.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006689/0.5263, allocations: 0.7932 MB / 0.5694 GB, free: 8.004 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5264, allocations: 3.938 kB / 0.5694 GB, free: 8 MB / 410.7 MB Notification: Performance of Templates: time 0.01144/0.5378, allocations: 4.846 MB / 0.5741 GB, free: 3.156 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches