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.001026/0.001026, allocations: 92.75 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001755, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 11.94 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 63.57 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00224/0.1392, allocations: 1.528 MB / 484.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.1414, allocations: 1.379 MB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.1414, allocations: 0 / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.1417, allocations: 39.81 kB / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.1419, allocations: 47.69 kB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.1424, allocations: 215 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1426, allocations: 95.47 kB / 486.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.192e-05/0.1427, allocations: 9.125 kB / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.1429, allocations: 63.64 kB / 486.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.143, allocations: 43.78 kB / 486.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1431, allocations: 4 kB / 486.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007863/0.1439, allocations: 0.5029 MB / 487 MB, free: 196 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.1439, allocations: 15.86 kB / 487 MB, free: 180 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.704e-05/0.144, allocations: 69.44 kB / 487.1 MB, free: 104 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005946/0.1446, allocations: 363.3 kB / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1446, allocations: 0 / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1446, allocations: 0 / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1446, allocations: 0 / 487.5 MB, free: 15.74 MB / 366.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.0007556/0.1454, allocations: 427.2 kB / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.1455, allocations: 12.88 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.1455, allocations: 8.844 kB / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1457, allocations: 180.1 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.1458, allocations: 8.375 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.1458, allocations: 16.12 kB / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.1462, allocations: 153.6 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1462, allocations: 0 / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1463, allocations: 0 / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1463, allocations: 7.828 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.1466, allocations: 155.8 kB / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009301/0.1476, allocations: 0.5065 MB / 488.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.1479, allocations: 110.6 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.148, allocations: 56.83 kB / 489.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1481, allocations: 8 kB / 489.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1481, allocations: 30.56 kB / 489.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.1481, allocations: 0 / 489.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005249/0.1486, allocations: 181.4 kB / 489.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.1487, allocations: 55.41 kB / 489.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.1488, allocations: 113.8 kB / 489.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1488, allocations: 25.7 kB / 489.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.1489, allocations: 107.8 kB / 489.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.1489, allocations: 47.38 kB / 489.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.149, allocations: 21.7 kB / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1491, allocations: 322.8 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1492, allocations: 40.34 kB / 490 MB, free: 12.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.1494, allocations: 89.05 kB / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.1497, allocations: 145.4 kB / 490.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1498, allocations: 0 / 490.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003805/0.1501, allocations: 181.3 kB / 490.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1502, allocations: 4 kB / 490.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1502, allocations: 4 kB / 490.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1502, allocations: 0 / 490.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.1504, allocations: 51.91 kB / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005392/0.151, allocations: 0.5861 MB / 491.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.1511, allocations: 23.95 kB / 491.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.1512, allocations: 8 kB / 491.1 MB, free: 11.81 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.1513, allocations: 125.7 kB / 491.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.1513, allocations: 7.906 kB / 491.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/0.1518, allocations: 178 kB / 491.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1518, allocations: 0 / 491.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1518, allocations: 7.875 kB / 491.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1518, allocations: 0 / 491.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.1521, allocations: 221.5 kB / 491.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1521, allocations: 0 / 491.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.1523, allocations: 47.91 kB / 491.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1523, allocations: 0 / 491.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1524, allocations: 4 kB / 491.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002822/0.1526, allocations: 0.586 MB / 492.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1527, allocations: 4.062 kB / 492.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.1531, allocations: 311.3 kB / 492.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.1532, allocations: 96.95 kB / 492.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1532, allocations: 4 kB / 492.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1534, allocations: 11.98 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.1534, allocations: 15.98 kB / 492.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1534, allocations: 4 kB / 492.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.862e-05/0.1535, allocations: 99.2 kB / 492.8 MB, free: 9.988 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1535, allocations: 0 / 492.8 MB, free: 9.988 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003659/0.1539, allocations: 79.98 kB / 492.9 MB, free: 9.91 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002948/0.1542, allocations: 171.1 kB / 493 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.1546, allocations: 135.8 kB / 493.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1546, allocations: 0 / 493.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.1548, allocations: 80.2 kB / 493.3 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.1551, allocations: 11.94 kB / 493.3 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.1558, allocations: 376.6 kB / 493.6 MB, free: 9.113 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.156, allocations: 0.7082 MB / 494.3 MB, free: 8.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.09e-05/0.1561, allocations: 20.48 kB / 494.4 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.1562, allocations: 15.44 kB / 494.4 MB, free: 8.344 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1562, allocations: 0 / 494.4 MB, free: 8.344 MB / 366.1 MB Notification: Performance of Templates: time 0.005266/0.1615, allocations: 2.221 MB / 496.6 MB, free: 6.156 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