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.001194/0.001194, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001062/0.001062, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.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-535:34: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-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 master/package.mo): time 0.8104/0.8104, allocations: 154.9 MB / 415.1 MB, free: 244 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 3.938 kB / 480.4 MB, free: 6.453 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.101e-05, allocations: 3.719 kB / 480.4 MB, free: 6.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002057/0.002078, allocations: 1.552 MB / 482 MB, free: 4.922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007748/0.002853, allocations: 0.6104 MB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.002898, allocations: 5 kB / 482.6 MB, free: 4.316 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.00292, allocations: 0 / 482.6 MB, free: 4.316 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.002965, allocations: 11.48 kB / 482.6 MB, free: 4.309 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.003172, allocations: 56.69 kB / 482.7 MB, free: 4.254 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.649e-05/0.003259, allocations: 28.81 kB / 482.7 MB, free: 4.234 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.637e-05/0.003325, allocations: 12.8 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.003426, allocations: 21.94 kB / 482.7 MB, free: 4.203 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.739e-05/0.003463, allocations: 12.97 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.003474, allocations: 4 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.003592, allocations: 53.95 kB / 482.8 MB, free: 4.137 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.003605, allocations: 8.75 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.554e-05/0.003621, allocations: 5.531 kB / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.003746, allocations: 76.17 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003749, allocations: 0.6562 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.00375, allocations: 0 / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.003754, allocations: 1.25 kB / 482.9 MB, free: 4.051 MB / 442.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.0002586/0.004012, allocations: 259.9 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.004044, allocations: 8.031 kB / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/0.006571, allocations: 0.9794 MB / 484.1 MB, free: 2.875 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.006763, allocations: 125.7 kB / 484.2 MB, free: 2.727 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.006771, allocations: 3.031 kB / 484.2 MB, free: 2.727 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.006793, allocations: 4.375 kB / 484.2 MB, free: 2.723 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/0.007471, allocations: 338.8 kB / 484.6 MB, free: 2.402 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.007478, allocations: 5.094 kB / 484.6 MB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.0075, allocations: 384 / 484.6 MB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.007506, allocations: 3.938 kB / 484.6 MB, free: 2.395 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.007673, allocations: 60.42 kB / 484.6 MB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.009028, allocations: 0.5985 MB / 485.2 MB, free: 1.758 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.0097, allocations: 289.9 kB / 485.5 MB, free: 1.488 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.69e-05/0.009797, allocations: 43.84 kB / 485.6 MB, free: 1.445 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.009815, allocations: 7.938 kB / 485.6 MB, free: 1.438 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.009835, allocations: 30.56 kB / 485.6 MB, free: 1.398 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.009837, allocations: 1.188 kB / 485.6 MB, free: 1.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003431/0.01018, allocations: 127.7 kB / 485.7 MB, free: 1.273 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.01021, allocations: 51.41 kB / 485.8 MB, free: 1.211 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.01026, allocations: 118.6 kB / 485.9 MB, free: 1.082 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.01029, allocations: 27.2 kB / 485.9 MB, free: 1.051 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.01032, allocations: 88.11 kB / 486 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.01035, allocations: 3.953 kB / 486 MB, free: 0.957 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.01042, allocations: 21.69 kB / 486 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.01051, allocations: 328.3 kB / 486.4 MB, free: 0.6016 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.01059, allocations: 29.42 kB / 486.4 MB, free: 0.5742 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.01067, allocations: 29.92 kB / 486.4 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.0108, allocations: 48.83 kB / 486.5 MB, free: 0.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.0108, allocations: 0 / 486.5 MB, free: 0.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002236/0.01103, allocations: 82.23 kB / 486.5 MB, free: 428 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01104, allocations: 4 kB / 486.5 MB, free: 424 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01105, allocations: 0 / 486.5 MB, free: 424 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.01107, allocations: 6.219 kB / 486.6 MB, free: 420 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.01159, allocations: 198.9 kB / 486.7 MB, free: 236 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.0116, allocations: 4.438 kB / 486.7 MB, free: 232 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.01211, allocations: 188.8 kB / 486.9 MB, free: 60 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.01214, allocations: 11.22 kB / 486.9 MB, free: 52 kB / 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 0.0001121/0.01225, allocations: 107.3 kB / 487 MB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.0123, allocations: 4 kB / 487.1 MB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.811e-05/0.01237, allocations: 16.7 kB / 487.1 MB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.01238, allocations: 7.938 kB / 487.1 MB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.01238, allocations: 0 / 487.1 MB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01238, allocations: 3.938 kB / 487.1 MB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.01258, allocations: 121.8 kB / 487.2 MB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01258, allocations: 0 / 487.2 MB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.0131, allocations: 200.8 kB / 487.4 MB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.0131, allocations: 0 / 487.4 MB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.01312, allocations: 3.984 kB / 487.4 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01312, allocations: 0 / 487.4 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01312, allocations: 0.8438 kB / 487.4 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.01346, allocations: 192.2 kB / 487.6 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.01347, allocations: 7.984 kB / 487.6 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.01351, allocations: 0 / 487.6 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/0.01399, allocations: 179.9 kB / 487.8 MB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.01402, allocations: 9.547 kB / 487.8 MB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.01404, allocations: 7.984 kB / 487.8 MB, free: 15.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.064e-05/0.01406, allocations: 8.859 kB / 487.8 MB, free: 15.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01406, allocations: 0 / 487.8 MB, free: 15.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001935/0.01425, allocations: 36.72 kB / 487.8 MB, free: 15.16 MB / 458.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.0001158/0.01437, allocations: 73.39 kB / 487.9 MB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.0146, allocations: 88.66 kB / 488 MB, free: 15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.0146, allocations: 2.812 kB / 488 MB, free: 15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.01471, allocations: 52.77 kB / 488 MB, free: 14.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.01489, allocations: 26.34 kB / 488.1 MB, free: 14.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.01545, allocations: 163.6 kB / 488.2 MB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.952e-05/0.01549, allocations: 59.34 kB / 488.3 MB, free: 14.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.01571, allocations: 35.28 kB / 488.3 MB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.01593, allocations: 55.34 kB / 488.4 MB, free: 14.59 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01593, allocations: 4 kB / 488.4 MB, free: 14.58 MB / 458.7 MB Notification: Performance of Templates: time 0.004478/0.02041, allocations: 2.805 MB / 491.2 MB, free: 11.79 MB / 458.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7128532831557095]