Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001388, allocations: 190.2 kB / 8.522 MB, free: 1.699 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 221.4 MB / 230.3 MB, free: 7.723 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009352/0.0009353, allocations: 92.66 kB / 281.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1684/0.1684, allocations: 44.14 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.713e-06/6.733e-06, allocations: 4.219 kB / 444.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 61.91 MB / 0.4941 GB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2865/0.3927, allocations: 89.72 MB / 0.5817 GB, free: 7.086 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.3931, allocations: 100.3 kB / 0.5818 GB, free: 7.02 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5503:11-5506:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5514:11-5517:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd: time 0.02257/0.4157, allocations: 7.515 MB / 0.5892 GB, free: 15.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.4157, allocations: 0 / 0.5892 GB, free: 15.49 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004627/0.4162, allocations: 453.7 kB / 0.5896 GB, free: 15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.4162, allocations: 11.97 kB / 0.5896 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007068/0.4169, allocations: 99.64 kB / 0.5897 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.4172, allocations: 226.7 kB / 0.5899 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.4172, allocations: 8 kB / 0.5899 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.4172, allocations: 8 kB / 0.5899 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004167/0.4177, allocations: 291.8 kB / 0.5902 GB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.418, allocations: 277.3 kB / 0.5905 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.418, allocations: 4 kB / 0.5905 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.4181, allocations: 3.984 kB / 0.5905 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.4181, allocations: 12 kB / 0.5905 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.4195, allocations: 0.7913 MB / 0.5913 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.4198, allocations: 206.3 kB / 0.5915 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.4199, allocations: 80.84 kB / 0.5915 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.4199, allocations: 3.984 kB / 0.5915 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.42, allocations: 34.56 kB / 0.5916 GB, free: 12.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.42, allocations: 0 / 0.5916 GB, free: 12.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003775/0.4204, allocations: 189.7 kB / 0.5918 GB, free: 12.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.4204, allocations: 51.41 kB / 0.5918 GB, free: 12.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.4205, allocations: 124.1 kB / 0.5919 GB, free: 12.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.4205, allocations: 29.7 kB / 0.592 GB, free: 12.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.4206, allocations: 139.8 kB / 0.5921 GB, free: 12.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.4206, allocations: 31.55 kB / 0.5921 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.4207, allocations: 4 kB / 0.5921 GB, free: 12.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4208, allocations: 326.7 kB / 0.5924 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.4209, allocations: 67.94 kB / 0.5925 GB, free: 11.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.421, allocations: 129.1 kB / 0.5926 GB, free: 11.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.4212, allocations: 75.92 kB / 0.5927 GB, free: 11.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4212, allocations: 4 kB / 0.5927 GB, free: 11.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003765/0.4216, allocations: 229.2 kB / 0.5929 GB, free: 11.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.4216, allocations: 4.219 kB / 0.5929 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4216, allocations: 7.938 kB / 0.5929 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.4216, allocations: 4.188 kB / 0.5929 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.4221, allocations: 79.91 kB / 0.593 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008969/0.423, allocations: 1.806 MB / 0.5948 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.4233, allocations: 20.03 kB / 0.5948 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.4233, allocations: 23.91 kB / 0.5948 GB, free: 9.367 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 9.619e-05/0.4234, allocations: 108.9 kB / 0.5949 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.4235, allocations: 7.906 kB / 0.5949 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.4239, allocations: 245.7 kB / 0.5952 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.424, allocations: 0 / 0.5952 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.424, allocations: 0 / 0.5952 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.424, allocations: 4 kB / 0.5952 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.4242, allocations: 230 kB / 0.5954 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4242, allocations: 0 / 0.5954 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.4246, allocations: 71.91 kB / 0.5955 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4247, allocations: 0 / 0.5955 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.4247, allocations: 7.984 kB / 0.5955 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008859/0.4256, allocations: 1.801 MB / 0.5972 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.4256, allocations: 288 / 0.5972 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003407/0.4259, allocations: 291.2 kB / 0.5975 GB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.426, allocations: 81.02 kB / 0.5976 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.426, allocations: 0 / 0.5976 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.4263, allocations: 15.98 kB / 0.5976 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.4263, allocations: 11.97 kB / 0.5976 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.4264, allocations: 15.98 kB / 0.5976 GB, free: 6.344 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.497e-05/0.4264, allocations: 99.27 kB / 0.5977 GB, free: 6.246 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003804/0.4268, allocations: 67.78 kB / 0.5978 GB, free: 6.18 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.0002413/0.4271, allocations: 151 kB / 0.5979 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005212/0.4276, allocations: 215.9 kB / 0.5981 GB, free: 5.809 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4276, allocations: 3.938 kB / 0.5981 GB, free: 5.805 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.428, allocations: 119.8 kB / 0.5982 GB, free: 5.688 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.4281, allocations: 4 kB / 0.5982 GB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.4286, allocations: 255.8 kB / 0.5985 GB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.429, allocations: 0.7893 MB / 0.5993 GB, free: 4.594 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4291, allocations: 0 / 0.5993 GB, free: 4.594 MB / 410.7 MB Notification: Performance of Templates: time 0.005823/0.4349, allocations: 3.218 MB / 0.6024 GB, free: 1.406 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches