Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 115.1 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2221/0.2221, allocations: 46.93 MB / 357.8 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.1.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=5000,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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 0.4921 GB, free: 7.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1294, allocations: 65.99 MB / 0.5565 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003371/0.1327, allocations: 1.817 MB / 0.5583 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.1352, allocations: 1.398 MB / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1353, allocations: 0 / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1355, allocations: 47.7 kB / 0.5597 GB, free: 2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.1357, allocations: 55.61 kB / 0.5598 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.1364, allocations: 251 kB / 0.56 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1366, allocations: 107.4 kB / 0.5601 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.1366, allocations: 9.125 kB / 0.5601 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.1368, allocations: 55.78 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.555e-05/0.1369, allocations: 51.7 kB / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1369, allocations: 4 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007999/0.1377, allocations: 0.5069 MB / 0.5607 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.1378, allocations: 15.88 kB / 0.5608 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.189e-05/0.1378, allocations: 43.73 kB / 0.5608 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006318/0.1385, allocations: 362.8 kB / 0.5611 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1385, allocations: 0 / 0.5611 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1385, allocations: 0 / 0.5611 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1385, allocations: 4 kB / 0.5611 GB, free: 0.5508 MB / 414.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.0006489/0.1391, allocations: 458.4 kB / 0.5616 GB, free: 56 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1392, allocations: 8.031 kB / 0.5616 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.1392, allocations: 12.89 kB / 0.5616 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.1394, allocations: 176.2 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1394, allocations: 8.375 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.1394, allocations: 16.12 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.1397, allocations: 145.6 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1398, allocations: 0 / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1398, allocations: 4 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1398, allocations: 4 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.1401, allocations: 135.8 kB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000965/0.1411, allocations: 0.5223 MB / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.1414, allocations: 94.58 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.1415, allocations: 44.83 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1415, allocations: 0 / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1416, allocations: 46.5 kB / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1416, allocations: 0 / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005183/0.1421, allocations: 161.4 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1421, allocations: 59.34 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1422, allocations: 113.8 kB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1423, allocations: 29.7 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.1423, allocations: 119.6 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.1424, allocations: 43.69 kB / 0.5633 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.1424, allocations: 33.7 kB / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1426, allocations: 318.8 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1427, allocations: 35.97 kB / 0.5636 GB, free: 13.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.1429, allocations: 89 kB / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.1432, allocations: 132.9 kB / 0.5638 GB, free: 13.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1432, allocations: 4 kB / 0.5638 GB, free: 13.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003718/0.1436, allocations: 153.5 kB / 0.564 GB, free: 13.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1436, allocations: 9.875 kB / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1436, allocations: 4 kB / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1436, allocations: 4 kB / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.1438, allocations: 47.91 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004264/0.1443, allocations: 0.5978 MB / 0.5646 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.1444, allocations: 4 kB / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.1444, allocations: 15.98 kB / 0.5647 GB, free: 12.65 MB / 430.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.0001308/0.1445, allocations: 123.9 kB / 0.5648 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.1446, allocations: 8.047 kB / 0.5648 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/0.1451, allocations: 177.9 kB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1451, allocations: 0 / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1451, allocations: 3.938 kB / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.1451, allocations: 3.984 kB / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.1454, allocations: 209.6 kB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1454, allocations: 7.938 kB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.1456, allocations: 47.91 kB / 0.5652 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1456, allocations: 0 / 0.5652 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1456, allocations: 4 kB / 0.5652 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003597/0.146, allocations: 0.586 MB / 0.5658 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.146, allocations: 0 / 0.5658 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.1465, allocations: 299.4 kB / 0.5661 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.655e-05/0.1466, allocations: 101 kB / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1466, allocations: 4 kB / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1467, allocations: 7.984 kB / 0.5662 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.1468, allocations: 11.98 kB / 0.5662 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1468, allocations: 8.062 kB / 0.5662 GB, free: 10.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.724e-05/0.1469, allocations: 91.27 kB / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1469, allocations: 288 / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004106/0.1473, allocations: 75.69 kB / 0.5664 GB, free: 10.79 MB / 430.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.0003684/0.1476, allocations: 182.8 kB / 0.5665 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000439/0.1481, allocations: 115.9 kB / 0.5666 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1481, allocations: 0 / 0.5666 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.1483, allocations: 68.2 kB / 0.5667 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1486, allocations: 12.94 kB / 0.5667 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.1493, allocations: 337 kB / 0.567 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1497, allocations: 0.7078 MB / 0.5677 GB, free: 9.309 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.1497, allocations: 23.44 kB / 0.5678 GB, free: 9.285 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1497, allocations: 3.938 kB / 0.5678 GB, free: 9.281 MB / 430.1 MB Notification: Performance of Templates: time 0.005497/0.1552, allocations: 2.595 MB / 0.5703 GB, free: 6.691 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.76718587600044]