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.0009931/0.0009931, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001465/0.001465, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9162/0.9162, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.8118/0.8118, allocations: 154.9 MB / 415.9 MB, free: 244 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.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.513e-06/1.513e-06, allocations: 0 / 0.5219 GB, free: 1.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.311e-05, allocations: 5.516 kB / 0.522 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001598/0.001622, allocations: 0.5948 MB / 0.5225 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001654/0.001787, allocations: 28.92 kB / 0.5226 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.352e-05/0.0018, allocations: 0 / 0.5226 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.001814, allocations: 0 / 0.5226 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 1.099e-05/0.001825, allocations: 0.7812 kB / 0.5226 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.002063, allocations: 7.984 kB / 0.5226 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.737e-05/0.0021, allocations: 1.609 kB / 0.5226 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.002135, allocations: 4.688 kB / 0.5226 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.00216, allocations: 7.984 kB / 0.5226 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.694e-05/0.002177, allocations: 1.156 kB / 0.5226 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.002188, allocations: 0 / 0.5226 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-05/0.002252, allocations: 11.98 kB / 0.5226 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.186e-06/0.00226, allocations: 2.469 kB / 0.5226 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.457e-06/0.002269, allocations: 3.938 kB / 0.5226 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.163e-05/0.002341, allocations: 24.67 kB / 0.5226 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.002343, allocations: 0 / 0.5226 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002343, allocations: 0 / 0.5226 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.002348, allocations: 1.719 kB / 0.5226 GB, free: 0.8203 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.0002252/0.002573, allocations: 336.4 kB / 0.5229 GB, free: 464 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.002603, allocations: 8.031 kB / 0.523 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.002626, allocations: 5.703 kB / 0.523 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.335e-05/0.002679, allocations: 104.6 kB / 0.5231 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.002688, allocations: 1.125 kB / 0.5231 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-06/0.002692, allocations: 384 / 0.5231 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.657e-05/0.002749, allocations: 35.66 kB / 0.5231 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.002761, allocations: 192 / 0.5231 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-06/0.002766, allocations: 384 / 0.5231 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.002771, allocations: 9.641 kB / 0.5231 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.083e-05/0.002782, allocations: 7.875 kB / 0.5231 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.281e-05/0.002855, allocations: 97.27 kB / 0.5232 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.27e-05/0.002888, allocations: 23.06 kB / 0.5232 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.134e-05/0.002899, allocations: 13.62 kB / 0.5232 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.002922, allocations: 0 / 0.5232 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.002947, allocations: 37.39 kB / 0.5233 GB, free: 40 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.002948, allocations: 0 / 0.5233 GB, free: 40 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.839e-05/0.003046, allocations: 39.78 kB / 0.5233 GB, free: 16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.003072, allocations: 51.41 kB / 0.5234 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.305e-05/0.003105, allocations: 142.2 kB / 0.5235 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.003113, allocations: 25.7 kB / 0.5235 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/0.003137, allocations: 126.9 kB / 0.5236 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.003164, allocations: 8.547 kB / 0.5237 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.003185, allocations: 19.38 kB / 0.5237 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.003282, allocations: 497.1 kB / 0.5241 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-06/0.003289, allocations: 4 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-06/0.003295, allocations: 4.641 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.252e-05/0.003318, allocations: 12.91 kB / 0.5242 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.003319, allocations: 0 / 0.5242 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.931e-05/0.003358, allocations: 33.64 kB / 0.5242 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.003369, allocations: 6.812 kB / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.003373, allocations: 0 / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.003381, allocations: 7.25 kB / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.156e-05/0.003422, allocations: 0 / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.003425, allocations: 0 / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-06/0.003432, allocations: 0 / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.003444, allocations: 7.984 kB / 0.5242 GB, free: 15.01 MB / 0.4948 GB 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 5.245e-05/0.003496, allocations: 156.5 kB / 0.5244 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-06/0.0035, allocations: 0 / 0.5244 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.003564, allocations: 48.02 kB / 0.5244 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.003566, allocations: 0 / 0.5244 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.003569, allocations: 7.984 kB / 0.5244 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.003571, allocations: 0 / 0.5244 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.674e-05/0.003618, allocations: 93.2 kB / 0.5245 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.003619, allocations: 0 / 0.5245 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.003631, allocations: 7.938 kB / 0.5245 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-07/0.003632, allocations: 1.5 kB / 0.5245 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-06/0.003635, allocations: 0 / 0.5245 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.003636, allocations: 0 / 0.5245 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.003636, allocations: 0 / 0.5245 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.1e-05/0.003717, allocations: 76.83 kB / 0.5246 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.003723, allocations: 10.75 kB / 0.5246 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-06/0.003728, allocations: 0 / 0.5246 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.892e-06/0.003734, allocations: 0 / 0.5246 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-06/0.003743, allocations: 0 / 0.5246 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.003746, allocations: 3.938 kB / 0.5246 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.598e-05/0.003772, allocations: 123.2 kB / 0.5247 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.003772, allocations: 0 / 0.5247 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000121/0.003893, allocations: 6.375 kB / 0.5247 GB, free: 14.43 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 9.566e-05/0.003989, allocations: 99.23 kB / 0.5248 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.146e-05/0.00404, allocations: 11.69 kB / 0.5248 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.004041, allocations: 0 / 0.5248 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.873e-06/0.004048, allocations: 13.19 kB / 0.5248 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.476e-05/0.004133, allocations: 3.938 kB / 0.5249 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000131/0.004264, allocations: 91.95 kB / 0.5249 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.99e-05/0.004294, allocations: 52.39 kB / 0.525 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.507e-05/0.004319, allocations: 5.094 kB / 0.525 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.00435, allocations: 71.58 kB / 0.5251 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of SimCode: time 4.5e-07/0.00435, allocations: 3.938 kB / 0.5251 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.001644/0.005994, allocations: 325.3 kB / 0.5254 GB, free: 13.71 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8154191677458584]