Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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|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_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|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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009498/0.0009498, allocations: 93.7 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 195 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.7 MB / 246.4 MB, free: 9.797 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 46.18 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002963, allocations: 8.219 kB / 418.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.164, allocations: 63.58 MB / 482.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00224/0.1663, allocations: 1.498 MB / 483.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.1685, allocations: 1.267 MB / 485.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.1685, allocations: 0 / 485.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.1688, allocations: 35.83 kB / 485.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1689, allocations: 43.7 kB / 485.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.1694, allocations: 203.3 kB / 485.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1695, allocations: 99.45 kB / 485.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/0.1696, allocations: 9.125 kB / 485.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.1698, allocations: 55.7 kB / 485.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.1699, allocations: 43.78 kB / 485.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1699, allocations: 4 kB / 485.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006794/0.1706, allocations: 491 kB / 486.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.1706, allocations: 11.92 kB / 486.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.1707, allocations: 41.64 kB / 486.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.1711, allocations: 219.8 kB / 486.4 MB, free: 476 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1711, allocations: 3.938 kB / 486.4 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1711, allocations: 4 kB / 486.4 MB, free: 468 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1711, allocations: 0 / 486.4 MB, free: 468 kB / 350.1 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.0006921/0.1718, allocations: 430.9 kB / 486.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.1719, allocations: 8.031 kB / 486.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.1719, allocations: 7.906 kB / 486.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1721, allocations: 178.8 kB / 487.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.1721, allocations: 12 kB / 487.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.1722, allocations: 16 kB / 487.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.1725, allocations: 149.6 kB / 487.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1725, allocations: 0 / 487.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1725, allocations: 0 / 487.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1726, allocations: 4 kB / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.1729, allocations: 151.8 kB / 487.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/0.1739, allocations: 0.5221 MB / 487.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.1742, allocations: 94.66 kB / 488 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.1743, allocations: 64.83 kB / 488.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.1744, allocations: 0 / 488.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.1744, allocations: 30.56 kB / 488.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 3.046e-06/0.1744, allocations: 0 / 488.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005007/0.1749, allocations: 185.4 kB / 488.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/0.175, allocations: 51.41 kB / 488.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.1751, allocations: 114 kB / 488.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1751, allocations: 25.7 kB / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.1752, allocations: 115.7 kB / 488.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.1752, allocations: 43.41 kB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.1753, allocations: 0 / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1754, allocations: 322.8 kB / 488.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.1755, allocations: 43.97 kB / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1757, allocations: 89.05 kB / 489.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1758, allocations: 52.38 kB / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1758, allocations: 0 / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003372/0.1762, allocations: 177.7 kB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.1762, allocations: 4 kB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1762, allocations: 4 kB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1762, allocations: 0 / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1765, allocations: 60 kB / 489.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003724/0.1769, allocations: 0.5821 MB / 489.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.177, allocations: 23.88 kB / 490 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.177, allocations: 8 kB / 490 MB, free: 12.66 MB / 366.1 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.0001088/0.1771, allocations: 125.8 kB / 490.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.1771, allocations: 7.906 kB / 490.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.1776, allocations: 178 kB / 490.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1776, allocations: 0 / 490.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1776, allocations: 0 / 490.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1776, allocations: 0 / 490.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.1779, allocations: 221.5 kB / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1779, allocations: 4 kB / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.1781, allocations: 51.84 kB / 490.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1781, allocations: 4 kB / 490.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1781, allocations: 8 kB / 490.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003213/0.1785, allocations: 0.586 MB / 491.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1785, allocations: 3.938 kB / 491.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.1789, allocations: 310.6 kB / 491.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.179, allocations: 89.03 kB / 491.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1791, allocations: 7.984 kB / 491.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1792, allocations: 12.06 kB / 491.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.1792, allocations: 19.92 kB / 491.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.1792, allocations: 4 kB / 491.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.685e-05/0.1793, allocations: 91.27 kB / 491.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1793, allocations: 0 / 491.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000392/0.1797, allocations: 75.92 kB / 491.7 MB, free: 10.77 MB / 366.1 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.0003404/0.1801, allocations: 175.6 kB / 491.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.1805, allocations: 140 kB / 492 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1805, allocations: 0 / 492 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.1807, allocations: 75.95 kB / 492.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.181, allocations: 7.938 kB / 492.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007236/0.1817, allocations: 376.4 kB / 492.5 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1821, allocations: 0.7043 MB / 493.2 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.1822, allocations: 20.77 kB / 493.2 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.1822, allocations: 15.44 kB / 493.2 MB, free: 9.203 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1822, allocations: 0 / 493.2 MB, free: 9.203 MB / 366.1 MB Notification: Performance of Templates: time 0.006095/0.1883, allocations: 2.171 MB / 495.4 MB, free: 7.066 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches