Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.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.0006601/0.0006601, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000898/0.001558, 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.0006794/0.0006794, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009154/0.001595, 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.042/1.042, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09175/1.133, allocations: 53.68 MB / 243.4 MB, free: 15.48 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.764/0.764, allocations: 155.4 MB / 399.5 MB, free: 15.79 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.2694/1.033, allocations: 49.13 MB / 448.6 MB, free: 5.906 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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.458e-05, allocations: 6.781 kB / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.0021/0.002114, allocations: 1.569 MB / 451.6 MB, free: 3.023 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002246/0.002339, allocations: 153.8 kB / 451.7 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.002371, allocations: 2.938 kB / 451.7 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.002403, allocations: 0 / 451.7 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.583e-05/0.002448, allocations: 10.12 kB / 451.7 MB, free: 2.867 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.842e-05/0.002547, allocations: 31.84 kB / 451.7 MB, free: 2.836 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.002636, allocations: 42.64 kB / 451.8 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.002728, allocations: 12.75 kB / 451.8 MB, free: 2.789 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/0.002792, allocations: 27.5 kB / 451.8 MB, free: 2.766 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.002834, allocations: 22.16 kB / 451.8 MB, free: 2.746 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.002849, allocations: 4 kB / 451.9 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.358e-05/0.002933, allocations: 31.97 kB / 451.9 MB, free: 2.711 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.002949, allocations: 6.359 kB / 451.9 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.002968, allocations: 13.86 kB / 451.9 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.003076, allocations: 45.2 kB / 451.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.003086, allocations: 0 / 451.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003087, allocations: 0 / 451.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.003094, allocations: 0 / 451.9 MB, free: 2.656 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003312/0.003425, allocations: 268.1 kB / 452.2 MB, free: 2.371 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.00346, allocations: 12.52 kB / 452.2 MB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.003842, allocations: 156.9 kB / 452.4 MB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.338e-05/0.003926, allocations: 117.7 kB / 452.5 MB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.003934, allocations: 1.547 kB / 452.5 MB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.003948, allocations: 4.375 kB / 452.5 MB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.004115, allocations: 103.5 kB / 452.6 MB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.004121, allocations: 1.094 kB / 452.6 MB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.004131, allocations: 1.359 kB / 452.6 MB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.004136, allocations: 10.19 kB / 452.6 MB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.333e-05/0.00418, allocations: 23.94 kB / 452.6 MB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.004505, allocations: 216.1 kB / 452.8 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.004666, allocations: 69.28 kB / 452.9 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.00469, allocations: 12.8 kB / 452.9 MB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.004707, allocations: 8.828 kB / 452.9 MB, free: 1.582 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.004725, allocations: 30.56 kB / 453 MB, free: 1.543 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.004726, allocations: 0.5 kB / 453 MB, free: 1.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001319/0.004858, allocations: 59.73 kB / 453 MB, free: 1.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.004886, allocations: 55.41 kB / 453.1 MB, free: 1.414 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.818e-05/0.004934, allocations: 118.8 kB / 453.2 MB, free: 1.285 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.004945, allocations: 26.45 kB / 453.2 MB, free: 1.254 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.004974, allocations: 85 kB / 453.3 MB, free: 1.168 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.004992, allocations: 16.83 kB / 453.3 MB, free: 1.152 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.005024, allocations: 17.72 kB / 453.3 MB, free: 1.129 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.005094, allocations: 315.7 kB / 453.6 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.005115, allocations: 7.984 kB / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/0.005135, allocations: 11.19 kB / 453.7 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.005181, allocations: 24.83 kB / 453.7 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.005182, allocations: 0.8125 kB / 453.7 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.317e-05/0.005245, allocations: 46.78 kB / 453.7 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.005257, allocations: 9.094 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.00526, allocations: 0 / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.00527, allocations: 0 / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.682e-05/0.005367, allocations: 29.84 kB / 453.8 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.00537, allocations: 0 / 453.8 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.005413, allocations: 11.98 kB / 453.8 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.005421, allocations: 3.984 kB / 453.8 MB, free: 0.668 MB / 426.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 (3): * Single equations (assignments): 3 * 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 5.959e-05/0.00548, allocations: 110.8 kB / 453.9 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.005497, allocations: 4.688 kB / 453.9 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.005527, allocations: 9.359 kB / 453.9 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.005529, allocations: 4 kB / 453.9 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.005531, allocations: 1.25 kB / 453.9 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.005533, allocations: 0 / 453.9 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.523e-05/0.005629, allocations: 77.88 kB / 454 MB, free: 444 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.005629, allocations: 0.9688 kB / 454 MB, free: 444 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.005695, allocations: 27.97 kB / 454 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-06/0.005704, allocations: 13.78 kB / 454 MB, free: 404 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005705, allocations: 0 / 454 MB, free: 404 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.005712, allocations: 4.781 kB / 454 MB, free: 400 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.005713, allocations: 0 / 454 MB, free: 400 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005714, allocations: 0 / 454 MB, free: 400 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.65e-05/0.00581, allocations: 149 kB / 454.2 MB, free: 236 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.005821, allocations: 0.5312 kB / 454.2 MB, free: 236 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.737e-05/0.005878, allocations: 12.64 kB / 454.2 MB, free: 224 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.005899, allocations: 3.938 kB / 454.2 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.005905, allocations: 9.922 kB / 454.2 MB, free: 212 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.278e-05/0.005918, allocations: 13.39 kB / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005918, allocations: 0 / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001213/0.006039, allocations: 16.58 kB / 454.2 MB, free: 180 kB / 426.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 (3): * Single equations (assignments): 3 * 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 6.251e-05/0.006102, allocations: 73.02 kB / 454.3 MB, free: 100 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.768e-05/0.00618, allocations: 26.88 kB / 454.3 MB, free: 72 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.006184, allocations: 6.438 kB / 454.3 MB, free: 68 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.006221, allocations: 17.39 kB / 454.4 MB, free: 48 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.006365, allocations: 43.94 kB / 454.4 MB, free: 0 / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.006785, allocations: 166.4 kB / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.367e-05/0.006819, allocations: 64.92 kB / 454.6 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.006855, allocations: 6.344 kB / 454.6 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.006919, allocations: 52.44 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of SimCode: time 7.32e-07/0.006919, allocations: 0 / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of Templates: time 0.002239/0.009159, allocations: 0.9706 MB / 455.7 MB, free: 14.76 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5530573669821024]