Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.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.001308/0.001308, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001083/0.001083, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.921/0.921, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.79/0.79, allocations: 154.9 MB / 415.1 MB, free: 228 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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 480.4 MB, free: 6.562 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.248e-05, allocations: 2.969 kB / 480.4 MB, free: 6.559 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001649/0.001662, allocations: 1.493 MB / 481.9 MB, free: 5.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002288/0.00189, allocations: 86.17 kB / 481.9 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.001914, allocations: 0 / 481.9 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.271e-05/0.001966, allocations: 7.922 kB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.275e-05/0.001999, allocations: 3.141 kB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.002219, allocations: 24.56 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.002282, allocations: 20.8 kB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.819e-05/0.00235, allocations: 4.906 kB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.002386, allocations: 16.53 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.296e-05/0.002419, allocations: 9.703 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.002433, allocations: 0.7656 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.428e-05/0.002497, allocations: 29.41 kB / 482.1 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.002526, allocations: 0.875 kB / 482.1 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.002542, allocations: 9.203 kB / 482.1 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.71e-05/0.002629, allocations: 33.64 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-06/0.00263, allocations: 2.094 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.00263, allocations: 0 / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.002633, allocations: 0 / 482.1 MB, free: 4.867 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.0002567/0.00289, allocations: 237 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.00292, allocations: 12.8 kB / 482.3 MB, free: 4.602 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.002941, allocations: 1.844 kB / 482.3 MB, free: 4.602 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.006e-05/0.003021, allocations: 113.8 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.00303, allocations: 1.25 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.00304, allocations: 8.375 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.009e-05/0.00313, allocations: 50.97 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.003137, allocations: 192 / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-06/0.003143, allocations: 9.562 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.003148, allocations: 384 / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.003168, allocations: 14.92 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.003362, allocations: 154.6 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.855e-05/0.00341, allocations: 65.97 kB / 482.8 MB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/0.003423, allocations: 4.859 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.003453, allocations: 4.625 kB / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.003471, allocations: 31.19 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.003472, allocations: 0 / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.518e-05/0.003567, allocations: 42.25 kB / 482.8 MB, free: 4.039 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.003601, allocations: 56.06 kB / 482.9 MB, free: 3.973 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.157e-05/0.003652, allocations: 115.9 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.003663, allocations: 25.7 kB / 483 MB, free: 3.816 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.003689, allocations: 89.22 kB / 483.1 MB, free: 3.727 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.003704, allocations: 7.891 kB / 483.1 MB, free: 3.719 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.003725, allocations: 17.7 kB / 483.1 MB, free: 3.695 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.545e-05/0.003791, allocations: 311.7 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.003799, allocations: 7.578 kB / 483.5 MB, free: 3.375 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-06/0.003806, allocations: 4.906 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.034e-05/0.003827, allocations: 16.62 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.003828, allocations: 0 / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.409e-05/0.003862, allocations: 38.31 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/0.003871, allocations: 4 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.003875, allocations: 1.312 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.003885, allocations: 0.5469 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.095e-05/0.003936, allocations: 11.94 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.003938, allocations: 1.375 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.003951, allocations: 3.984 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.003958, allocations: 8 kB / 483.5 MB, free: 3.281 MB / 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 4.666e-05/0.004004, allocations: 110.5 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.004015, allocations: 0 / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.004071, allocations: 48.48 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.004072, allocations: 0.625 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.004074, allocations: 4.844 kB / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.004076, allocations: 0 / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.516e-05/0.004151, allocations: 74.12 kB / 483.8 MB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.004152, allocations: 1.688 kB / 483.8 MB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.68e-05/0.004169, allocations: 13.44 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.00417, allocations: 0 / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-06/0.004174, allocations: 0 / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.004174, allocations: 0 / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.004175, allocations: 0.7812 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.737e-05/0.004242, allocations: 182.2 kB / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.00425, allocations: 5.844 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-06/0.004257, allocations: 1.266 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.951e-05/0.004287, allocations: 7.984 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.00431, allocations: 0.5469 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.004312, allocations: 0.6562 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.13e-05/0.004323, allocations: 16.78 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004323, allocations: 0.5 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001151/0.004438, allocations: 12.59 kB / 484 MB, free: 2.77 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 (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 8.129e-05/0.00452, allocations: 78.95 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.307e-05/0.004563, allocations: 8.859 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.004564, allocations: 0.8438 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.004579, allocations: 16.78 kB / 484.1 MB, free: 2.656 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.004688, allocations: 9.047 kB / 484.1 MB, free: 2.648 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/0.004879, allocations: 117.3 kB / 484.2 MB, free: 2.508 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.755e-05/0.004906, allocations: 55.36 kB / 484.3 MB, free: 2.434 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.238e-05/0.004919, allocations: 0.5938 kB / 484.3 MB, free: 2.434 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.004955, allocations: 55.89 kB / 484.3 MB, free: 2.379 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/0.004956, allocations: 2.75 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of Templates: time 0.001904/0.00686, allocations: 0.5434 MB / 484.9 MB, free: 1.867 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.592366404365748]