Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 226.5 MB / 244.1 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007792/0.0007792, allocations: 105.6 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2909/0.2909, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.000404, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3166, allocations: 62.96 MB / 0.5165 GB, free: 36.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.4347, allocations: 95.07 MB / 0.6093 GB, free: 10.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.435, allocations: 99.92 kB / 0.6094 GB, free: 10.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02262/0.4577, allocations: 7.921 MB / 0.6172 GB, free: 2.246 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4577, allocations: 0 / 0.6172 GB, free: 2.246 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4577, allocations: 4 kB / 0.6172 GB, free: 2.242 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.0005755/0.4583, allocations: 443.1 kB / 0.6176 GB, free: 1.758 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4584, allocations: 12.03 kB / 0.6176 GB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.4584, allocations: 12.75 kB / 0.6176 GB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.4586, allocations: 188.1 kB / 0.6178 GB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.4586, allocations: 8.375 kB / 0.6178 GB, free: 1.504 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.4586, allocations: 8.375 kB / 0.6178 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.4589, allocations: 151.9 kB / 0.618 GB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.4589, allocations: 192 / 0.618 GB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.459, allocations: 11.94 kB / 0.618 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.459, allocations: 0 / 0.618 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.4593, allocations: 151.8 kB / 0.6181 GB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.4601, allocations: 0.5162 MB / 0.6186 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.4604, allocations: 102.7 kB / 0.6187 GB, free: 500 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.4605, allocations: 52.83 kB / 0.6188 GB, free: 444 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.4606, allocations: 8 kB / 0.6188 GB, free: 436 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.4606, allocations: 34.5 kB / 0.6188 GB, free: 392 kB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.4606, allocations: 3.938 kB / 0.6188 GB, free: 388 kB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004671/0.4611, allocations: 185.4 kB / 0.619 GB, free: 196 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.4611, allocations: 55.41 kB / 0.619 GB, free: 128 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.4612, allocations: 109.8 kB / 0.6191 GB, free: 8 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.4612, allocations: 29.7 kB / 0.6192 GB, free: 15.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.4613, allocations: 111.7 kB / 0.6193 GB, free: 15.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.4614, allocations: 39.39 kB / 0.6193 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.4614, allocations: 4 kB / 0.6193 GB, free: 15.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4615, allocations: 318.8 kB / 0.6196 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.4616, allocations: 43.95 kB / 0.6197 GB, free: 15.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.4617, allocations: 89.06 kB / 0.6197 GB, free: 15.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.462, allocations: 141.4 kB / 0.6199 GB, free: 15.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.462, allocations: 0 / 0.6199 GB, free: 15.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003222/0.4624, allocations: 173.4 kB / 0.62 GB, free: 15.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.4624, allocations: 4 kB / 0.6201 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4624, allocations: 4 kB / 0.6201 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.4624, allocations: 0 / 0.6201 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.4626, allocations: 55.91 kB / 0.6201 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003359/0.463, allocations: 0.59 MB / 0.6207 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.4631, allocations: 12.39 kB / 0.6207 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.4631, allocations: 12 kB / 0.6207 GB, free: 14.32 MB / 442.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 0.0001012/0.4632, allocations: 125.7 kB / 0.6208 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.4633, allocations: 7.906 kB / 0.6208 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/0.4637, allocations: 185.9 kB / 0.621 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4637, allocations: 0 / 0.621 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4637, allocations: 0 / 0.621 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4637, allocations: 4 kB / 0.621 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.464, allocations: 217.5 kB / 0.6212 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.464, allocations: 0 / 0.6212 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.4642, allocations: 47.91 kB / 0.6213 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4642, allocations: 0 / 0.6213 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.4642, allocations: 0 / 0.6213 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002925/0.4645, allocations: 0.5977 MB / 0.6219 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4645, allocations: 0 / 0.6219 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.465, allocations: 312.8 kB / 0.6222 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.4651, allocations: 100.9 kB / 0.6222 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.4651, allocations: 7.984 kB / 0.6223 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.4652, allocations: 11.94 kB / 0.6223 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.4653, allocations: 7.984 kB / 0.6223 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.4653, allocations: 8 kB / 0.6223 GB, free: 12.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.606e-05/0.4653, allocations: 91.27 kB / 0.6224 GB, free: 12.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4654, allocations: 4.062 kB / 0.6224 GB, free: 12.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004228/0.4658, allocations: 95.77 kB / 0.6225 GB, free: 12.4 MB / 442.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.0003779/0.4662, allocations: 207 kB / 0.6227 GB, free: 12.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003767/0.4665, allocations: 131.9 kB / 0.6228 GB, free: 12.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4666, allocations: 0 / 0.6228 GB, free: 12.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.4668, allocations: 88.2 kB / 0.6229 GB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.467, allocations: 4 kB / 0.6229 GB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.4677, allocations: 398 kB / 0.6233 GB, free: 11.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.468, allocations: 0.7043 MB / 0.6239 GB, free: 10.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.468, allocations: 19.7 kB / 0.624 GB, free: 10.8 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/0.468, allocations: 0 / 0.624 GB, free: 10.8 MB / 442.7 MB Notification: Performance of Templates: time 0.004429/0.4725, allocations: 2.75 MB / 0.6266 GB, free: 8.059 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches