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.001513/0.001513, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001811/0.001811, 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.142/1.142, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.7727/0.7727, allocations: 154.8 MB / 415.1 MB, free: 472 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.873e-06/1.873e-06, allocations: 0 / 0.5206 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.226e-05, allocations: 4.281 kB / 0.5206 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002581/0.002603, allocations: 1.484 MB / 0.522 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003174/0.002921, allocations: 96.31 kB / 0.5221 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.002957, allocations: 0 / 0.5221 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.508e-05/0.003022, allocations: 8.719 kB / 0.5221 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.086e-05/0.003063, allocations: 4.922 kB / 0.5221 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.003339, allocations: 14.95 kB / 0.5221 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.627e-05/0.003415, allocations: 23.92 kB / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.003506, allocations: 7.984 kB / 0.5222 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.00355, allocations: 11.98 kB / 0.5222 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.717e-05/0.003587, allocations: 11.98 kB / 0.5222 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.003605, allocations: 7.938 kB / 0.5222 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.003691, allocations: 23.84 kB / 0.5222 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.003732, allocations: 4 kB / 0.5222 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.003755, allocations: 4.5 kB / 0.5222 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.003878, allocations: 28.66 kB / 0.5223 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.003881, allocations: 0 / 0.5223 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003882, allocations: 0.8438 kB / 0.5223 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.003886, allocations: 0 / 0.5223 GB, free: 0.5352 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003932/0.004279, allocations: 369.5 kB / 0.5226 GB, free: 140 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.004318, allocations: 8.031 kB / 0.5226 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.004356, allocations: 1.906 kB / 0.5226 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.004471, allocations: 117.7 kB / 0.5227 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.004483, allocations: 384 / 0.5227 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.004492, allocations: 4.906 kB / 0.5227 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.004636, allocations: 51.92 kB / 0.5228 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.004644, allocations: 4.125 kB / 0.5228 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004654, allocations: 384 / 0.5228 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.004662, allocations: 4.938 kB / 0.5228 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.926e-05/0.004701, allocations: 7.984 kB / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.005011, allocations: 247.8 kB / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.261e-05/0.005073, allocations: 39.03 kB / 0.5231 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.005101, allocations: 12.25 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.005138, allocations: 1.031 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.005166, allocations: 41.33 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.005168, allocations: 0 / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001618/0.005329, allocations: 38.92 kB / 0.5232 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.005363, allocations: 51.41 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.118e-05/0.005454, allocations: 166.5 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.005468, allocations: 25.7 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.00553, allocations: 140.3 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.005551, allocations: 7.891 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.005585, allocations: 15.38 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.005721, allocations: 0.4884 MB / 0.524 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.005738, allocations: 0.8125 kB / 0.524 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.005756, allocations: 9.281 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.005788, allocations: 11.69 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.005792, allocations: 9.016 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.664e-05/0.005869, allocations: 41.64 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.005883, allocations: 4 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.005888, allocations: 8.906 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.0059, allocations: 0 / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.005971, allocations: 4.594 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.005977, allocations: 3.984 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.006006, allocations: 12.66 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.006011, allocations: 0.75 kB / 0.5241 GB, free: 14.42 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 (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 7.591e-05/0.006087, allocations: 156.5 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.006113, allocations: 8.844 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.447e-05/0.006208, allocations: 45.31 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.00621, allocations: 2.844 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.006214, allocations: 0 / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.006217, allocations: 0 / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.006343, allocations: 116.6 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.006344, allocations: 0 / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.006384, allocations: 11.94 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.006386, allocations: 0 / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.006394, allocations: 5.141 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.006396, allocations: 0 / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.006397, allocations: 0 / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.006518, allocations: 188.5 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.006528, allocations: 8.453 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.00654, allocations: 3.984 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.036e-05/0.0066, allocations: 4.938 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.006634, allocations: 0 / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.006638, allocations: 1.438 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.006686, allocations: 135.2 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.006686, allocations: 4 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000242/0.006928, allocations: 4 kB / 0.5248 GB, free: 13.68 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 (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 0.0001229/0.007051, allocations: 97 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.063e-05/0.007142, allocations: 11.69 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.007144, allocations: 6.688 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/0.007171, allocations: 19.67 kB / 0.5249 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.007428, allocations: 11.94 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.007731, allocations: 118.2 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.156e-05/0.007773, allocations: 55.36 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.007797, allocations: 10.42 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.007822, allocations: 8.5 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.007823, allocations: 0 / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.002928/0.01075, allocations: 0.5549 MB / 0.5257 GB, free: 12.75 MB / 0.4948 GB " [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.9197301489766687]