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.0019/0.0019, allocations: 110.5 kB / 19.69 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.002546/0.002546, allocations: 211.3 kB / 23 MB, free: 4.57 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.8633/0.8633, allocations: 134 MB / 447.2 MB, free: 10.22 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.002217/0.002217, allocations: 62.47 kB / 0.6198 GB, free: 6.777 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1691, allocations: 85.91 MB / 0.7037 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003468/0.1726, allocations: 1.818 MB / 0.7054 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.174, allocations: 0.7527 MB / 0.7062 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1741, allocations: 0 / 0.7062 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.722e-05/0.1742, allocations: 11.86 kB / 0.7062 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.169e-05/0.1743, allocations: 19.75 kB / 0.7062 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.1749, allocations: 186.6 kB / 0.7064 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.1752, allocations: 123.7 kB / 0.7065 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1753, allocations: 45.55 kB / 0.7065 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.1755, allocations: 67.77 kB / 0.7066 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1756, allocations: 55.7 kB / 0.7067 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.1756, allocations: 12 kB / 0.7067 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.1758, allocations: 55.97 kB / 0.7067 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.1758, allocations: 31.89 kB / 0.7068 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.1759, allocations: 59.7 kB / 0.7068 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.1761, allocations: 147.4 kB / 0.707 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1761, allocations: 0 / 0.707 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1761, allocations: 3.938 kB / 0.707 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.1762, allocations: 0 / 0.707 GB, free: 13.55 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.0006624/0.1768, allocations: 373.6 kB / 0.7073 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1769, allocations: 12.03 kB / 0.7073 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.1779, allocations: 128.6 kB / 0.7075 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.1782, allocations: 162.8 kB / 0.7076 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.1783, allocations: 115.4 kB / 0.7077 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1784, allocations: 7.938 kB / 0.7077 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.1789, allocations: 167.9 kB / 0.7079 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1789, allocations: 0 / 0.7079 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.1789, allocations: 8 kB / 0.7079 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1789, allocations: 0 / 0.7079 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.1795, allocations: 159.8 kB / 0.708 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.1807, allocations: 460.6 kB / 0.7085 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1817, allocations: 214.3 kB / 0.7087 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.182, allocations: 76.91 kB / 0.7088 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.182, allocations: 0 / 0.7088 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.1821, allocations: 46.48 kB / 0.7088 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1821, allocations: 0 / 0.7088 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.00101/0.1831, allocations: 261.3 kB / 0.7091 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1831, allocations: 59.41 kB / 0.7091 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1833, allocations: 140.5 kB / 0.7092 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.1833, allocations: 25.7 kB / 0.7093 GB, free: 11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.1834, allocations: 116.2 kB / 0.7094 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.1834, allocations: 15.86 kB / 0.7094 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.1835, allocations: 25.7 kB / 0.7094 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1836, allocations: 326.8 kB / 0.7097 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.1839, allocations: 75.92 kB / 0.7098 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.1842, allocations: 94.48 kB / 0.7099 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/0.1848, allocations: 158.4 kB / 0.71 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1848, allocations: 256 / 0.71 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006967/0.1855, allocations: 221.3 kB / 0.7103 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.1855, allocations: 4 kB / 0.7103 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1855, allocations: 0 / 0.7103 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1856, allocations: 4 kB / 0.7103 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.1858, allocations: 31.95 kB / 0.7103 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1859, allocations: 8.062 kB / 0.7103 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.186, allocations: 27.89 kB / 0.7103 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1861, allocations: 4 kB / 0.7103 GB, free: 9.867 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.0001192/0.1862, allocations: 121.8 kB / 0.7105 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.1862, allocations: 11.89 kB / 0.7105 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007217/0.187, allocations: 206.2 kB / 0.7107 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.187, allocations: 0 / 0.7107 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.187, allocations: 3.984 kB / 0.7107 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.187, allocations: 3.938 kB / 0.7107 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.1873, allocations: 213.3 kB / 0.7109 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1873, allocations: 4 kB / 0.7109 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.1875, allocations: 35.89 kB / 0.7109 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.1875, allocations: 3.984 kB / 0.7109 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1875, allocations: 0 / 0.7109 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1875, allocations: 0 / 0.7109 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1875, allocations: 0 / 0.7109 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.1882, allocations: 287.3 kB / 0.7112 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.1882, allocations: 7.953 kB / 0.7112 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1883, allocations: 4 kB / 0.7112 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.1886, allocations: 31.95 kB / 0.7112 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.1886, allocations: 8.172 kB / 0.7112 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.1886, allocations: 11.98 kB / 0.7112 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.94e-05/0.1887, allocations: 104.6 kB / 0.7113 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1887, allocations: 0 / 0.7113 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000289/0.189, allocations: 35.83 kB / 0.7114 GB, free: 8.719 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.0001396/0.1891, allocations: 99.17 kB / 0.7115 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006566/0.1898, allocations: 159.8 kB / 0.7116 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1898, allocations: 0 / 0.7116 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.1901, allocations: 83.84 kB / 0.7117 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.1904, allocations: 11.94 kB / 0.7117 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/0.1911, allocations: 285.5 kB / 0.712 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.1915, allocations: 0.7002 MB / 0.7127 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.394e-05/0.1916, allocations: 19.42 kB / 0.7127 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.1916, allocations: 4 kB / 0.7127 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of Templates: time 0.003907/0.1955, allocations: 1.638 MB / 0.7143 GB, free: 5.664 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: 8.038729525869712] Failed to read output from testmodel.py, exit status != 0: 0.2040080779697746 0.229744459 0.0487883 Calling exit ...