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.001717/0.001717, allocations: 80.91 kB / 19.76 MB, free: 1.898 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.001675/0.001675, allocations: 162.1 kB / 23.01 MB, free: 4.574 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.453/1.453, allocations: 177.2 MB / 203.4 MB, free: 9.254 MB / 190.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.8389/0.8389, allocations: 101.3 MB / 361.1 MB, free: 10.07 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.002168/0.002168, allocations: 68.31 kB / 0.5356 GB, free: 5.547 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1784, allocations: 85.87 MB / 0.6195 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003866/0.1823, allocations: 1.764 MB / 0.6212 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1838, allocations: 0.6943 MB / 0.6219 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.1839, allocations: 8 kB / 0.6219 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.1839, allocations: 7.875 kB / 0.6219 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.206e-05/0.184, allocations: 19.78 kB / 0.6219 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006232/0.1847, allocations: 185.1 kB / 0.6221 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.1849, allocations: 131.6 kB / 0.6222 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.185, allocations: 41.55 kB / 0.6223 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.1852, allocations: 87.73 kB / 0.6224 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.094e-05/0.1853, allocations: 43.78 kB / 0.6224 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.1854, allocations: 8 kB / 0.6224 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1855, allocations: 59.89 kB / 0.6225 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.1855, allocations: 27.91 kB / 0.6225 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.1856, allocations: 51.77 kB / 0.6225 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1858, allocations: 155.4 kB / 0.6227 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1858, allocations: 4 kB / 0.6227 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1858, allocations: 0 / 0.6227 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.1858, allocations: 0 / 0.6227 GB, free: 14.56 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.0006311/0.1865, allocations: 365.7 kB / 0.623 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1865, allocations: 8.031 kB / 0.6231 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009874/0.1875, allocations: 136.6 kB / 0.6232 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.1878, allocations: 154.8 kB / 0.6233 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.188, allocations: 119.3 kB / 0.6234 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.188, allocations: 15.94 kB / 0.6235 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.1885, allocations: 217 kB / 0.6237 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1885, allocations: 0 / 0.6237 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.1886, allocations: 0 / 0.6237 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.1886, allocations: 7.984 kB / 0.6237 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006174/0.1892, allocations: 155.8 kB / 0.6238 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1903, allocations: 413.4 kB / 0.6242 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000971/0.1912, allocations: 210.3 kB / 0.6244 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.1915, allocations: 76.89 kB / 0.6245 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1915, allocations: 4 kB / 0.6245 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.1916, allocations: 34.56 kB / 0.6245 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1916, allocations: 4 kB / 0.6245 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0009844/0.1926, allocations: 269.2 kB / 0.6248 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.1926, allocations: 51.41 kB / 0.6248 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1928, allocations: 144.1 kB / 0.625 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.1928, allocations: 29.7 kB / 0.625 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.1929, allocations: 108.3 kB / 0.6251 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.1929, allocations: 19.78 kB / 0.6251 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.1929, allocations: 25.7 kB / 0.6251 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1931, allocations: 318.8 kB / 0.6255 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.1934, allocations: 75.91 kB / 0.6255 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.1937, allocations: 94.5 kB / 0.6256 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005542/0.1943, allocations: 162.4 kB / 0.6258 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1943, allocations: 4 kB / 0.6258 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006627/0.1949, allocations: 205.3 kB / 0.626 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1949, allocations: 4 kB / 0.626 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1949, allocations: 4.25 kB / 0.626 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.195, allocations: 12.05 kB / 0.626 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.1952, allocations: 31.95 kB / 0.626 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.1952, allocations: 8 kB / 0.626 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.1954, allocations: 23.97 kB / 0.6261 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.1954, allocations: 4 kB / 0.6261 GB, free: 10.89 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.0001103/0.1955, allocations: 125.7 kB / 0.6262 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.1956, allocations: 11.89 kB / 0.6262 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/0.1963, allocations: 202.3 kB / 0.6264 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1963, allocations: 4 kB / 0.6264 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1963, allocations: 3.938 kB / 0.6264 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1963, allocations: 0 / 0.6264 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.1965, allocations: 162.1 kB / 0.6265 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1965, allocations: 0 / 0.6265 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.1967, allocations: 31.95 kB / 0.6266 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1967, allocations: 3.938 kB / 0.6266 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.1967, allocations: 7.984 kB / 0.6266 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.1968, allocations: 3.938 kB / 0.6266 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1968, allocations: 0 / 0.6266 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.1974, allocations: 287.3 kB / 0.6269 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.1974, allocations: 7.953 kB / 0.6269 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.1975, allocations: 3.938 kB / 0.6269 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.1978, allocations: 27.95 kB / 0.6269 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.1978, allocations: 11.98 kB / 0.6269 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.1978, allocations: 8 kB / 0.6269 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.099e-05/0.1979, allocations: 108 kB / 0.627 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1979, allocations: 0 / 0.627 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002686/0.1982, allocations: 27.89 kB / 0.627 GB, free: 9.809 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.0001223/0.1983, allocations: 97.98 kB / 0.6271 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006438/0.1989, allocations: 163.8 kB / 0.6273 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1989, allocations: 0 / 0.6273 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.1992, allocations: 84.09 kB / 0.6274 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.1995, allocations: 18.23 kB / 0.6274 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006558/0.2002, allocations: 267.8 kB / 0.6276 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.2003, allocations: 85.31 kB / 0.6277 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.2004, allocations: 16 kB / 0.6277 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.2005, allocations: 20.48 kB / 0.6278 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.2005, allocations: 0 / 0.6278 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.004322/0.2048, allocations: 1.531 MB / 0.6293 GB, free: 7.504 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.532353811897337] Failed to read output from testmodel.py, exit status != 0: 0.21359902806580067 0.22940180399999996 0.04025001899999994 Calling exit ...