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.001025/0.001025, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.002659, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007896/0.0007896, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001173/0.001962, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.112/1.112, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09058/1.202, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7907/0.7907, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2875/1.078, allocations: 49.13 MB / 448.6 MB, free: 5.953 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 450 MB, free: 4.633 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.31e-05, allocations: 5.703 kB / 450 MB, free: 4.629 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.005411/0.005434, allocations: 1.579 MB / 451.5 MB, free: 3.07 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008252/0.006259, allocations: 0.6076 MB / 452.2 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.006303, allocations: 0 / 452.2 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.006326, allocations: 5.906 kB / 452.2 MB, free: 2.465 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.523e-05/0.006361, allocations: 14.98 kB / 452.2 MB, free: 2.453 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.006543, allocations: 47.81 kB / 452.2 MB, free: 2.406 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.085e-05/0.006634, allocations: 31.88 kB / 452.3 MB, free: 2.383 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.337e-05/0.006707, allocations: 8.484 kB / 452.3 MB, free: 2.375 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.006839, allocations: 27.33 kB / 452.3 MB, free: 2.352 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.825e-05/0.006887, allocations: 15.28 kB / 452.3 MB, free: 2.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.006902, allocations: 4 kB / 452.3 MB, free: 2.336 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.007037, allocations: 55.94 kB / 452.4 MB, free: 2.281 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.007051, allocations: 2.406 kB / 452.4 MB, free: 2.281 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.007068, allocations: 8.984 kB / 452.4 MB, free: 2.273 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.007207, allocations: 60.69 kB / 452.4 MB, free: 2.219 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.007219, allocations: 0 / 452.4 MB, free: 2.219 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00722, allocations: 0 / 452.4 MB, free: 2.219 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.007228, allocations: 4.703 kB / 452.4 MB, free: 2.215 MB / 426.7 MB 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.0003389/0.007567, allocations: 262.5 kB / 452.7 MB, free: 1.938 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.007597, allocations: 11.14 kB / 452.7 MB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006309/0.01391, allocations: 1.061 MB / 453.8 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.01411, allocations: 122.9 kB / 453.9 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.01412, allocations: 384 / 453.9 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.01415, allocations: 4.312 kB / 453.9 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008411/0.01499, allocations: 336.5 kB / 454.2 MB, free: 480 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.015, allocations: 2.766 kB / 454.2 MB, free: 480 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.01502, allocations: 384 / 454.2 MB, free: 480 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.01503, allocations: 11.92 kB / 454.2 MB, free: 468 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.01522, allocations: 58.25 kB / 454.3 MB, free: 416 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.01681, allocations: 0.5975 MB / 454.9 MB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/0.01761, allocations: 289.8 kB / 455.2 MB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.01772, allocations: 43.69 kB / 455.2 MB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.01774, allocations: 0.5625 kB / 455.2 MB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.01776, allocations: 35.84 kB / 455.2 MB, free: 15.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.01776, allocations: 0 / 455.2 MB, free: 15.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003975/0.01816, allocations: 123.6 kB / 455.4 MB, free: 15.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.01819, allocations: 59.34 kB / 455.4 MB, free: 15.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.747e-05/0.01826, allocations: 119.5 kB / 455.5 MB, free: 15.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.01829, allocations: 26.52 kB / 455.6 MB, free: 15.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.01832, allocations: 84.14 kB / 455.7 MB, free: 15.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.01835, allocations: 9.797 kB / 455.7 MB, free: 15.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.01844, allocations: 25.67 kB / 455.7 MB, free: 14.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.01852, allocations: 314.8 kB / 456 MB, free: 14.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.01863, allocations: 34.05 kB / 456 MB, free: 14.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.873e-05/0.01873, allocations: 31.38 kB / 456.1 MB, free: 14.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.01889, allocations: 51.33 kB / 456.1 MB, free: 14.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01889, allocations: 2.469 kB / 456.1 MB, free: 14.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002427/0.01913, allocations: 84.42 kB / 456.2 MB, free: 14.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.01914, allocations: 4 kB / 456.2 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01915, allocations: 3.938 kB / 456.2 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.01917, allocations: 4.719 kB / 456.2 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.01989, allocations: 208.3 kB / 456.4 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.0199, allocations: 0.5625 kB / 456.4 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.02045, allocations: 177.7 kB / 456.6 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.02047, allocations: 3.984 kB / 456.6 MB, free: 14.12 MB / 442.7 MB 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 9.208e-05/0.02057, allocations: 113.8 kB / 456.7 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.02061, allocations: 0 / 456.7 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/0.02067, allocations: 17.95 kB / 456.7 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.02067, allocations: 3.938 kB / 456.7 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.02067, allocations: 0 / 456.7 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.02068, allocations: 0 / 456.7 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.02089, allocations: 131 kB / 456.8 MB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.02089, allocations: 0 / 456.8 MB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/0.02158, allocations: 208.1 kB / 457.1 MB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-06/0.02159, allocations: 8.734 kB / 457.1 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.02159, allocations: 0 / 457.1 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.02162, allocations: 5.047 kB / 457.1 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.02162, allocations: 3.938 kB / 457.1 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.02162, allocations: 0.7188 kB / 457.1 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.02191, allocations: 188.5 kB / 457.3 MB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.02194, allocations: 3.984 kB / 457.3 MB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/0.02252, allocations: 179.4 kB / 457.4 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.02254, allocations: 4.438 kB / 457.4 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.02256, allocations: 6.703 kB / 457.4 MB, free: 13.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.091e-05/0.02258, allocations: 16.84 kB / 457.5 MB, free: 13.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02258, allocations: 0 / 457.5 MB, free: 13.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.02282, allocations: 36 kB / 457.5 MB, free: 13.21 MB / 442.7 MB 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.000113/0.02293, allocations: 76.41 kB / 457.6 MB, free: 13.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.0232, allocations: 81.72 kB / 457.6 MB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.02321, allocations: 4 kB / 457.7 MB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.02335, allocations: 58.73 kB / 457.7 MB, free: 12.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.02354, allocations: 32.56 kB / 457.7 MB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008241/0.02436, allocations: 159.6 kB / 457.9 MB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.796e-05/0.0244, allocations: 63.92 kB / 458 MB, free: 12.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.02462, allocations: 34.59 kB / 458 MB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.02484, allocations: 59.34 kB / 458.1 MB, free: 12.63 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02484, allocations: 0 / 458.1 MB, free: 12.63 MB / 442.7 MB Notification: Performance of Templates: time 0.005018/0.02986, allocations: 2.807 MB / 460.9 MB, free: 9.848 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5980072636157274]