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.001/0.001, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002306, allocations: 435.8 kB / 10.33 MB, free: 368 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.001029/0.001029, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002375, allocations: 463.6 kB / 11.69 MB, free: 2.484 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.9608/0.9608, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09355/1.054, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7624/0.7624, allocations: 155.3 MB / 399.2 MB, free: 15.95 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.2708/1.033, allocations: 49.13 MB / 448.4 MB, free: 6.031 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 2.004e-06/2.004e-06, allocations: 0.5469 kB / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.761e-05, allocations: 7.953 kB / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002493/0.002521, allocations: 1.556 MB / 451.3 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003851/0.006371, allocations: 0.6146 MB / 451.9 MB, free: 2.578 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.006418, allocations: 0 / 451.9 MB, free: 2.578 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.00644, allocations: 3.938 kB / 451.9 MB, free: 2.574 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.107e-05/0.006471, allocations: 7.328 kB / 451.9 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.006664, allocations: 49.2 kB / 451.9 MB, free: 2.523 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.681e-05/0.00675, allocations: 33.22 kB / 452 MB, free: 2.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.257e-05/0.006823, allocations: 9.031 kB / 452 MB, free: 2.492 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.006952, allocations: 38.17 kB / 452 MB, free: 2.461 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.006999, allocations: 8.75 kB / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.007013, allocations: 4 kB / 452 MB, free: 2.449 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.007146, allocations: 57.83 kB / 452.1 MB, free: 2.395 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.007157, allocations: 1.859 kB / 452.1 MB, free: 2.395 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.007175, allocations: 13.88 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.007321, allocations: 60.42 kB / 452.2 MB, free: 2.324 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.547e-05/0.007337, allocations: 0 / 452.2 MB, free: 2.324 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.007338, allocations: 0.875 kB / 452.2 MB, free: 2.324 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.007355, allocations: 0 / 452.2 MB, free: 2.324 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.0003966/0.007752, allocations: 259 kB / 452.4 MB, free: 2.051 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.007784, allocations: 12.03 kB / 452.4 MB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006313/0.0141, allocations: 1.058 MB / 453.5 MB, free: 1.047 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.0143, allocations: 131 kB / 453.6 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.01431, allocations: 384 / 453.6 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.01433, allocations: 4.375 kB / 453.6 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003828/0.01816, allocations: 332.5 kB / 453.9 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.01817, allocations: 5.062 kB / 453.9 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.01819, allocations: 1.406 kB / 453.9 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.0182, allocations: 7.875 kB / 454 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.0184, allocations: 64.56 kB / 454 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.01996, allocations: 0.5956 MB / 454.6 MB, free: 15.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/0.02239, allocations: 289.5 kB / 454.9 MB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.0225, allocations: 43.59 kB / 454.9 MB, free: 15.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.02252, allocations: 0 / 454.9 MB, free: 15.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.02255, allocations: 43.11 kB / 455 MB, free: 15.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.02255, allocations: 0 / 455 MB, free: 15.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003924/0.02294, allocations: 119.5 kB / 455.1 MB, free: 15.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.02298, allocations: 56.38 kB / 455.1 MB, free: 15.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.02305, allocations: 114.6 kB / 455.3 MB, free: 15.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.02307, allocations: 26.3 kB / 455.3 MB, free: 15.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.0231, allocations: 84.14 kB / 455.4 MB, free: 15.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.02313, allocations: 4.547 kB / 455.4 MB, free: 15.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/0.02322, allocations: 33.67 kB / 455.4 MB, free: 15.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.02331, allocations: 315.5 kB / 455.7 MB, free: 14.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.02342, allocations: 35.67 kB / 455.7 MB, free: 14.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.02351, allocations: 24.78 kB / 455.8 MB, free: 14.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.02367, allocations: 52.58 kB / 455.8 MB, free: 14.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.02367, allocations: 0.9688 kB / 455.8 MB, free: 14.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002635/0.02393, allocations: 85.19 kB / 455.9 MB, free: 14.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.02395, allocations: 4 kB / 455.9 MB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.02395, allocations: 1.938 kB / 455.9 MB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.02396, allocations: 3.938 kB / 455.9 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/0.02467, allocations: 203.9 kB / 456.1 MB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.02468, allocations: 8 kB / 456.1 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.02514, allocations: 180.5 kB / 456.3 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.02516, allocations: 4.484 kB / 456.3 MB, free: 14.23 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 6.967e-05/0.02523, allocations: 110.5 kB / 456.4 MB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.02526, allocations: 9.25 kB / 456.4 MB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.0253, allocations: 12.25 kB / 456.4 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.02531, allocations: 3.938 kB / 456.4 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.02531, allocations: 0 / 456.4 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.02531, allocations: 0 / 456.4 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.02547, allocations: 125.8 kB / 456.6 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.02547, allocations: 5.031 kB / 456.6 MB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.02596, allocations: 204.6 kB / 456.8 MB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-06/0.02597, allocations: 14.91 kB / 456.8 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.02597, allocations: 0 / 456.8 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.02598, allocations: 3.984 kB / 456.8 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.02598, allocations: 3.938 kB / 456.8 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.02599, allocations: 0 / 456.8 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.0263, allocations: 190.1 kB / 457 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.02633, allocations: 1.188 kB / 457 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.02675, allocations: 184.5 kB / 457.2 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.02678, allocations: 5.531 kB / 457.2 MB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.02679, allocations: 3.984 kB / 457.2 MB, free: 13.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.034e-05/0.02681, allocations: 20.83 kB / 457.2 MB, free: 13.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02681, allocations: 0 / 457.2 MB, free: 13.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.02697, allocations: 36.94 kB / 457.2 MB, free: 13.31 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 9.736e-05/0.02706, allocations: 72.98 kB / 457.3 MB, free: 13.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.02727, allocations: 85 kB / 457.4 MB, free: 13.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.02728, allocations: 1.719 kB / 457.4 MB, free: 13.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.763e-05/0.02737, allocations: 50.39 kB / 457.4 MB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.02751, allocations: 23.97 kB / 457.5 MB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.02816, allocations: 176.4 kB / 457.6 MB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.021e-05/0.02819, allocations: 59.22 kB / 457.7 MB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.02839, allocations: 35.92 kB / 457.7 MB, free: 12.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.02855, allocations: 59.34 kB / 457.8 MB, free: 12.73 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02855, allocations: 0 / 457.8 MB, free: 12.73 MB / 442.7 MB Notification: Performance of Templates: time 0.00389/0.03244, allocations: 2.81 MB / 460.6 MB, free: 9.949 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.5521856155246496]