Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.001428/0.001428, allocations: 181.9 kB / 8.521 MB, free: 1.82 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.307/1.307, allocations: 221.4 MB / 230.3 MB, free: 7.734 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.0009814/0.0009814, allocations: 92.72 kB / 281.2 MB, free: 5.555 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.1768/0.1768, allocations: 44.14 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.463e-06/6.483e-06, allocations: 4.219 kB / 444.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 61.92 MB / 0.4941 GB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2693/0.3831, allocations: 93.31 MB / 0.5852 GB, free: 3.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.3833, allocations: 95.94 kB / 0.5853 GB, free: 3.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02271/0.4061, allocations: 7.526 MB / 0.5927 GB, free: 11.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4061, allocations: 7.938 kB / 0.5927 GB, free: 11.79 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000447/0.4066, allocations: 434 kB / 0.5931 GB, free: 11.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.4066, allocations: 15.97 kB / 0.5931 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.4066, allocations: 11.91 kB / 0.5931 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.4068, allocations: 182.8 kB / 0.5933 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.4068, allocations: 4 kB / 0.5933 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.4068, allocations: 4 kB / 0.5933 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001818/0.407, allocations: 104 kB / 0.5934 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.4072, allocations: 114.9 kB / 0.5935 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.4072, allocations: 0 / 0.5935 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.4072, allocations: 0 / 0.5935 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4072, allocations: 7.906 kB / 0.5935 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/0.408, allocations: 491.2 kB / 0.594 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.4081, allocations: 82.61 kB / 0.5941 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.4082, allocations: 40.84 kB / 0.5941 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.4082, allocations: 3.984 kB / 0.5941 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.4083, allocations: 34.56 kB / 0.5941 GB, free: 10.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.4083, allocations: 224 / 0.5941 GB, free: 10.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002133/0.4085, allocations: 97.52 kB / 0.5942 GB, free: 10.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.4085, allocations: 51.41 kB / 0.5943 GB, free: 9.965 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.81e-05/0.4086, allocations: 109.1 kB / 0.5944 GB, free: 9.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.4086, allocations: 25.7 kB / 0.5944 GB, free: 9.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.4087, allocations: 119.5 kB / 0.5945 GB, free: 9.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.4087, allocations: 39.39 kB / 0.5946 GB, free: 9.656 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-06/0.4087, allocations: 0 / 0.5946 GB, free: 9.656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.4088, allocations: 314.8 kB / 0.5949 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.4089, allocations: 27.98 kB / 0.5949 GB, free: 9.312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.4089, allocations: 61.16 kB / 0.595 GB, free: 9.234 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.554e-05/0.409, allocations: 27.98 kB / 0.595 GB, free: 9.207 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.409, allocations: 4 kB / 0.595 GB, free: 9.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001886/0.4092, allocations: 121.4 kB / 0.5951 GB, free: 9.078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.4092, allocations: 12.53 kB / 0.5951 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4092, allocations: 0 / 0.5951 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.4093, allocations: 4 kB / 0.5951 GB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.4095, allocations: 55.89 kB / 0.5952 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003184/0.4098, allocations: 0.5937 MB / 0.5958 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.41, allocations: 23.86 kB / 0.5958 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.41, allocations: 4 kB / 0.5958 GB, free: 8.363 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.47e-05/0.4101, allocations: 104.9 kB / 0.5959 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.4101, allocations: 7.906 kB / 0.5959 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.4104, allocations: 148 kB / 0.596 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4104, allocations: 4 kB / 0.596 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4104, allocations: 3.906 kB / 0.596 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4104, allocations: 3.938 kB / 0.596 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.4106, allocations: 174.2 kB / 0.5962 GB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.4107, allocations: 3.906 kB / 0.5962 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.4109, allocations: 47.89 kB / 0.5963 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4109, allocations: 0 / 0.5963 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.4109, allocations: 12 kB / 0.5963 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002708/0.4112, allocations: 0.586 MB / 0.5968 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4112, allocations: 3.906 kB / 0.5968 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002421/0.4115, allocations: 239.4 kB / 0.5971 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.4115, allocations: 105.1 kB / 0.5972 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.4116, allocations: 4 kB / 0.5972 GB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.4117, allocations: 7.984 kB / 0.5972 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.4118, allocations: 11.92 kB / 0.5972 GB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.4118, allocations: 8 kB / 0.5972 GB, free: 6.805 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.563e-05/0.4118, allocations: 87.28 kB / 0.5973 GB, free: 6.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.4122, allocations: 83.89 kB / 0.5974 GB, free: 6.637 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002903/0.4125, allocations: 203 kB / 0.5976 GB, free: 6.426 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.4127, allocations: 96.17 kB / 0.5976 GB, free: 6.332 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4127, allocations: 0 / 0.5976 GB, free: 6.332 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.4129, allocations: 59.91 kB / 0.5977 GB, free: 6.273 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.413, allocations: 4.281 kB / 0.5977 GB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.4135, allocations: 176.6 kB / 0.5979 GB, free: 6.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.4138, allocations: 0.731 MB / 0.5986 GB, free: 5.312 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4138, allocations: 0 / 0.5986 GB, free: 5.312 MB / 410.7 MB Notification: Performance of Templates: time 0.004698/0.4185, allocations: 2.341 MB / 0.6009 GB, free: 3.008 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches