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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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|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|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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 93 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 169.1 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2189/0.2189, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003854, allocations: 9.406 kB / 410.4 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 61.91 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002236/0.1262, allocations: 1.512 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.1285, allocations: 1.337 MB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.1286, allocations: 0 / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.1288, allocations: 39.81 kB / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.129, allocations: 43.69 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.1295, allocations: 207.3 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.1297, allocations: 91.47 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.1297, allocations: 12.98 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.1299, allocations: 51.77 kB / 475.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.13, allocations: 55.72 kB / 475.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.13, allocations: 4 kB / 475.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007051/0.1307, allocations: 495 kB / 476.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.1307, allocations: 15.92 kB / 476.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/0.1308, allocations: 69.38 kB / 476.2 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.1313, allocations: 355.3 kB / 476.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1313, allocations: 3.938 kB / 476.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1313, allocations: 0 / 476.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1314, allocations: 0 / 476.5 MB, free: 9.055 MB / 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.000557/0.1319, allocations: 429.4 kB / 477 MB, free: 8.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.132, allocations: 8.031 kB / 477 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.132, allocations: 16.84 kB / 477 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1322, allocations: 180.2 kB / 477.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.1322, allocations: 8.375 kB / 477.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.1322, allocations: 16.12 kB / 477.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.1326, allocations: 141.6 kB / 477.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1326, allocations: 0 / 477.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1326, allocations: 8 kB / 477.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1326, allocations: 0 / 477.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.1329, allocations: 148.9 kB / 477.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009253/0.1339, allocations: 0.5182 MB / 478 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.1342, allocations: 110.5 kB / 478.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.1343, allocations: 56.83 kB / 478.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.1344, allocations: 7.984 kB / 478.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1344, allocations: 34.56 kB / 478.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.1344, allocations: 3.938 kB / 478.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005425/0.135, allocations: 185.4 kB / 478.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.135, allocations: 51.41 kB / 478.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1351, allocations: 117.8 kB / 478.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1352, allocations: 33.7 kB / 478.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.1352, allocations: 107.8 kB / 478.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.1353, allocations: 35.45 kB / 478.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.1353, allocations: 17.72 kB / 478.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1354, allocations: 322.8 kB / 479 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.1356, allocations: 47.91 kB / 479.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1357, allocations: 81.12 kB / 479.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.136, allocations: 152.9 kB / 479.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1361, allocations: 0 / 479.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000347/0.1364, allocations: 165.5 kB / 479.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1364, allocations: 8 kB / 479.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1364, allocations: 0 / 479.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1365, allocations: 4 kB / 479.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.1367, allocations: 47.97 kB / 479.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003539/0.1371, allocations: 0.5938 MB / 480.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1372, allocations: 20 kB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1372, allocations: 4 kB / 480.2 MB, free: 5.125 MB / 350.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.0001057/0.1373, allocations: 125.8 kB / 480.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.1373, allocations: 7.906 kB / 480.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.1378, allocations: 182.2 kB / 480.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1378, allocations: 4 kB / 480.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1378, allocations: 3.938 kB / 480.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1378, allocations: 7.984 kB / 480.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.1381, allocations: 209.5 kB / 480.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1381, allocations: 3.984 kB / 480.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.1383, allocations: 39.98 kB / 480.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1383, allocations: 0 / 480.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1383, allocations: 7.984 kB / 480.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003343/0.1386, allocations: 0.5898 MB / 481.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1387, allocations: 0 / 481.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.1392, allocations: 314.6 kB / 481.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.1393, allocations: 104.9 kB / 481.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1393, allocations: 0 / 481.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.1394, allocations: 11.98 kB / 481.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.1395, allocations: 15.92 kB / 481.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1395, allocations: 8 kB / 481.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.309e-05/0.1396, allocations: 87.27 kB / 481.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1396, allocations: 4.062 kB / 481.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003924/0.14, allocations: 71.94 kB / 481.9 MB, free: 3.23 MB / 350.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.0003384/0.1403, allocations: 171.9 kB / 482.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.1407, allocations: 131.9 kB / 482.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1407, allocations: 320 / 482.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.1409, allocations: 83.89 kB / 482.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.1412, allocations: 11.94 kB / 482.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007128/0.142, allocations: 387 kB / 482.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1423, allocations: 0.7004 MB / 483.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.093e-05/0.1424, allocations: 20.53 kB / 483.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.1424, allocations: 23.44 kB / 483.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1424, allocations: 0 / 483.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of Templates: time 0.005211/0.1476, allocations: 2.122 MB / 485.6 MB, free: 15.57 MB / 366.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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