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.001023/0.001023, 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.001857/0.001857, 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.048/1.048, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.8281/0.8281, allocations: 154.9 MB / 415.1 MB, free: 224 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.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.383e-06/1.383e-06, allocations: 0 / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.124e-05, allocations: 3.625 kB / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002286/0.002307, allocations: 1.817 MB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.003257, allocations: 0.7301 MB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.321e-05/0.00332, allocations: 2.328 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.003353, allocations: 7.875 kB / 482.9 MB, free: 3.992 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.003423, allocations: 27.61 kB / 483 MB, free: 3.973 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.003864, allocations: 176.5 kB / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.004017, allocations: 124.7 kB / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.004128, allocations: 42.19 kB / 483.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005139/0.004642, allocations: 89.73 kB / 483.4 MB, free: 3.555 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.993e-05/0.004712, allocations: 35.88 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.004734, allocations: 12 kB / 483.4 MB, free: 3.508 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.993e-05/0.004823, allocations: 47.91 kB / 483.5 MB, free: 3.461 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.004851, allocations: 32.56 kB / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.004883, allocations: 39.89 kB / 483.5 MB, free: 3.391 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.005059, allocations: 148.4 kB / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005061, allocations: 0 / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.005061, allocations: 0 / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.005065, allocations: 0.6562 kB / 483.7 MB, free: 3.246 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003657/0.00543, allocations: 341.7 kB / 484 MB, free: 2.895 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.005461, allocations: 8.031 kB / 484 MB, free: 2.887 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.005844, allocations: 104.3 kB / 484.1 MB, free: 2.789 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.005997, allocations: 142.1 kB / 484.3 MB, free: 2.625 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.006057, allocations: 111.4 kB / 484.4 MB, free: 2.492 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.006081, allocations: 22.88 kB / 484.4 MB, free: 2.473 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.006298, allocations: 188.6 kB / 484.6 MB, free: 2.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.006307, allocations: 5.016 kB / 484.6 MB, free: 2.266 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.006321, allocations: 4 kB / 484.6 MB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.006326, allocations: 0.6562 kB / 484.6 MB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.209e-05/0.006378, allocations: 32 kB / 484.6 MB, free: 2.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.006803, allocations: 274.1 kB / 484.9 MB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.007038, allocations: 128.3 kB / 485 MB, free: 1.816 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.007068, allocations: 20.86 kB / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.007084, allocations: 12.55 kB / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.007105, allocations: 35.16 kB / 485.1 MB, free: 1.738 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.007106, allocations: 0 / 485.1 MB, free: 1.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001595/0.007266, allocations: 86.61 kB / 485.2 MB, free: 1.648 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.007293, allocations: 53.19 kB / 485.2 MB, free: 1.586 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.007364, allocations: 146.6 kB / 485.4 MB, free: 1.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.007381, allocations: 29.7 kB / 485.4 MB, free: 1.395 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.007419, allocations: 104.2 kB / 485.5 MB, free: 1.289 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.007438, allocations: 23.84 kB / 485.5 MB, free: 1.266 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.007474, allocations: 22.42 kB / 485.5 MB, free: 1.238 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.007547, allocations: 322.8 kB / 485.9 MB, free: 0.9141 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.834e-05/0.007575, allocations: 20.94 kB / 485.9 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.007612, allocations: 34.58 kB / 485.9 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.516e-05/0.007677, allocations: 56.47 kB / 486 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007679, allocations: 0 / 486 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.237e-05/0.007771, allocations: 82.23 kB / 486 MB, free: 0.7031 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.007782, allocations: 8 kB / 486.1 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.007786, allocations: 5 kB / 486.1 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.007796, allocations: 0 / 486.1 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.566e-05/0.007892, allocations: 29.03 kB / 486.1 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.007895, allocations: 3.938 kB / 486.1 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.00795, allocations: 21.81 kB / 486.1 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.007958, allocations: 4 kB / 486.1 MB, free: 0.6367 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.029e-05/0.008019, allocations: 109.8 kB / 486.2 MB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.008046, allocations: 7.984 kB / 486.2 MB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.008166, allocations: 95.72 kB / 486.3 MB, free: 428 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.008168, allocations: 0 / 486.3 MB, free: 428 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.00817, allocations: 5.25 kB / 486.3 MB, free: 424 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.008173, allocations: 3.984 kB / 486.3 MB, free: 420 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.008285, allocations: 93.86 kB / 486.4 MB, free: 308 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.008287, allocations: 1.094 kB / 486.4 MB, free: 308 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-05/0.008354, allocations: 24.88 kB / 486.4 MB, free: 284 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.008357, allocations: 4 kB / 486.5 MB, free: 280 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.008365, allocations: 7.938 kB / 486.5 MB, free: 272 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008366, allocations: 0.5938 kB / 486.5 MB, free: 272 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008367, allocations: 0.75 kB / 486.5 MB, free: 272 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.008475, allocations: 175.4 kB / 486.6 MB, free: 80 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.008484, allocations: 8.406 kB / 486.6 MB, free: 72 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.008498, allocations: 4.5 kB / 486.6 MB, free: 68 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.008584, allocations: 21.16 kB / 486.7 MB, free: 48 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.008611, allocations: 7.984 kB / 486.7 MB, free: 40 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.00862, allocations: 4.922 kB / 486.7 MB, free: 36 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.357e-05/0.008644, allocations: 34.08 kB / 486.7 MB, free: 0 / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008644, allocations: 0 / 486.7 MB, free: 0 / 442.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.008801, allocations: 29.23 kB / 486.7 MB, free: 15.97 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 (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 7.547e-05/0.008876, allocations: 72.42 kB / 486.8 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.707e-05/0.008973, allocations: 62.3 kB / 486.9 MB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.008977, allocations: 0 / 486.9 MB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.009014, allocations: 24.86 kB / 486.9 MB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.009152, allocations: 21.42 kB / 486.9 MB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.009542, allocations: 232.2 kB / 487.1 MB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.602e-05/0.009579, allocations: 67.33 kB / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.009633, allocations: 15.44 kB / 487.2 MB, free: 15.44 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.009761, allocations: 77.19 kB / 487.3 MB, free: 15.37 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009761, allocations: 0 / 487.3 MB, free: 15.37 MB / 458.7 MB Notification: Performance of Templates: time 0.002926/0.01269, allocations: 1.639 MB / 488.9 MB, free: 13.83 MB / 458.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.7012722394429147]