Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001424/0.001424, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 13.93 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.001655/0.001655, allocations: 165.7 kB / 22.76 MB, free: 1.656 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.475/1.475, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.259/1.259, allocations: 154.8 MB / 414.3 MB, free: 452 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 178] 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5199 GB, free: 2.242 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.029e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.238 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001632/0.001663, allocations: 0.5917 MB / 0.5205 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002179/0.00188, allocations: 23.89 kB / 0.5205 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.275e-05/0.001893, allocations: 4.984 kB / 0.5205 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.001906, allocations: 0 / 0.5205 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.571e-06/0.001911, allocations: 1 kB / 0.5205 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.002186, allocations: 15.92 kB / 0.5205 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.832e-05/0.002224, allocations: 0.9062 kB / 0.5205 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.002268, allocations: 4 kB / 0.5205 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.002292, allocations: 0 / 0.5205 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.256e-05/0.002314, allocations: 5.469 kB / 0.5205 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.002327, allocations: 1.031 kB / 0.5205 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.853e-05/0.002406, allocations: 15.92 kB / 0.5206 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.002414, allocations: 0 / 0.5206 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.002433, allocations: 0.9688 kB / 0.5206 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.247e-05/0.002525, allocations: 21.06 kB / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.002528, allocations: 0.625 kB / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.002528, allocations: 0 / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.002532, allocations: 1.219 kB / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003655/0.002898, allocations: 238.4 kB / 0.5208 GB, free: 1.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.002935, allocations: 8.031 kB / 0.5208 GB, free: 1.312 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.002982, allocations: 9.656 kB / 0.5208 GB, free: 1.305 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.879e-05/0.003081, allocations: 101.8 kB / 0.5209 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.003093, allocations: 2.188 kB / 0.5209 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.003101, allocations: 384 / 0.5209 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.934e-05/0.003191, allocations: 34.2 kB / 0.5209 GB, free: 1.141 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.003199, allocations: 192 / 0.5209 GB, free: 1.141 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.003211, allocations: 4.859 kB / 0.521 GB, free: 1.137 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.003216, allocations: 384 / 0.521 GB, free: 1.137 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.531e-05/0.003241, allocations: 9.375 kB / 0.521 GB, free: 1.129 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.003377, allocations: 97.33 kB / 0.5211 GB, free: 1.004 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.664e-05/0.003424, allocations: 18.58 kB / 0.5211 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.136e-05/0.003445, allocations: 9.703 kB / 0.5211 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.003483, allocations: 0 / 0.5211 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.003516, allocations: 35.66 kB / 0.5211 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.003516, allocations: 0 / 0.5211 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001514/0.003668, allocations: 38.75 kB / 0.5212 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.003732, allocations: 51.41 kB / 0.5212 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.639e-05/0.003788, allocations: 89.86 kB / 0.5213 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.003809, allocations: 28.11 kB / 0.5213 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.003855, allocations: 88.14 kB / 0.5214 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.003878, allocations: 0 / 0.5214 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.003905, allocations: 9.719 kB / 0.5214 GB, free: 0.582 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.004078, allocations: 318.8 kB / 0.5217 GB, free: 268 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-06/0.004087, allocations: 0 / 0.5217 GB, free: 268 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.004094, allocations: 1.594 kB / 0.5217 GB, free: 268 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.245e-05/0.004126, allocations: 12.84 kB / 0.5217 GB, free: 252 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004128, allocations: 0 / 0.5217 GB, free: 252 kB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.54e-05/0.004193, allocations: 46.19 kB / 0.5218 GB, free: 200 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.004206, allocations: 4 kB / 0.5218 GB, free: 196 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.004209, allocations: 1 kB / 0.5218 GB, free: 196 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.004227, allocations: 0 / 0.5218 GB, free: 196 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-05/0.004276, allocations: 4 kB / 0.5218 GB, free: 192 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.00428, allocations: 1.094 kB / 0.5218 GB, free: 192 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.004294, allocations: 3.938 kB / 0.5218 GB, free: 188 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.004305, allocations: 0.6875 kB / 0.5218 GB, free: 188 kB / 490.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 (1): * Single equations (assignments): 1 * 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 8.551e-05/0.004391, allocations: 113.8 kB / 0.5219 GB, free: 64 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.004398, allocations: 1.031 kB / 0.5219 GB, free: 64 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.004513, allocations: 42.2 kB / 0.5219 GB, free: 16 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.004515, allocations: 0 / 0.5219 GB, free: 16 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.00452, allocations: 7.984 kB / 0.5219 GB, free: 8 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.004522, allocations: 5.062 kB / 0.5219 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.004641, allocations: 101.3 kB / 0.522 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.004642, allocations: 0 / 0.522 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.004661, allocations: 4.688 kB / 0.522 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.004663, allocations: 1.281 kB / 0.522 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.004668, allocations: 0 / 0.522 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.004669, allocations: 0 / 0.522 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.00467, allocations: 0 / 0.522 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.777e-05/0.004757, allocations: 66.31 kB / 0.5221 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-06/0.004761, allocations: 0 / 0.5221 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.004773, allocations: 4 kB / 0.5221 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.137e-05/0.004784, allocations: 0.625 kB / 0.5221 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.004795, allocations: 3.938 kB / 0.5221 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.004799, allocations: 2.75 kB / 0.5221 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.088e-05/0.004839, allocations: 75.28 kB / 0.5222 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004839, allocations: 0 / 0.5222 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001913/0.005031, allocations: 4 kB / 0.5222 GB, free: 15.7 MB / 0.4948 GB 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 (1): * Single equations (assignments): 1 * 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.0001575/0.005188, allocations: 103.2 kB / 0.5223 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.72e-05/0.005255, allocations: 7.031 kB / 0.5223 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.005257, allocations: 0 / 0.5223 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.908e-06/0.005267, allocations: 4 kB / 0.5223 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.005398, allocations: 0 / 0.5223 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.005643, allocations: 90.27 kB / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.212e-05/0.005695, allocations: 55.3 kB / 0.5224 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.00572, allocations: 5.5 kB / 0.5225 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.005752, allocations: 11.69 kB / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.005753, allocations: 0 / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.002692/0.008445, allocations: 296.4 kB / 0.5227 GB, free: 15.1 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.755096488981508]