Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.001334/0.001334, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001531/0.001531, allocations: 216.2 kB / 23.01 MB, free: 4.609 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8521/0.8521, allocations: 134 MB / 447.2 MB, free: 10.31 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 70.58 kB / 0.6198 GB, free: 6.758 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1689, allocations: 85.9 MB / 0.7037 GB, free: 0.9258 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002882/0.1718, allocations: 1.501 MB / 0.7051 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1729, allocations: 0.6318 MB / 0.7058 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.173, allocations: 3.938 kB / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.173, allocations: 4 kB / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.173, allocations: 3.938 kB / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.1733, allocations: 63.81 kB / 0.7058 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.1734, allocations: 31.86 kB / 0.7059 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.1735, allocations: 3.984 kB / 0.7059 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1737, allocations: 19.94 kB / 0.7059 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.1737, allocations: 19.91 kB / 0.7059 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1737, allocations: 0 / 0.7059 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.1739, allocations: 55.95 kB / 0.7059 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.1739, allocations: 11.94 kB / 0.706 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.1739, allocations: 11.94 kB / 0.706 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.1741, allocations: 79.72 kB / 0.706 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1741, allocations: 3.938 kB / 0.7061 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1741, allocations: 0 / 0.7061 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1741, allocations: 0 / 0.7061 GB, free: 14.47 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004376/0.1745, allocations: 278.1 kB / 0.7063 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1746, allocations: 8.031 kB / 0.7063 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.1747, allocations: 16.88 kB / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1749, allocations: 118.5 kB / 0.7065 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.175, allocations: 4.375 kB / 0.7065 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.175, allocations: 8.312 kB / 0.7065 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1751, allocations: 42 kB / 0.7065 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1751, allocations: 3.938 kB / 0.7065 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1751, allocations: 4 kB / 0.7065 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.1751, allocations: 0 / 0.7065 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.714e-05/0.1752, allocations: 23.92 kB / 0.7065 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.1756, allocations: 231.9 kB / 0.7068 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.443e-05/0.1757, allocations: 30.56 kB / 0.7068 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.1757, allocations: 12.92 kB / 0.7068 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006679/0.1764, allocations: 95.86 kB / 0.7069 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1764, allocations: 34.56 kB / 0.7069 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1764, allocations: 0 / 0.7069 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002427/0.1766, allocations: 61.61 kB / 0.707 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1767, allocations: 55.41 kB / 0.707 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1768, allocations: 114 kB / 0.7071 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1768, allocations: 25.7 kB / 0.7072 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.1769, allocations: 88.14 kB / 0.7073 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.1769, allocations: 3.953 kB / 0.7073 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.1769, allocations: 13.72 kB / 0.7073 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1771, allocations: 318.8 kB / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.555e-05/0.1771, allocations: 8 kB / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.1772, allocations: 11.98 kB / 0.7076 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.1773, allocations: 36.78 kB / 0.7076 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1773, allocations: 0 / 0.7076 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001269/0.1774, allocations: 53.64 kB / 0.7077 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1774, allocations: 8 kB / 0.7077 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1774, allocations: 3.984 kB / 0.7077 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1774, allocations: 0 / 0.7077 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.1775, allocations: 7.984 kB / 0.7077 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1775, allocations: 4.031 kB / 0.7077 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.079e-05/0.1776, allocations: 4 kB / 0.7077 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1776, allocations: 0 / 0.7077 GB, free: 12.59 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.472e-05/0.1776, allocations: 113.8 kB / 0.7078 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1777, allocations: 4 kB / 0.7078 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.1778, allocations: 61.61 kB / 0.7079 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1778, allocations: 3.938 kB / 0.7079 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1779, allocations: 4 kB / 0.7079 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1779, allocations: 4.031 kB / 0.7079 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.178, allocations: 144.6 kB / 0.708 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.178, allocations: 0 / 0.708 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.1781, allocations: 7.984 kB / 0.708 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1781, allocations: 0 / 0.708 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1781, allocations: 4 kB / 0.708 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.1781, allocations: 0 / 0.708 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1781, allocations: 0 / 0.708 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.1783, allocations: 159.4 kB / 0.7082 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.1783, allocations: 4 kB / 0.7082 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.1783, allocations: 3.984 kB / 0.7082 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.1784, allocations: 0 / 0.7082 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.1784, allocations: 4 kB / 0.7082 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1784, allocations: 0 / 0.7082 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.853e-05/0.1785, allocations: 91.27 kB / 0.7083 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1785, allocations: 0 / 0.7083 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00024/0.1787, allocations: 19.97 kB / 0.7083 GB, free: 11.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.1789, allocations: 111.2 kB / 0.7084 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.179, allocations: 19.98 kB / 0.7084 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.179, allocations: 0 / 0.7084 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.767e-05/0.1791, allocations: 19.92 kB / 0.7084 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.1793, allocations: 7.938 kB / 0.7085 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.1796, allocations: 152.8 kB / 0.7086 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.18, allocations: 0.6844 MB / 0.7093 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.18, allocations: 7.438 kB / 0.7093 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.18, allocations: 0 / 0.7093 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of Templates: time 0.002538/0.1825, allocations: 0.8469 MB / 0.7101 GB, free: 9.988 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.808646037010476] Failed to read output from testmodel.py, exit status != 0: 0.19036605302244425 0.20584992100000002 0.028592669 Calling exit ...