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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008218/0.0008218, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003293/0.003293, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8486/0.8486, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 34.24 MB / 295.6 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] 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=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_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=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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 443.5 MB, free: 1.008 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.841e-05, allocations: 2.281 kB / 443.5 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.1635/0.1635, allocations: 1.781 MB / 445.2 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1647, allocations: 1.271 MB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.1647, allocations: 3.938 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.1649, allocations: 43.89 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.165, allocations: 57.08 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1653, allocations: 253.3 kB / 446.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.824e-05/0.1654, allocations: 116.2 kB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.1654, allocations: 6.062 kB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.1656, allocations: 66.39 kB / 447 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.1656, allocations: 41.78 kB / 447.1 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.1656, allocations: 2.656 kB / 447.1 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.1659, allocations: 315.9 kB / 447.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.1659, allocations: 21.98 kB / 447.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.1659, allocations: 28.56 kB / 447.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.1662, allocations: 337.8 kB / 447.8 MB, free: 42.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1662, allocations: 0 / 447.8 MB, free: 42.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1662, allocations: 0 / 447.8 MB, free: 42.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1662, allocations: 0.5 kB / 447.8 MB, free: 42.69 MB / 410.7 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.0003384/0.1666, allocations: 371.8 kB / 448.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1666, allocations: 10.97 kB / 448.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.1667, allocations: 14.16 kB / 448.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.612e-05/0.1667, allocations: 118.2 kB / 448.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1667, allocations: 13.62 kB / 448.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.1667, allocations: 16.19 kB / 448.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1669, allocations: 143.2 kB / 448.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1669, allocations: 4.781 kB / 448.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1669, allocations: 4 kB / 448.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1669, allocations: 2.75 kB / 448.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.1671, allocations: 142.8 kB / 448.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.1676, allocations: 405.1 kB / 449 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.1677, allocations: 92.41 kB / 449.1 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.1678, allocations: 45.58 kB / 449.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1678, allocations: 0 / 449.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.989e-06/0.1678, allocations: 37.53 kB / 449.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 7.51e-07/0.1678, allocations: 1.5 kB / 449.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002613/0.1681, allocations: 166.9 kB / 449.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.1681, allocations: 58.25 kB / 449.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.015e-05/0.1681, allocations: 116.2 kB / 449.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.1681, allocations: 25.7 kB / 449.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.1682, allocations: 116.9 kB / 449.6 MB, free: 41.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.1682, allocations: 42.38 kB / 449.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.1682, allocations: 33.83 kB / 449.7 MB, free: 41.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.582e-05/0.1683, allocations: 321 kB / 450 MB, free: 40.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.1683, allocations: 41.72 kB / 450.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.1684, allocations: 76.86 kB / 450.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1685, allocations: 133.5 kB / 450.3 MB, free: 40.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1685, allocations: 0 / 450.3 MB, free: 40.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001587/0.1687, allocations: 160.1 kB / 450.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.1687, allocations: 9.5 kB / 450.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1687, allocations: 2.906 kB / 450.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1687, allocations: 5.781 kB / 450.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1688, allocations: 42.09 kB / 450.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001319/0.1689, allocations: 0.5931 MB / 451.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.169, allocations: 21.25 kB / 451.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.169, allocations: 5.688 kB / 451.1 MB, free: 40.08 MB / 410.7 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 4.554e-05/0.169, allocations: 119.6 kB / 451.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.169, allocations: 6.828 kB / 451.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.1693, allocations: 179.5 kB / 451.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1693, allocations: 2.844 kB / 451.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1693, allocations: 0 / 451.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1693, allocations: 3.328 kB / 451.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.1694, allocations: 149.9 kB / 451.6 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1694, allocations: 0 / 451.6 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.6e-05/0.1695, allocations: 46.3 kB / 451.6 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1695, allocations: 0 / 451.6 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1695, allocations: 2.906 kB / 451.6 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-05/0.1696, allocations: 0.5947 MB / 452.2 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1696, allocations: 0 / 452.2 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.1698, allocations: 290.5 kB / 452.5 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.1698, allocations: 23.56 kB / 452.5 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.1698, allocations: 4 kB / 452.5 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-05/0.1699, allocations: 8.672 kB / 452.5 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.1699, allocations: 16.52 kB / 452.5 MB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1699, allocations: 7 kB / 452.5 MB, free: 38.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.707e-05/0.1699, allocations: 94.88 kB / 452.6 MB, free: 38.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1699, allocations: 0 / 452.6 MB, free: 38.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002019/0.1701, allocations: 80.47 kB / 452.7 MB, free: 38.81 MB / 410.7 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.0001927/0.1703, allocations: 183 kB / 452.9 MB, free: 38.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1705, allocations: 117.5 kB / 453 MB, free: 38.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1705, allocations: 0 / 453 MB, free: 38.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/0.1706, allocations: 71.97 kB / 453.1 MB, free: 38.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.1708, allocations: 10.84 kB / 453.1 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.1712, allocations: 316.1 kB / 453.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.97e-05/0.1712, allocations: 93.94 kB / 453.5 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.1712, allocations: 24.88 kB / 453.5 MB, free: 38.34 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1712, allocations: 0 / 453.5 MB, free: 38.34 MB / 410.7 MB Notification: Performance of Templates: time 0.002515/0.1738, allocations: 2.662 MB / 456.2 MB, free: 38.11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.106873103417456]