Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 109.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.2 MB / 255.2 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2541/0.2541, allocations: 46.89 MB / 358.1 MB, free: 10.55 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-beta.om/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=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-beta.om_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-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 75.88 kB / 0.4924 GB, free: 8.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1535, allocations: 65.98 MB / 0.5568 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003365/0.1569, allocations: 1.831 MB / 0.5586 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.1593, allocations: 1.398 MB / 0.56 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.1594, allocations: 0 / 0.56 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.1597, allocations: 39.77 kB / 0.56 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1599, allocations: 55.61 kB / 0.5601 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.1606, allocations: 259 kB / 0.5603 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.1608, allocations: 103.4 kB / 0.5604 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.1609, allocations: 5.125 kB / 0.5604 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.1611, allocations: 55.72 kB / 0.5605 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.1612, allocations: 43.77 kB / 0.5605 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1612, allocations: 4 kB / 0.5605 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008538/0.162, allocations: 0.5146 MB / 0.561 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.1621, allocations: 19.86 kB / 0.561 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.1621, allocations: 39.75 kB / 0.5611 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005939/0.1627, allocations: 358.8 kB / 0.5614 GB, free: 1.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1627, allocations: 0 / 0.5614 GB, free: 1.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1627, allocations: 0 / 0.5614 GB, free: 1.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1627, allocations: 0 / 0.5614 GB, free: 1.223 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.0006762/0.1634, allocations: 466.4 kB / 0.5619 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1634, allocations: 11.97 kB / 0.5619 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.1635, allocations: 12.89 kB / 0.5619 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.1636, allocations: 184.2 kB / 0.5621 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1637, allocations: 8.375 kB / 0.5621 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.1637, allocations: 12.12 kB / 0.5621 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.164, allocations: 145.6 kB / 0.5622 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.164, allocations: 0 / 0.5622 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.164, allocations: 4 kB / 0.5622 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1641, allocations: 8 kB / 0.5622 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.1644, allocations: 131.9 kB / 0.5624 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009587/0.1653, allocations: 0.5145 MB / 0.5629 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.1656, allocations: 98.53 kB / 0.5629 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.1658, allocations: 44.83 kB / 0.563 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.1658, allocations: 4 kB / 0.563 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.1658, allocations: 34.56 kB / 0.563 GB, free: 15.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1658, allocations: 0 / 0.563 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005222/0.1663, allocations: 165.4 kB / 0.5632 GB, free: 15.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1664, allocations: 55.41 kB / 0.5632 GB, free: 15.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.1665, allocations: 117.8 kB / 0.5633 GB, free: 15.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1665, allocations: 25.7 kB / 0.5634 GB, free: 14.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.1666, allocations: 119.6 kB / 0.5635 GB, free: 14.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.1666, allocations: 47.67 kB / 0.5635 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.1667, allocations: 25.72 kB / 0.5636 GB, free: 14.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1668, allocations: 326.8 kB / 0.5639 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1669, allocations: 35.97 kB / 0.5639 GB, free: 14.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.1671, allocations: 82.52 kB / 0.564 GB, free: 14.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.1674, allocations: 132.9 kB / 0.5641 GB, free: 14.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1674, allocations: 0 / 0.5641 GB, free: 14.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003539/0.1677, allocations: 157.5 kB / 0.5643 GB, free: 14.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1678, allocations: 8 kB / 0.5643 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1678, allocations: 3.984 kB / 0.5643 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1678, allocations: 4 kB / 0.5643 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.168, allocations: 44.34 kB / 0.5643 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004327/0.1684, allocations: 0.5978 MB / 0.5649 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1685, allocations: 15.94 kB / 0.5649 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1686, allocations: 11.98 kB / 0.5649 GB, free: 13.32 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.0001117/0.1687, allocations: 121.7 kB / 0.565 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.1687, allocations: 7.953 kB / 0.5651 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.1691, allocations: 177.3 kB / 0.5652 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.1692, allocations: 3.984 kB / 0.5652 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1692, allocations: 3.938 kB / 0.5652 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1692, allocations: 3.984 kB / 0.5652 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.1694, allocations: 209.6 kB / 0.5654 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1694, allocations: 0 / 0.5654 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.1697, allocations: 47.91 kB / 0.5655 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.1697, allocations: 4 kB / 0.5655 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1697, allocations: 8 kB / 0.5655 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003712/0.17, allocations: 0.586 MB / 0.5661 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.17, allocations: 3.938 kB / 0.5661 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.1706, allocations: 299.4 kB / 0.5664 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.1707, allocations: 105 kB / 0.5665 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1707, allocations: 0 / 0.5665 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1708, allocations: 7.984 kB / 0.5665 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.1708, allocations: 11.98 kB / 0.5665 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1709, allocations: 4 kB / 0.5665 GB, free: 11.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.681e-05/0.1709, allocations: 91.27 kB / 0.5666 GB, free: 11.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1709, allocations: 0 / 0.5666 GB, free: 11.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003747/0.1713, allocations: 79.75 kB / 0.5666 GB, free: 11.45 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.0003304/0.1716, allocations: 170.9 kB / 0.5668 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.172, allocations: 127.8 kB / 0.5669 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.172, allocations: 0 / 0.5669 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.1723, allocations: 59.95 kB / 0.567 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.1726, allocations: 16.75 kB / 0.567 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007315/0.1733, allocations: 342.2 kB / 0.5673 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1736, allocations: 0.7039 MB / 0.568 GB, free: 9.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.1737, allocations: 19.44 kB / 0.568 GB, free: 9.953 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1737, allocations: 0 / 0.568 GB, free: 9.953 MB / 430.1 MB Notification: Performance of Templates: time 0.00508/0.1788, allocations: 2.596 MB / 0.5706 GB, free: 7.359 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.929075344931334]