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.0008927/0.0008927, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002317, 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.0009387/0.0009387, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002311, 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.073/1.073, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.137/1.21, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.8257/0.8257, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.2842/1.11, allocations: 49.12 MB / 448.6 MB, free: 5.887 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 2.394e-06/2.394e-06, allocations: 0.875 kB / 450 MB, free: 4.559 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.773e-05, allocations: 5.594 kB / 450 MB, free: 4.555 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003168/0.003196, allocations: 1.874 MB / 451.8 MB, free: 2.703 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009982/0.004194, allocations: 0.7243 MB / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.576e-05/0.00426, allocations: 4 kB / 452.6 MB, free: 1.98 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.985e-05/0.0043, allocations: 18.33 kB / 452.6 MB, free: 1.965 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.205e-05/0.004352, allocations: 14.59 kB / 452.6 MB, free: 1.957 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.004738, allocations: 183.5 kB / 452.8 MB, free: 1.781 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.004891, allocations: 123.4 kB / 452.9 MB, free: 1.676 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.005012, allocations: 39.7 kB / 452.9 MB, free: 1.633 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.005178, allocations: 108.5 kB / 453.1 MB, free: 1.531 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.646e-05/0.005255, allocations: 35.89 kB / 453.1 MB, free: 1.496 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.005276, allocations: 9.156 kB / 453.1 MB, free: 1.488 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.005388, allocations: 59.89 kB / 453.2 MB, free: 1.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.005413, allocations: 15.94 kB / 453.2 MB, free: 1.414 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.005444, allocations: 32.5 kB / 453.2 MB, free: 1.383 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.005611, allocations: 107.7 kB / 453.3 MB, free: 1.277 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.005623, allocations: 1.5 kB / 453.3 MB, free: 1.277 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.005625, allocations: 0 / 453.3 MB, free: 1.277 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.005634, allocations: 0 / 453.3 MB, free: 1.277 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.0004175/0.006051, allocations: 370.4 kB / 453.7 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.00608, allocations: 13.12 kB / 453.7 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004176/0.006498, allocations: 179 kB / 453.9 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.006655, allocations: 144.4 kB / 454 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.089e-05/0.006716, allocations: 115.4 kB / 454.1 MB, free: 400 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.006735, allocations: 11.62 kB / 454.1 MB, free: 392 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.006942, allocations: 193.8 kB / 454.3 MB, free: 176 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.00695, allocations: 2.062 kB / 454.3 MB, free: 176 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.006964, allocations: 4 kB / 454.3 MB, free: 172 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.00697, allocations: 4 kB / 454.3 MB, free: 168 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.778e-05/0.007018, allocations: 28 kB / 454.4 MB, free: 140 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.007449, allocations: 285.7 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.007675, allocations: 116.6 kB / 454.7 MB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.007703, allocations: 24.84 kB / 454.8 MB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.007721, allocations: 8.75 kB / 454.8 MB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.007739, allocations: 31.19 kB / 454.8 MB, free: 15.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.00774, allocations: 3.938 kB / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.000156/0.007896, allocations: 82.3 kB / 454.9 MB, free: 15.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.007918, allocations: 52.03 kB / 454.9 MB, free: 15.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.00799, allocations: 150 kB / 455.1 MB, free: 15.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.008009, allocations: 33.69 kB / 455.1 MB, free: 15.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.008049, allocations: 108.2 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.008066, allocations: 17.62 kB / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.008101, allocations: 25.69 kB / 455.3 MB, free: 15.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.624e-05/0.008177, allocations: 322.8 kB / 455.6 MB, free: 14.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.008202, allocations: 12 kB / 455.6 MB, free: 14.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.733e-05/0.008239, allocations: 43.2 kB / 455.6 MB, free: 14.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.298e-05/0.008302, allocations: 51.75 kB / 455.7 MB, free: 14.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.008305, allocations: 4.625 kB / 455.7 MB, free: 14.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.507e-05/0.0084, allocations: 82.11 kB / 455.8 MB, free: 14.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.008412, allocations: 8.75 kB / 455.8 MB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.008417, allocations: 4 kB / 455.8 MB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.008428, allocations: 1.219 kB / 455.8 MB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.008539, allocations: 39.83 kB / 455.8 MB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.008541, allocations: 0 / 455.8 MB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.008595, allocations: 25 kB / 455.9 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.008605, allocations: 3.984 kB / 455.9 MB, free: 14.53 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 6.262e-05/0.008667, allocations: 111 kB / 456 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.008691, allocations: 5.312 kB / 456 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.008807, allocations: 92.23 kB / 456.1 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.008808, allocations: 0 / 456.1 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.008811, allocations: 3.938 kB / 456.1 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.008813, allocations: 0.8438 kB / 456.1 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.008927, allocations: 105.8 kB / 456.2 MB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.008928, allocations: 5.141 kB / 456.2 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.008999, allocations: 23.97 kB / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.009009, allocations: 12.8 kB / 456.2 MB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.009011, allocations: 0 / 456.2 MB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.009018, allocations: 3.984 kB / 456.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.009018, allocations: 0.75 kB / 456.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.00902, allocations: 3.938 kB / 456.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.00913, allocations: 164 kB / 456.4 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.009142, allocations: 4.781 kB / 456.4 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.009227, allocations: 17.47 kB / 456.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.009252, allocations: 12.48 kB / 456.4 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.009263, allocations: 7.984 kB / 456.4 MB, free: 13.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.543e-05/0.009289, allocations: 35.77 kB / 456.5 MB, free: 13.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009289, allocations: 0 / 456.5 MB, free: 13.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.009426, allocations: 29.27 kB / 456.5 MB, free: 13.86 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 8.964e-05/0.009516, allocations: 80.41 kB / 456.6 MB, free: 13.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.449e-05/0.00961, allocations: 49.31 kB / 456.6 MB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.009616, allocations: 8.891 kB / 456.6 MB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.621e-05/0.009663, allocations: 36.84 kB / 456.7 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.009836, allocations: 84.62 kB / 456.7 MB, free: 13.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007304/0.01057, allocations: 218.2 kB / 456.9 MB, free: 13.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.683e-05/0.01061, allocations: 61.69 kB / 457 MB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.811e-05/0.01067, allocations: 20.38 kB / 457 MB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.01081, allocations: 87.23 kB / 457.1 MB, free: 13.17 MB / 442.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01081, allocations: 1.906 kB / 457.1 MB, free: 13.17 MB / 442.7 MB Notification: Performance of Templates: time 0.002984/0.01379, allocations: 1.709 MB / 458.8 MB, free: 11.56 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.7028142800554633]