Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009048/0.0009048, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.000975/0.000975, allocations: 165.3 kB / 23.02 MB, free: 1.551 MB / 18.57 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.046/1.046, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.83/0.83, allocations: 154.8 MB / 414.7 MB, free: 456 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.5206 GB, free: 1.945 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.969e-05, allocations: 8.719 kB / 0.5206 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.006556/0.006586, allocations: 1.825 MB / 0.5224 GB, free: 132 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.01103, allocations: 0.7142 MB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.01113, allocations: 0.9375 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.367e-05/0.01119, allocations: 11.86 kB / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.705e-05/0.01127, allocations: 20.62 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/0.01197, allocations: 183 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.01221, allocations: 127.6 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.01237, allocations: 37.55 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.01261, allocations: 88.53 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.01574, allocations: 33.28 kB / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.01579, allocations: 15.94 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.01594, allocations: 47.95 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.01597, allocations: 35.89 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.01603, allocations: 37.14 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.0163, allocations: 147.5 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.01631, allocations: 0 / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.824e-06/0.01631, allocations: 2.125 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.01632, allocations: 0 / 0.5238 GB, free: 14.64 MB / 0.4948 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.0005882/0.01691, allocations: 460 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.01695, allocations: 12.03 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006444/0.0176, allocations: 106.6 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.01786, allocations: 162 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.01796, allocations: 116.3 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.01799, allocations: 12.38 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.01836, allocations: 195.9 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.01837, allocations: 0 / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.01839, allocations: 0 / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.0184, allocations: 5.031 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.01853, allocations: 58.16 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003743/0.02227, allocations: 423.7 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007776/0.02305, allocations: 148.9 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.02313, allocations: 31.81 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.02316, allocations: 7.984 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.02319, allocations: 38.36 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.0232, allocations: 0 / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0003606/0.02356, allocations: 118.2 kB / 0.5256 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.02359, allocations: 59.34 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.02377, allocations: 203.7 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.02379, allocations: 29.64 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.02388, allocations: 158.9 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.02391, allocations: 27.78 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.02398, allocations: 35.36 kB / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.02413, allocations: 496.1 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.02421, allocations: 27.98 kB / 0.5266 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/0.0243, allocations: 51.3 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.02454, allocations: 82.08 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.02454, allocations: 3.938 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002249/0.02477, allocations: 109.6 kB / 0.5268 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.02479, allocations: 4 kB / 0.5268 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.02479, allocations: 0 / 0.5268 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/0.02482, allocations: 9.438 kB / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.02499, allocations: 23.97 kB / 0.5269 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.025, allocations: 160 / 0.5269 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.14e-05/0.02509, allocations: 23.47 kB / 0.5269 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.02511, allocations: 7.969 kB / 0.5269 GB, free: 11.23 MB / 0.4948 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.0001058/0.02521, allocations: 164.5 kB / 0.5271 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.02526, allocations: 7.953 kB / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.02552, allocations: 110.4 kB / 0.5272 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.02553, allocations: 10.38 kB / 0.5272 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.02553, allocations: 0 / 0.5272 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.02554, allocations: 3.984 kB / 0.5272 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.02575, allocations: 157.6 kB / 0.5273 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02575, allocations: 0 / 0.5273 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.02587, allocations: 23.97 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.02587, allocations: 1.406 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.02589, allocations: 4 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.02589, allocations: 0 / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.02589, allocations: 3.938 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.02615, allocations: 252.9 kB / 0.5276 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.02617, allocations: 11.91 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.02619, allocations: 5.141 kB / 0.5276 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.02634, allocations: 15.98 kB / 0.5276 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.0264, allocations: 18.3 kB / 0.5277 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.02642, allocations: 7.984 kB / 0.5277 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.362e-05/0.0265, allocations: 143.7 kB / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0265, allocations: 0 / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003018/0.02681, allocations: 27.94 kB / 0.5278 GB, free: 10.21 MB / 0.4948 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.0001815/0.02699, allocations: 97.3 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.02723, allocations: 75.59 kB / 0.528 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.02724, allocations: 0 / 0.528 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.4e-05/0.02732, allocations: 43.67 kB / 0.528 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.02769, allocations: 17.39 kB / 0.5281 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007809/0.02847, allocations: 235.8 kB / 0.5283 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.498e-05/0.02853, allocations: 65.41 kB / 0.5283 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.63e-05/0.02862, allocations: 15.75 kB / 0.5284 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.02868, allocations: 16.48 kB / 0.5284 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of SimCode: time 1.433e-06/0.02868, allocations: 0.5938 kB / 0.5284 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of Templates: time 0.004793/0.03348, allocations: 1.535 MB / 0.5299 GB, free: 8.133 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.003667196724564]