Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.001299/0.001299, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001424/0.001424, allocations: 213.6 kB / 22.99 MB, free: 4.945 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.8207/0.8207, allocations: 134 MB / 447.2 MB, free: 9.949 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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") [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.002098/0.002098, allocations: 71.7 kB / 0.6197 GB, free: 6.363 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1728, allocations: 85.91 MB / 0.7036 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003423/0.1762, allocations: 1.749 MB / 0.7053 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1777, allocations: 0.7059 MB / 0.706 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1778, allocations: 4 kB / 0.706 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.991e-05/0.1778, allocations: 7.875 kB / 0.706 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.732e-05/0.1779, allocations: 15.8 kB / 0.706 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006597/0.1786, allocations: 186.4 kB / 0.7062 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1788, allocations: 127.6 kB / 0.7063 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.179, allocations: 45.53 kB / 0.7064 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.1792, allocations: 71.7 kB / 0.7064 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1793, allocations: 39.78 kB / 0.7065 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.1793, allocations: 12 kB / 0.7065 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1795, allocations: 55.95 kB / 0.7065 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.1795, allocations: 27.91 kB / 0.7066 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.068e-05/0.1796, allocations: 43.78 kB / 0.7066 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.1799, allocations: 159.4 kB / 0.7068 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1799, allocations: 0 / 0.7068 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1799, allocations: 0 / 0.7068 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.1799, allocations: 0 / 0.7068 GB, free: 13.29 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007026/0.1806, allocations: 373.6 kB / 0.7071 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1806, allocations: 16.03 kB / 0.7071 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.1816, allocations: 124.7 kB / 0.7073 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.182, allocations: 150.8 kB / 0.7074 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.1822, allocations: 123.4 kB / 0.7075 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.1822, allocations: 11.94 kB / 0.7075 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.1827, allocations: 216.9 kB / 0.7077 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1828, allocations: 0 / 0.7077 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.1828, allocations: 4 kB / 0.7077 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1828, allocations: 4 kB / 0.7077 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/0.1834, allocations: 155.8 kB / 0.7079 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.1845, allocations: 401.2 kB / 0.7083 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.1855, allocations: 218.2 kB / 0.7085 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.1858, allocations: 80.91 kB / 0.7086 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.1858, allocations: 4 kB / 0.7086 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1859, allocations: 30.56 kB / 0.7086 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1859, allocations: 0 / 0.7086 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.001042/0.1869, allocations: 273.2 kB / 0.7089 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.1869, allocations: 55.41 kB / 0.7089 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1871, allocations: 141.1 kB / 0.709 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.1871, allocations: 25.7 kB / 0.7091 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.1872, allocations: 108.2 kB / 0.7092 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1872, allocations: 23.84 kB / 0.7092 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.1873, allocations: 29.64 kB / 0.7092 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1875, allocations: 322.8 kB / 0.7095 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.1878, allocations: 75.92 kB / 0.7096 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.1881, allocations: 98.42 kB / 0.7097 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/0.1887, allocations: 166.6 kB / 0.7099 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1887, allocations: 0 / 0.7099 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006964/0.1894, allocations: 221.4 kB / 0.7101 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1894, allocations: 6.344 kB / 0.7101 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1894, allocations: 0 / 0.7101 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1894, allocations: 4 kB / 0.7101 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.1896, allocations: 31.95 kB / 0.7101 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1897, allocations: 0 / 0.7101 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.1899, allocations: 31.91 kB / 0.7101 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1899, allocations: 7.984 kB / 0.7101 GB, free: 9.602 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001116/0.19, allocations: 121.8 kB / 0.7103 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.19, allocations: 11.89 kB / 0.7103 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007256/0.1908, allocations: 206.2 kB / 0.7105 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.1908, allocations: 0 / 0.7105 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1908, allocations: 0 / 0.7105 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1908, allocations: 0 / 0.7105 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.191, allocations: 162 kB / 0.7106 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.191, allocations: 0 / 0.7106 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.1912, allocations: 31.95 kB / 0.7107 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.1912, allocations: 3.938 kB / 0.7107 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1912, allocations: 7.984 kB / 0.7107 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1912, allocations: 0 / 0.7107 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1912, allocations: 4 kB / 0.7107 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007054/0.1919, allocations: 287.4 kB / 0.7109 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.192, allocations: 3.953 kB / 0.7109 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.192, allocations: 11.94 kB / 0.711 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.1923, allocations: 31.95 kB / 0.711 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.1923, allocations: 3.984 kB / 0.711 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1923, allocations: 7.984 kB / 0.711 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.369e-05/0.1924, allocations: 113.9 kB / 0.7111 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1924, allocations: 0 / 0.7111 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000262/0.1927, allocations: 27.89 kB / 0.7111 GB, free: 8.523 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 (6): * Single equations (assignments): 6 * 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.0001307/0.1928, allocations: 91.25 kB / 0.7112 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006572/0.1935, allocations: 171.7 kB / 0.7114 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1935, allocations: 0 / 0.7114 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.1938, allocations: 83.97 kB / 0.7115 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.1941, allocations: 15.88 kB / 0.7115 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.1948, allocations: 285.4 kB / 0.7118 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.992e-05/0.1949, allocations: 85.19 kB / 0.7118 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.1949, allocations: 19.42 kB / 0.7119 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.1949, allocations: 4 kB / 0.7119 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of Templates: time 0.003618/0.1986, allocations: 1.676 MB / 0.7135 GB, free: 6.051 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.460599605925381] Failed to read output from testmodel.py, exit status != 0: 0.20620612986385822 0.22134380199999995 0.038171902 Calling exit ...