Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.001172/0.001172, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002828, 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.0008188/0.0008188, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008589/0.001678, allocations: 463.6 kB / 11.68 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 1.018/1.018, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08128/1.099, allocations: 53.65 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.7769/0.7769, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.2599/1.037, allocations: 49.13 MB / 448.4 MB, free: 6.023 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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.139e-05, allocations: 3.953 kB / 449.7 MB, free: 4.719 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002991/0.003012, allocations: 1.857 MB / 451.6 MB, free: 2.883 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.004146, allocations: 0.736 MB / 452.3 MB, free: 2.152 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.73e-05/0.004213, allocations: 0 / 452.3 MB, free: 2.152 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.106e-05/0.004254, allocations: 15.8 kB / 452.3 MB, free: 2.137 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.26e-05/0.004317, allocations: 16.56 kB / 452.3 MB, free: 2.129 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.004776, allocations: 179.1 kB / 452.5 MB, free: 1.957 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.004962, allocations: 126.5 kB / 452.6 MB, free: 1.844 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.005241, allocations: 43.69 kB / 452.7 MB, free: 1.797 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.005488, allocations: 95.78 kB / 452.8 MB, free: 1.703 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.397e-05/0.005582, allocations: 40.78 kB / 452.8 MB, free: 1.664 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.005614, allocations: 12 kB / 452.8 MB, free: 1.652 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.005761, allocations: 55.89 kB / 452.9 MB, free: 1.598 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.005791, allocations: 20.94 kB / 452.9 MB, free: 1.578 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.005833, allocations: 27.88 kB / 452.9 MB, free: 1.551 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.006052, allocations: 112.5 kB / 453 MB, free: 1.441 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.702e-05/0.006069, allocations: 3.938 kB / 453 MB, free: 1.438 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00607, allocations: 0 / 453 MB, free: 1.438 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.006087, allocations: 0.5 kB / 453 MB, free: 1.438 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005646/0.006652, allocations: 366.5 kB / 453.4 MB, free: 1.059 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.006689, allocations: 9.312 kB / 453.4 MB, free: 1.051 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006173/0.007306, allocations: 184.5 kB / 453.6 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.00752, allocations: 139.2 kB / 453.7 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.103e-05/0.007611, allocations: 115.4 kB / 453.8 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.007635, allocations: 8.375 kB / 453.8 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.007944, allocations: 195 kB / 454 MB, free: 348 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.007953, allocations: 1.062 kB / 454 MB, free: 348 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.007972, allocations: 8 kB / 454 MB, free: 340 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.007978, allocations: 0.7188 kB / 454 MB, free: 340 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.049e-05/0.008069, allocations: 37.39 kB / 454.1 MB, free: 304 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.008706, allocations: 279.4 kB / 454.4 MB, free: 12 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.009092, allocations: 115.3 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.009143, allocations: 31.2 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.009164, allocations: 4 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.009186, allocations: 30.56 kB / 454.5 MB, free: 15.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.009188, allocations: 0.8438 kB / 454.5 MB, free: 15.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002257/0.009413, allocations: 89.61 kB / 454.6 MB, free: 15.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.009446, allocations: 56.06 kB / 454.7 MB, free: 15.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.009558, allocations: 148.8 kB / 454.8 MB, free: 15.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.00958, allocations: 26.55 kB / 454.8 MB, free: 15.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.009633, allocations: 108.2 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.009657, allocations: 16.47 kB / 455 MB, free: 15.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.009708, allocations: 29.69 kB / 455 MB, free: 15.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.009803, allocations: 320.3 kB / 455.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.009845, allocations: 16 kB / 455.3 MB, free: 14.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.267e-05/0.009898, allocations: 34.56 kB / 455.4 MB, free: 14.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.802e-05/0.009996, allocations: 68.77 kB / 455.4 MB, free: 14.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.009999, allocations: 4 kB / 455.4 MB, free: 14.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001465/0.01015, allocations: 73.61 kB / 455.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.01016, allocations: 12.64 kB / 455.5 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01017, allocations: 0.9062 kB / 455.5 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.01018, allocations: 0 / 455.5 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.01036, allocations: 37.09 kB / 455.5 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.01037, allocations: 7.938 kB / 455.6 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/0.01046, allocations: 17.17 kB / 455.6 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.01047, allocations: 3.984 kB / 455.6 MB, free: 14.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 7.697e-05/0.01055, allocations: 114.4 kB / 455.7 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.01058, allocations: 4.656 kB / 455.7 MB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.01077, allocations: 83.52 kB / 455.8 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01077, allocations: 4.625 kB / 455.8 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01078, allocations: 8.484 kB / 455.8 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01078, allocations: 0.8125 kB / 455.8 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.01095, allocations: 105.8 kB / 455.9 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01096, allocations: 1.219 kB / 455.9 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.0111, allocations: 23.97 kB / 455.9 MB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.01111, allocations: 12.61 kB / 455.9 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.01111, allocations: 0 / 455.9 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.01112, allocations: 4.891 kB / 455.9 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01113, allocations: 4 kB / 455.9 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01113, allocations: 2.859 kB / 455.9 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.01131, allocations: 172.6 kB / 456.1 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.01133, allocations: 0 / 456.1 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.0115, allocations: 25.91 kB / 456.1 MB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.01179, allocations: 3.938 kB / 456.1 MB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.01181, allocations: 7.984 kB / 456.1 MB, free: 14.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.628e-05/0.01185, allocations: 31.02 kB / 456.2 MB, free: 14.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01185, allocations: 0.5 kB / 456.2 MB, free: 14.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.01208, allocations: 29.33 kB / 456.2 MB, free: 14.03 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 (6): * Single equations (assignments): 6 * 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.0001255/0.0122, allocations: 80.41 kB / 456.3 MB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.01234, allocations: 58.41 kB / 456.3 MB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.01235, allocations: 0 / 456.3 MB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.157e-05/0.0124, allocations: 28.84 kB / 456.4 MB, free: 13.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01264, allocations: 34.73 kB / 456.4 MB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.01382, allocations: 222.4 kB / 456.6 MB, free: 13.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.581e-05/0.01388, allocations: 60.09 kB / 456.7 MB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.01398, allocations: 21.55 kB / 456.7 MB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.01419, allocations: 83.25 kB / 456.8 MB, free: 13.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/0.01419, allocations: 0 / 456.8 MB, free: 13.41 MB / 442.7 MB Notification: Performance of Templates: time 0.004621/0.01881, allocations: 1.688 MB / 458.5 MB, free: 11.81 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5902630127966404]