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.001418/0.001418, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001269/0.001269, allocations: 173 kB / 23.49 MB, free: 1.059 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.079/1.079, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.7747/0.7747, allocations: 154.8 MB / 415.1 MB, free: 0.5234 MB / 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.704e-06/1.704e-06, allocations: 0 / 0.5206 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.263e-05, allocations: 4.703 kB / 0.5206 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001203/0.001236, allocations: 0.5974 MB / 0.5212 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001816/0.001417, allocations: 23.91 kB / 0.5212 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.001435, allocations: 0 / 0.5212 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.00145, allocations: 0 / 0.5212 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.001456, allocations: 0.5469 kB / 0.5212 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.001748, allocations: 9.547 kB / 0.5212 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.932e-05/0.001797, allocations: 7.984 kB / 0.5213 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.001834, allocations: 0 / 0.5213 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.001858, allocations: 7.875 kB / 0.5213 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.929e-05/0.001877, allocations: 5.031 kB / 0.5213 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.001892, allocations: 0 / 0.5213 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.613e-05/0.001958, allocations: 19.97 kB / 0.5213 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.001966, allocations: 1.188 kB / 0.5213 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.354e-05/0.001979, allocations: 0 / 0.5213 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.043e-05/0.00206, allocations: 11.92 kB / 0.5213 GB, free: 1.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.002062, allocations: 0.5625 kB / 0.5213 GB, free: 1.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.002063, allocations: 0 / 0.5213 GB, free: 1.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.002067, allocations: 1.031 kB / 0.5213 GB, free: 1.59 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.0002492/0.002316, allocations: 344.4 kB / 0.5216 GB, free: 1.215 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.002351, allocations: 9.594 kB / 0.5216 GB, free: 1.207 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.002383, allocations: 0.9375 kB / 0.5216 GB, free: 1.207 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.6e-05/0.002439, allocations: 108.6 kB / 0.5217 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.002452, allocations: 4.375 kB / 0.5217 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.002461, allocations: 1.594 kB / 0.5217 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.427e-05/0.002545, allocations: 30.25 kB / 0.5218 GB, free: 1.035 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.002553, allocations: 4.125 kB / 0.5218 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.002561, allocations: 1.062 kB / 0.5218 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.00257, allocations: 4.375 kB / 0.5218 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.002586, allocations: 5.219 kB / 0.5218 GB, free: 1.023 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.496e-05/0.002681, allocations: 108.6 kB / 0.5219 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.358e-05/0.002714, allocations: 27.09 kB / 0.5219 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.002732, allocations: 9.031 kB / 0.5219 GB, free: 0.832 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.002764, allocations: 4.062 kB / 0.5219 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.002783, allocations: 37.38 kB / 0.522 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.002783, allocations: 0.7812 kB / 0.522 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001108/0.002894, allocations: 37.64 kB / 0.522 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.002923, allocations: 56.25 kB / 0.5221 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.426e-05/0.002957, allocations: 146.2 kB / 0.5222 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.002966, allocations: 28.48 kB / 0.5222 GB, free: 496 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.002993, allocations: 126.9 kB / 0.5223 GB, free: 364 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.003018, allocations: 0 / 0.5223 GB, free: 364 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.003039, allocations: 19.38 kB / 0.5224 GB, free: 336 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.00315, allocations: 0.4883 MB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-06/0.00316, allocations: 0 / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-06/0.003166, allocations: 4 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.287e-05/0.003199, allocations: 16.12 kB / 0.5229 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.0032, allocations: 0.5 kB / 0.5229 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.707e-05/0.003237, allocations: 34.8 kB / 0.5229 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.003249, allocations: 5.562 kB / 0.5229 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.003253, allocations: 0.8125 kB / 0.5229 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.003264, allocations: 0 / 0.5229 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.129e-05/0.003316, allocations: 9.453 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.00332, allocations: 0 / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-06/0.00333, allocations: 7.938 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.00334, allocations: 0 / 0.5229 GB, free: 15.75 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.436e-05/0.003394, allocations: 157.1 kB / 0.5231 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-06/0.003398, allocations: 1.375 kB / 0.5231 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.045e-05/0.003489, allocations: 45.59 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.00349, allocations: 4.625 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.003493, allocations: 0 / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.003496, allocations: 1.312 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.094e-05/0.003547, allocations: 112.5 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.003547, allocations: 0 / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/0.00356, allocations: 4 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.003561, allocations: 0.625 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.003567, allocations: 1.5 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.003567, allocations: 0 / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.003569, allocations: 3.984 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.833e-05/0.003617, allocations: 76.33 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-06/0.003621, allocations: 3.281 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.003629, allocations: 4 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-06/0.003634, allocations: 0 / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.003646, allocations: 3.984 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.003649, allocations: 3.938 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.529e-05/0.003675, allocations: 119.2 kB / 0.5234 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.003675, allocations: 0 / 0.5234 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001236/0.003798, allocations: 7.938 kB / 0.5234 GB, free: 15.14 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.878e-05/0.003897, allocations: 101.7 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.234e-05/0.003959, allocations: 11.69 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.003961, allocations: 0 / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.004e-06/0.003968, allocations: 11.69 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.188e-05/0.00406, allocations: 8.984 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001728/0.004232, allocations: 94.88 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.838e-05/0.004261, allocations: 52.39 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.948e-05/0.00428, allocations: 1 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.0043, allocations: 13.25 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.0043, allocations: 2.75 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.001703/0.006003, allocations: 300.3 kB / 0.524 GB, free: 14.5 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.8741778780240566]