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.0008042/0.0008042, allocations: 93.06 kB / 19.65 MB, free: 276 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.001365/0.001365, allocations: 165 kB / 23.02 MB, free: 1.547 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.035/1.035, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.8273/0.8273, allocations: 154.8 MB / 414.7 MB, free: 496 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 2.165e-06/2.165e-06, allocations: 0 / 0.5206 GB, free: 1.895 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.416e-05/3.633e-05, allocations: 4.422 kB / 0.5206 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001852/0.001888, allocations: 0.6038 MB / 0.5212 GB, free: 1.312 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002518/0.00214, allocations: 20.47 kB / 0.5212 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/0.002155, allocations: 0.875 kB / 0.5212 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.002184, allocations: 4.875 kB / 0.5212 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.203e-06/0.002191, allocations: 0 / 0.5212 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.002552, allocations: 17.38 kB / 0.5213 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.865e-05/0.0026, allocations: 0 / 0.5213 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.002641, allocations: 0 / 0.5213 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.087e-05/0.002671, allocations: 8.938 kB / 0.5213 GB, free: 1.266 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.54e-05/0.002697, allocations: 0.6562 kB / 0.5213 GB, free: 1.266 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.002713, allocations: 0 / 0.5213 GB, free: 1.266 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.002807, allocations: 17.09 kB / 0.5213 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.002817, allocations: 0 / 0.5213 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.002834, allocations: 0.7656 kB / 0.5213 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.002956, allocations: 25.34 kB / 0.5213 GB, free: 1.227 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.002959, allocations: 0 / 0.5213 GB, free: 1.227 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.00296, allocations: 0 / 0.5213 GB, free: 1.227 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.002965, allocations: 3.938 kB / 0.5213 GB, free: 1.223 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.0003349/0.0033, allocations: 337.2 kB / 0.5216 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.003343, allocations: 8.031 kB / 0.5216 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.003382, allocations: 2.219 kB / 0.5216 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.107e-05/0.003453, allocations: 108.6 kB / 0.5217 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.003464, allocations: 384 / 0.5217 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.003477, allocations: 1.719 kB / 0.5217 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.759e-05/0.003574, allocations: 38.2 kB / 0.5218 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.003585, allocations: 192 / 0.5218 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.003594, allocations: 1.156 kB / 0.5218 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.003603, allocations: 384 / 0.5218 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/0.003629, allocations: 9.641 kB / 0.5218 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.003771, allocations: 108.6 kB / 0.5219 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.616e-05/0.003827, allocations: 23.06 kB / 0.5219 GB, free: 500 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.003851, allocations: 11.78 kB / 0.5219 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.003894, allocations: 0 / 0.5219 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.003925, allocations: 43.52 kB / 0.522 GB, free: 432 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.003926, allocations: 0 / 0.522 GB, free: 432 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.00016/0.004086, allocations: 37.69 kB / 0.522 GB, free: 388 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.004119, allocations: 51.41 kB / 0.5221 GB, free: 324 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.863e-05/0.004167, allocations: 142.2 kB / 0.5222 GB, free: 168 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.00418, allocations: 26.2 kB / 0.5222 GB, free: 136 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.004218, allocations: 132.3 kB / 0.5223 GB, free: 0 / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.004268, allocations: 4.047 kB / 0.5223 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.004301, allocations: 15.38 kB / 0.5224 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.00445, allocations: 0.4883 MB / 0.5228 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.004464, allocations: 4.969 kB / 0.5228 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-06/0.004472, allocations: 0 / 0.5228 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.24e-05/0.004514, allocations: 20.5 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.004517, allocations: 0 / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.909e-05/0.004576, allocations: 30.64 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.00459, allocations: 4 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.004597, allocations: 4.5 kB / 0.5229 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.004615, allocations: 0.6875 kB / 0.5229 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.004685, allocations: 0 / 0.5229 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.00469, allocations: 5.156 kB / 0.5229 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.004706, allocations: 7.938 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.004721, allocations: 4 kB / 0.5229 GB, free: 15.39 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 7.89e-05/0.0048, allocations: 161.2 kB / 0.5231 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.004808, allocations: 2.125 kB / 0.5231 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.004929, allocations: 40.64 kB / 0.5231 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.004931, allocations: 1.719 kB / 0.5231 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.004935, allocations: 0 / 0.5231 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.00494, allocations: 3.984 kB / 0.5231 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.512e-05/0.005015, allocations: 116.5 kB / 0.5232 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.005016, allocations: 0 / 0.5232 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.005041, allocations: 1.344 kB / 0.5232 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-06/0.005045, allocations: 3.984 kB / 0.5232 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.005051, allocations: 0 / 0.5232 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.005054, allocations: 6.438 kB / 0.5232 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.005056, allocations: 0 / 0.5232 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.194e-05/0.005138, allocations: 76.31 kB / 0.5233 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-06/0.005142, allocations: 4 kB / 0.5233 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.005152, allocations: 0 / 0.5233 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.005163, allocations: 0 / 0.5233 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.00518, allocations: 2.906 kB / 0.5233 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-06/0.005186, allocations: 4 kB / 0.5233 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.184e-05/0.005228, allocations: 119.2 kB / 0.5234 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.005228, allocations: 0 / 0.5234 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002044/0.005432, allocations: 3.938 kB / 0.5234 GB, free: 14.79 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.0001356/0.005568, allocations: 103.2 kB / 0.5235 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.897e-05/0.005657, allocations: 16.34 kB / 0.5236 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.005659, allocations: 0 / 0.5236 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.26e-05/0.005672, allocations: 16.94 kB / 0.5236 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.005811, allocations: 1.562 kB / 0.5236 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.006057, allocations: 94.58 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.032e-05/0.006097, allocations: 51.36 kB / 0.5237 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.266e-05/0.00613, allocations: 4 kB / 0.5237 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.006159, allocations: 11.25 kB / 0.5237 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.223e-06/0.006161, allocations: 0 / 0.5237 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.002636/0.008796, allocations: 296.9 kB / 0.524 GB, free: 14.15 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.9217039104551077]