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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.000853/0.000853, allocations: 91.48 kB / 281.6 MB, free: 5.258 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.2062/0.2062, allocations: 44.16 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.756e-05/1.759e-05, allocations: 4 kB / 444.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 61.92 MB / 0.4947 GB, free: 1.219 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3868/0.5088, allocations: 93.39 MB / 0.5859 GB, free: 3.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.5091, allocations: 103.9 kB / 0.586 GB, free: 2.992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02337/0.5324, allocations: 7.785 MB / 0.5936 GB, free: 11.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5325, allocations: 0 / 0.5936 GB, free: 11.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.5325, allocations: 0 / 0.5936 GB, free: 11.19 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.0005328/0.533, allocations: 434.1 kB / 0.594 GB, free: 10.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5331, allocations: 11.98 kB / 0.594 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.5331, allocations: 11.91 kB / 0.594 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.5333, allocations: 178.8 kB / 0.5942 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.5333, allocations: 4 kB / 0.5942 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.5334, allocations: 11.94 kB / 0.5942 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002202/0.5336, allocations: 108.5 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.5338, allocations: 114.9 kB / 0.5944 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5338, allocations: 0 / 0.5944 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.5338, allocations: 0 / 0.5944 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.5338, allocations: 8 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008358/0.5347, allocations: 0.4913 MB / 0.5949 GB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.5348, allocations: 74.69 kB / 0.595 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.083e-05/0.5349, allocations: 40.84 kB / 0.595 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.5349, allocations: 0 / 0.595 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.535, allocations: 42.52 kB / 0.5951 GB, free: 9.512 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.535, allocations: 4 kB / 0.5951 GB, free: 9.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002548/0.5353, allocations: 85.61 kB / 0.5952 GB, free: 9.418 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.5353, allocations: 55.41 kB / 0.5952 GB, free: 9.352 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.158e-05/0.5354, allocations: 105.3 kB / 0.5953 GB, free: 9.238 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.5354, allocations: 29.69 kB / 0.5953 GB, free: 9.203 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.5355, allocations: 115.5 kB / 0.5954 GB, free: 9.086 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.5355, allocations: 39.41 kB / 0.5955 GB, free: 9.047 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.5355, allocations: 0 / 0.5955 GB, free: 9.047 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.5356, allocations: 319.2 kB / 0.5958 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.5357, allocations: 28 kB / 0.5958 GB, free: 8.699 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.5358, allocations: 63.67 kB / 0.5959 GB, free: 8.621 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.706e-05/0.5358, allocations: 27.98 kB / 0.5959 GB, free: 8.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5359, allocations: 15.88 kB / 0.5959 GB, free: 8.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001893/0.5361, allocations: 113.5 kB / 0.596 GB, free: 8.461 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5361, allocations: 4 kB / 0.596 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.5361, allocations: 4 kB / 0.596 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.5361, allocations: 3.953 kB / 0.596 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.5363, allocations: 51.84 kB / 0.5961 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003874/0.5367, allocations: 0.5901 MB / 0.5967 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.5369, allocations: 19.88 kB / 0.5967 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.5369, allocations: 11.98 kB / 0.5967 GB, free: 7.754 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 8.827e-05/0.537, allocations: 104.9 kB / 0.5968 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.537, allocations: 11.86 kB / 0.5968 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.5373, allocations: 135.7 kB / 0.5969 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5373, allocations: 7.984 kB / 0.5969 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5373, allocations: 0 / 0.5969 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.5373, allocations: 0 / 0.5969 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.5376, allocations: 178.1 kB / 0.5971 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5376, allocations: 4 kB / 0.5971 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.5378, allocations: 51.89 kB / 0.5972 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.5378, allocations: 3.953 kB / 0.5972 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.5378, allocations: 3.984 kB / 0.5972 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002764/0.5381, allocations: 0.5821 MB / 0.5977 GB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5381, allocations: 0 / 0.5977 GB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.5384, allocations: 256 kB / 0.598 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.5385, allocations: 93.03 kB / 0.5981 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.5385, allocations: 0 / 0.5981 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.5386, allocations: 11.98 kB / 0.5981 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.5387, allocations: 7.984 kB / 0.5981 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.5387, allocations: 4 kB / 0.5981 GB, free: 6.211 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.58e-05/0.5387, allocations: 95.33 kB / 0.5982 GB, free: 6.117 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5387, allocations: 0 / 0.5982 GB, free: 6.117 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003622/0.5391, allocations: 83.77 kB / 0.5983 GB, free: 6.035 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.0003604/0.5395, allocations: 203.5 kB / 0.5985 GB, free: 5.824 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.5397, allocations: 95.78 kB / 0.5985 GB, free: 5.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5397, allocations: 0 / 0.5985 GB, free: 5.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.5399, allocations: 54.23 kB / 0.5986 GB, free: 5.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.5401, allocations: 3.953 kB / 0.5986 GB, free: 5.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.5405, allocations: 178.7 kB / 0.5988 GB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.5408, allocations: 0.7121 MB / 0.5995 GB, free: 4.738 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.216e-05/0.5409, allocations: 16.55 kB / 0.5995 GB, free: 4.719 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.5409, allocations: 15.44 kB / 0.5995 GB, free: 4.707 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.541, allocations: 0 / 0.5995 GB, free: 4.707 MB / 410.7 MB Notification: Performance of Templates: time 0.004922/0.5459, allocations: 2.133 MB / 0.6016 GB, free: 2.605 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