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.000686/0.000686, allocations: 115 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.0007078/0.0007078, allocations: 203.9 kB / 23 MB, free: 3.125 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.8714/0.8714, allocations: 230.6 MB / 256.8 MB, free: 3.559 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.7572/0.7572, allocations: 203.8 MB / 0.5049 GB, free: 0.7148 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.0008814/0.0008814, allocations: 67.89 kB / 0.7195 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4378, allocations: 102 MB / 0.8191 GB, free: 25.29 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002259/0.44, allocations: 1.49 MB / 0.8205 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008375/0.4409, allocations: 0.6372 MB / 0.8212 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.4409, allocations: 3.938 kB / 0.8212 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.4409, allocations: 0.7031 kB / 0.8212 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.441, allocations: 9.828 kB / 0.8212 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.4413, allocations: 62.86 kB / 0.8212 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.4414, allocations: 26.59 kB / 0.8213 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.4415, allocations: 3.828 kB / 0.8213 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.4417, allocations: 21.17 kB / 0.8213 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/0.4417, allocations: 18.98 kB / 0.8213 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.4417, allocations: 2.25 kB / 0.8213 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.4419, allocations: 63.12 kB / 0.8214 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.4419, allocations: 6.078 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.4419, allocations: 12.67 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.442, allocations: 72.97 kB / 0.8215 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4421, allocations: 0.6562 kB / 0.8215 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4421, allocations: 0 / 0.8215 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4421, allocations: 0.7188 kB / 0.8215 GB, free: 23.7 MB / 0.6355 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.0003184/0.4424, allocations: 285.2 kB / 0.8217 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4424, allocations: 14.78 kB / 0.8217 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00744/0.4499, allocations: 2.442 MB / 0.8241 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.4501, allocations: 147.4 kB / 0.8243 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.4501, allocations: 384 / 0.8243 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.4501, allocations: 5.875 kB / 0.8243 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.4528, allocations: 1.024 MB / 0.8253 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.4528, allocations: 0.8438 kB / 0.8253 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.4529, allocations: 0 / 0.8253 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4529, allocations: 0.9688 kB / 0.8253 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004779/0.4577, allocations: 1.859 MB / 0.8271 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.4608, allocations: 1.484 MB / 0.8285 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004845/0.4657, allocations: 1.869 MB / 0.8304 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002446/0.4681, allocations: 0.9418 MB / 0.8313 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.4681, allocations: 0 / 0.8313 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.4682, allocations: 32.47 kB / 0.8313 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.4682, allocations: 0 / 0.8313 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.007041/0.4752, allocations: 2.741 MB / 0.834 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.4752, allocations: 52.47 kB / 0.834 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.4753, allocations: 117.7 kB / 0.8342 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.4753, allocations: 25.7 kB / 0.8342 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.4753, allocations: 90.39 kB / 0.8343 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.4754, allocations: 5.672 kB / 0.8343 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.4754, allocations: 23.88 kB / 0.8343 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.523e-05/0.4755, allocations: 321.4 kB / 0.8346 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/0.4778, allocations: 0.9336 MB / 0.8355 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.4802, allocations: 0.9337 MB / 0.8364 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004383/0.4846, allocations: 1.68 MB / 0.8381 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4846, allocations: 1.5 kB / 0.8381 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.004549/0.4891, allocations: 1.812 MB / 0.8398 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4891, allocations: 6.438 kB / 0.8398 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4892, allocations: 0 / 0.8398 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4892, allocations: 0 / 0.8398 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.4905, allocations: 474.9 kB / 0.8403 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4905, allocations: 7.875 kB / 0.8403 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.4916, allocations: 448.3 kB / 0.8407 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.4916, allocations: 6.766 kB / 0.8407 GB, free: 19.38 MB / 0.6355 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 8.535e-05/0.4917, allocations: 112.2 kB / 0.8408 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.4918, allocations: 2.375 kB / 0.8408 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.4918, allocations: 18.61 kB / 0.8409 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4918, allocations: 0 / 0.8409 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4918, allocations: 1.312 kB / 0.8409 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.4918, allocations: 0 / 0.8409 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.492, allocations: 344.4 kB / 0.8412 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.492, allocations: 4 kB / 0.8412 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.4932, allocations: 465.9 kB / 0.8416 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4932, allocations: 1.156 kB / 0.8416 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.4932, allocations: 5.016 kB / 0.8416 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4932, allocations: 1.125 kB / 0.8416 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4932, allocations: 0 / 0.8416 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00424/0.4975, allocations: 1.908 MB / 0.8435 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.4975, allocations: 11.17 kB / 0.8435 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.4975, allocations: 0 / 0.8435 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.4987, allocations: 452.6 kB / 0.844 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.4987, allocations: 1.156 kB / 0.844 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.4987, allocations: 6.016 kB / 0.844 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.996e-05/0.4988, allocations: 98.36 kB / 0.8441 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4988, allocations: 0 / 0.8441 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002083/0.499, allocations: 36.06 kB / 0.8441 GB, free: 17.55 MB / 0.6355 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 9.94e-05/0.4991, allocations: 94.62 kB / 0.8442 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004374/0.5034, allocations: 1.866 MB / 0.846 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5034, allocations: 4 kB / 0.846 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002145/0.5056, allocations: 0.9399 MB / 0.8469 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.5058, allocations: 10.84 kB / 0.8469 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.5082, allocations: 1.072 MB / 0.848 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.622e-05/0.5083, allocations: 0.6822 MB / 0.8486 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.5085, allocations: 24.73 kB / 0.8487 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of SimCode: time 1.503e-06/0.5085, allocations: 5.375 kB / 0.8487 GB, free: 15 MB / 0.6355 GB Notification: Performance of Templates: time 0.003357/0.5118, allocations: 2.787 MB / 0.8514 GB, free: 13.5 MB / 0.6355 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.467771219788119] Failed to read output from testmodel.py, exit status != 0: 0.5171139829326421 0.5235887419999999 0.080279102 Calling exit ...