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.0007982/0.0007982, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0008557/0.0008557, allocations: 215.9 kB / 23.01 MB, free: 3.098 MB / 13.93 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 0.8863/0.8863, allocations: 230.6 MB / 256.8 MB, free: 9.809 MB / 202.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-531:190: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-531:198: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.7445/0.7445, allocations: 203.8 MB / 0.5049 GB, free: 10.74 MB / 410.7 MB " [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: 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.000931/0.000931, allocations: 70.78 kB / 0.7195 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4714/0.4724, allocations: 102 MB / 0.8191 GB, free: 1.566 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.001983/0.4743, allocations: 1.83 MB / 0.8209 GB, free: 304 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007625/0.4751, allocations: 0.7518 MB / 0.8216 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.4752, allocations: 3.781 kB / 0.8216 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.4752, allocations: 14.39 kB / 0.8216 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.255e-05/0.4752, allocations: 15.2 kB / 0.8216 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.4757, allocations: 185.1 kB / 0.8218 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.4758, allocations: 131.7 kB / 0.8219 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.476, allocations: 40.83 kB / 0.822 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.4761, allocations: 63.17 kB / 0.822 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.4762, allocations: 52.64 kB / 0.8221 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.4762, allocations: 8.688 kB / 0.8221 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.805e-05/0.4763, allocations: 59.08 kB / 0.8221 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.4763, allocations: 33.77 kB / 0.8222 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.4764, allocations: 56.19 kB / 0.8222 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.4765, allocations: 160.7 kB / 0.8224 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4765, allocations: 0 / 0.8224 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4765, allocations: 3.938 kB / 0.8224 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4766, allocations: 0 / 0.8224 GB, free: 15.38 MB / 0.6198 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.0004262/0.477, allocations: 366.5 kB / 0.8227 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.477, allocations: 9.375 kB / 0.8227 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004926/0.4775, allocations: 134.3 kB / 0.8229 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.4777, allocations: 146.9 kB / 0.823 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.023e-05/0.4778, allocations: 119.6 kB / 0.8231 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.4778, allocations: 14.16 kB / 0.8231 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.4781, allocations: 165.9 kB / 0.8233 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4781, allocations: 0.9375 kB / 0.8233 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.4781, allocations: 7.844 kB / 0.8233 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4781, allocations: 1.562 kB / 0.8233 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.4784, allocations: 153.8 kB / 0.8235 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/0.4792, allocations: 466.6 kB / 0.8239 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.4797, allocations: 206.1 kB / 0.8241 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.4799, allocations: 78.44 kB / 0.8242 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.4799, allocations: 1.891 kB / 0.8242 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.4799, allocations: 52.38 kB / 0.8242 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.4799, allocations: 1.531 kB / 0.8242 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005686/0.4805, allocations: 261 kB / 0.8245 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.4805, allocations: 53.42 kB / 0.8245 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.4806, allocations: 145.3 kB / 0.8247 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4806, allocations: 27.27 kB / 0.8247 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.4807, allocations: 110.9 kB / 0.8248 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.4807, allocations: 27.45 kB / 0.8248 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.4807, allocations: 24.11 kB / 0.8248 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.4808, allocations: 320.6 kB / 0.8252 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.481, allocations: 77.59 kB / 0.8252 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.4811, allocations: 96.67 kB / 0.8253 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.4815, allocations: 160.6 kB / 0.8255 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4815, allocations: 1.344 kB / 0.8255 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003558/0.4818, allocations: 209.2 kB / 0.8257 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.4818, allocations: 5.5 kB / 0.8257 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4818, allocations: 1.156 kB / 0.8257 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.4818, allocations: 1.922 kB / 0.8257 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.482, allocations: 39.75 kB / 0.8257 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.482, allocations: 1.5 kB / 0.8257 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.09e-05/0.4821, allocations: 29.38 kB / 0.8257 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.4821, allocations: 4.391 kB / 0.8258 GB, free: 13.23 MB / 0.6198 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 6.724e-05/0.4821, allocations: 118.8 kB / 0.8259 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.4822, allocations: 11.67 kB / 0.8259 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.4826, allocations: 208.3 kB / 0.8261 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4826, allocations: 5.156 kB / 0.8261 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4826, allocations: 0.7969 kB / 0.8261 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4826, allocations: 1.062 kB / 0.8261 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.4828, allocations: 217.8 kB / 0.8263 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4828, allocations: 0.5156 kB / 0.8263 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.4829, allocations: 39.25 kB / 0.8263 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4829, allocations: 1.125 kB / 0.8263 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.4829, allocations: 2.719 kB / 0.8263 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4829, allocations: 0.5156 kB / 0.8263 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4829, allocations: 3.938 kB / 0.8263 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.4832, allocations: 291.8 kB / 0.8266 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.4833, allocations: 19.42 kB / 0.8266 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.4833, allocations: 1.344 kB / 0.8266 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.4834, allocations: 27.83 kB / 0.8267 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.4834, allocations: 5.531 kB / 0.8267 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.4835, allocations: 11.73 kB / 0.8267 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.4835, allocations: 111.5 kB / 0.8268 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4835, allocations: 0 / 0.8268 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001641/0.4837, allocations: 24.58 kB / 0.8268 GB, free: 12.52 MB / 0.6198 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 8.28e-05/0.4838, allocations: 93.12 kB / 0.8269 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003629/0.4841, allocations: 165.2 kB / 0.8271 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.4841, allocations: 1.344 kB / 0.8271 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.4843, allocations: 80.25 kB / 0.8271 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.4845, allocations: 14.86 kB / 0.8271 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.4849, allocations: 295.4 kB / 0.8274 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.4851, allocations: 0.7031 MB / 0.8281 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.4851, allocations: 16.25 kB / 0.8281 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.4851, allocations: 0 / 0.8281 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.002496/0.4876, allocations: 1.651 MB / 0.8297 GB, free: 11.32 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4971977670211345] Failed to read output from testmodel.py, exit status != 0: 0.49258877406828105 0.502223966 0.023811485 Calling exit ...