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.0008379/0.0008379, allocations: 179 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 242.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008036/0.0008035, allocations: 100.5 kB / 293.3 MB, free: 10.57 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.3008/0.3008, allocations: 44.15 MB / 388.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003606, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2991, allocations: 61.88 MB / 0.5107 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.4108, allocations: 94.16 MB / 0.6027 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.4111, allocations: 107.9 kB / 0.6028 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02226/0.4334, allocations: 7.843 MB / 0.6105 GB, free: 8.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4334, allocations: 0 / 0.6105 GB, free: 8.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.4334, allocations: 7.938 kB / 0.6105 GB, free: 8.922 MB / 426.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.0005606/0.434, allocations: 443 kB / 0.6109 GB, free: 8.438 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.4341, allocations: 12.03 kB / 0.6109 GB, free: 8.426 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.4341, allocations: 12.75 kB / 0.6109 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.4343, allocations: 176.2 kB / 0.6111 GB, free: 8.203 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.4343, allocations: 8.375 kB / 0.6111 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.4343, allocations: 12.38 kB / 0.6111 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.4346, allocations: 148.4 kB / 0.6112 GB, free: 8.035 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4347, allocations: 192 / 0.6112 GB, free: 8.035 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.4347, allocations: 7.938 kB / 0.6112 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.4347, allocations: 4 kB / 0.6113 GB, free: 8.023 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.435, allocations: 151.9 kB / 0.6114 GB, free: 7.875 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008717/0.4359, allocations: 0.522 MB / 0.6119 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.4361, allocations: 106.6 kB / 0.612 GB, free: 7.172 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.4363, allocations: 56.83 kB / 0.6121 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.4363, allocations: 3.984 kB / 0.6121 GB, free: 7.109 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.4363, allocations: 34.5 kB / 0.6121 GB, free: 7.066 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.4363, allocations: 0 / 0.6121 GB, free: 7.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004507/0.4368, allocations: 181.4 kB / 0.6123 GB, free: 6.883 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.4368, allocations: 55.41 kB / 0.6123 GB, free: 6.816 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.4369, allocations: 117.8 kB / 0.6124 GB, free: 6.691 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.4369, allocations: 25.7 kB / 0.6125 GB, free: 6.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.437, allocations: 115.6 kB / 0.6126 GB, free: 6.543 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.4371, allocations: 39.45 kB / 0.6126 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.4371, allocations: 4 kB / 0.6126 GB, free: 6.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4372, allocations: 318.8 kB / 0.6129 GB, free: 6.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.4373, allocations: 43.97 kB / 0.613 GB, free: 6.137 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.4374, allocations: 81.12 kB / 0.613 GB, free: 6.039 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.4377, allocations: 145.4 kB / 0.6132 GB, free: 5.879 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4377, allocations: 0 / 0.6132 GB, free: 5.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003132/0.438, allocations: 173.3 kB / 0.6133 GB, free: 5.703 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.438, allocations: 11.98 kB / 0.6134 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4381, allocations: 384 / 0.6134 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4381, allocations: 4 kB / 0.6134 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.4383, allocations: 52.06 kB / 0.6134 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003248/0.4386, allocations: 0.5859 MB / 0.614 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.4387, allocations: 19.91 kB / 0.614 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.4388, allocations: 7.984 kB / 0.614 GB, free: 5 MB / 426.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 () * Number of clocked 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 9.4e-05/0.4389, allocations: 129.8 kB / 0.6141 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.4389, allocations: 7.906 kB / 0.6141 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.4393, allocations: 177.9 kB / 0.6143 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4393, allocations: 0 / 0.6143 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4393, allocations: 7.984 kB / 0.6143 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4393, allocations: 0 / 0.6143 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.4395, allocations: 217.5 kB / 0.6145 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4396, allocations: 0 / 0.6145 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.4398, allocations: 47.91 kB / 0.6146 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4398, allocations: 4 kB / 0.6146 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.4398, allocations: 7.938 kB / 0.6146 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003036/0.4401, allocations: 0.5821 MB / 0.6151 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4401, allocations: 0 / 0.6151 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.4406, allocations: 313.5 kB / 0.6154 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.4407, allocations: 89.03 kB / 0.6155 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.4407, allocations: 0 / 0.6155 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.4408, allocations: 23.98 kB / 0.6156 GB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.4409, allocations: 7.984 kB / 0.6156 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.4409, allocations: 11.98 kB / 0.6156 GB, free: 3.277 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.552e-05/0.441, allocations: 87.27 kB / 0.6157 GB, free: 3.191 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.441, allocations: 0 / 0.6157 GB, free: 3.191 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004233/0.4414, allocations: 91.72 kB / 0.6157 GB, free: 3.102 MB / 426.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 () * Number of clocked 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.0004106/0.4418, allocations: 207.6 kB / 0.6159 GB, free: 2.887 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.4422, allocations: 140 kB / 0.6161 GB, free: 2.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4422, allocations: 0 / 0.6161 GB, free: 2.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.4424, allocations: 73.33 kB / 0.6161 GB, free: 2.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.4427, allocations: 8 kB / 0.6162 GB, free: 2.672 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.4434, allocations: 368.5 kB / 0.6165 GB, free: 2.281 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.4437, allocations: 0.7121 MB / 0.6172 GB, free: 1.543 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.588e-05/0.4438, allocations: 16.55 kB / 0.6172 GB, free: 1.523 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.4438, allocations: 23.38 kB / 0.6172 GB, free: 1.504 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4438, allocations: 0 / 0.6172 GB, free: 1.504 MB / 426.7 MB Notification: Performance of Templates: time 0.005433/0.4493, allocations: 2.355 MB / 0.6195 GB, free: 15.19 MB / 442.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/jenkins1/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