Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.0008591/0.0008591, allocations: 100.4 kB / 19.71 MB, free: 448 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.001036/0.001036, allocations: 212.1 kB / 23 MB, free: 2.973 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.9627/0.9627, allocations: 230.6 MB / 256.8 MB, free: 9.57 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.7891/0.7891, allocations: 203.8 MB / 0.5049 GB, free: 10.36 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") [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.0008799/0.0008799, allocations: 71.39 kB / 0.7194 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4735, allocations: 102 MB / 0.819 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001801/0.4753, allocations: 1.479 MB / 0.8205 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007199/0.476, allocations: 0.5873 MB / 0.821 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.4761, allocations: 1 kB / 0.821 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.4761, allocations: 4.594 kB / 0.821 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.24e-05/0.4761, allocations: 6 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.4764, allocations: 62.42 kB / 0.8211 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.668e-05/0.4765, allocations: 35.73 kB / 0.8211 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.329e-05/0.4766, allocations: 7.281 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.4767, allocations: 20.89 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.4767, allocations: 12.98 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.4767, allocations: 1 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.4768, allocations: 54.62 kB / 0.8212 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.4768, allocations: 13.62 kB / 0.8212 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.4769, allocations: 9.906 kB / 0.8213 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.477, allocations: 66.59 kB / 0.8213 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.477, allocations: 0 / 0.8213 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.477, allocations: 1.25 kB / 0.8213 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.477, allocations: 0 / 0.8213 GB, free: 15.79 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003088/0.4773, allocations: 289.6 kB / 0.8216 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4773, allocations: 8.609 kB / 0.8216 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007417/0.4848, allocations: 2.437 MB / 0.824 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.485, allocations: 142 kB / 0.8241 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.485, allocations: 2.266 kB / 0.8241 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.4851, allocations: 5.5 kB / 0.8241 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.4877, allocations: 1.021 MB / 0.8251 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4878, allocations: 0 / 0.8251 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.4878, allocations: 0.5625 kB / 0.8251 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.4878, allocations: 5.562 kB / 0.8251 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005165/0.4929, allocations: 1.862 MB / 0.827 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003426/0.4964, allocations: 1.396 MB / 0.8283 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005154/0.5015, allocations: 1.87 MB / 0.8301 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002533/0.5041, allocations: 0.9378 MB / 0.8311 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.5041, allocations: 5.125 kB / 0.8311 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.5041, allocations: 35.56 kB / 0.8311 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.235e-06/0.5041, allocations: 0 / 0.8311 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.007254/0.5114, allocations: 2.744 MB / 0.8338 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.5114, allocations: 52.59 kB / 0.8338 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.594e-05/0.5115, allocations: 116.5 kB / 0.8339 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.5115, allocations: 26.55 kB / 0.834 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.5116, allocations: 82.33 kB / 0.834 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.5116, allocations: 9.078 kB / 0.834 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.5117, allocations: 22.97 kB / 0.8341 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.5118, allocations: 320 kB / 0.8344 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/0.5142, allocations: 0.9293 MB / 0.8353 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.5166, allocations: 0.9325 MB / 0.8362 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004447/0.521, allocations: 1.683 MB / 0.8378 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.521, allocations: 0 / 0.8378 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.004802/0.5258, allocations: 1.82 MB / 0.8396 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.5258, allocations: 4.75 kB / 0.8396 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.5259, allocations: 5.031 kB / 0.8396 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.5259, allocations: 0 / 0.8396 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.5272, allocations: 466.7 kB / 0.8401 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5272, allocations: 0 / 0.8401 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.5285, allocations: 449 kB / 0.8405 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.5285, allocations: 10.69 kB / 0.8405 GB, free: 9.117 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001095/0.5286, allocations: 115.4 kB / 0.8406 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.5287, allocations: 5.375 kB / 0.8406 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.5287, allocations: 7.5 kB / 0.8406 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5287, allocations: 0 / 0.8406 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5287, allocations: 4 kB / 0.8406 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.5287, allocations: 5.062 kB / 0.8406 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.529, allocations: 252.1 kB / 0.8409 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.529, allocations: 3.938 kB / 0.8409 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.5303, allocations: 470.3 kB / 0.8413 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5303, allocations: 1.188 kB / 0.8413 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.5303, allocations: 5.141 kB / 0.8413 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.5303, allocations: 1.219 kB / 0.8413 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5303, allocations: 0 / 0.8413 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004782/0.5351, allocations: 1.914 MB / 0.8432 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.5351, allocations: 9.203 kB / 0.8432 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.5352, allocations: 384 / 0.8432 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.5365, allocations: 445.6 kB / 0.8436 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.5365, allocations: 5.234 kB / 0.8436 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.5365, allocations: 9.359 kB / 0.8437 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.5366, allocations: 94.64 kB / 0.8437 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5366, allocations: 3.938 kB / 0.8438 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002107/0.5368, allocations: 36.09 kB / 0.8438 GB, free: 7.379 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 (2): * Single equations (assignments): 2 * 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.0001026/0.5369, allocations: 91.81 kB / 0.8439 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004856/0.5417, allocations: 1.873 MB / 0.8457 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5417, allocations: 0 / 0.8457 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002394/0.5441, allocations: 0.9399 MB / 0.8466 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.5443, allocations: 5.031 kB / 0.8466 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.547, allocations: 1.075 MB / 0.8477 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.865e-05/0.5471, allocations: 64.06 kB / 0.8477 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.5472, allocations: 27.73 kB / 0.8478 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.5472, allocations: 1.156 kB / 0.8478 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of Templates: time 0.003021/0.5503, allocations: 2.793 MB / 0.8505 GB, free: 3.957 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.599555613938719] Failed to read output from testmodel.py, exit status != 0: 0.5557669140398502 0.563395268 0.08478962200000001 Calling exit ...