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.00187/0.00187, allocations: 85.48 kB / 19.44 MB, free: 336 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.002049/0.002049, allocations: 173.2 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.564/1.564, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.439/1.439, allocations: 154.8 MB / 414.4 MB, free: 440 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.423e-06/1.423e-06, allocations: 0.9844 kB / 0.5199 GB, free: 2.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.075e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.227 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001703/0.001734, allocations: 0.5933 MB / 0.5205 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000216/0.00195, allocations: 25.47 kB / 0.5205 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.148e-05/0.001961, allocations: 0 / 0.5205 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.001974, allocations: 0 / 0.5205 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.691e-06/0.001979, allocations: 0.6562 kB / 0.5205 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.002263, allocations: 22.31 kB / 0.5205 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.847e-05/0.002301, allocations: 3.938 kB / 0.5205 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.002338, allocations: 0 / 0.5205 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.817e-05/0.002366, allocations: 0.875 kB / 0.5205 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.984e-05/0.002386, allocations: 4 kB / 0.5205 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.002399, allocations: 0 / 0.5205 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.00248, allocations: 16.53 kB / 0.5206 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-06/0.002488, allocations: 0.5625 kB / 0.5206 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.002504, allocations: 3.938 kB / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.826e-05/0.002592, allocations: 12.86 kB / 0.5206 GB, free: 1.574 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.002595, allocations: 0 / 0.5206 GB, free: 1.574 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002595, allocations: 0.5 kB / 0.5206 GB, free: 1.574 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.0026, allocations: 5.5 kB / 0.5206 GB, free: 1.57 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.0004068/0.003006, allocations: 340.4 kB / 0.5209 GB, free: 1.199 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.003044, allocations: 8.031 kB / 0.5209 GB, free: 1.191 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.003082, allocations: 4.938 kB / 0.5209 GB, free: 1.188 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.003189, allocations: 109.6 kB / 0.521 GB, free: 1.055 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.003201, allocations: 384 / 0.521 GB, free: 1.055 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-06/0.003208, allocations: 384 / 0.521 GB, free: 1.055 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.376e-05/0.003302, allocations: 35.72 kB / 0.5211 GB, free: 1.016 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.003312, allocations: 4.188 kB / 0.5211 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.003319, allocations: 384 / 0.5211 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.003323, allocations: 384 / 0.5211 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.003345, allocations: 4.969 kB / 0.5211 GB, free: 1.008 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.003502, allocations: 108.6 kB / 0.5212 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.109e-05/0.003573, allocations: 27.75 kB / 0.5212 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.003598, allocations: 7.688 kB / 0.5212 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.003632, allocations: 5.375 kB / 0.5212 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.003672, allocations: 41.31 kB / 0.5213 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.003673, allocations: 0 / 0.5213 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001517/0.003825, allocations: 34.3 kB / 0.5213 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.003869, allocations: 52.41 kB / 0.5213 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.003954, allocations: 142.2 kB / 0.5215 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.003973, allocations: 25.7 kB / 0.5215 GB, free: 488 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.004058, allocations: 135.4 kB / 0.5216 GB, free: 348 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.004087, allocations: 0.6562 kB / 0.5216 GB, free: 348 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.00412, allocations: 19.38 kB / 0.5216 GB, free: 320 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000413/0.004533, allocations: 0.4903 MB / 0.5221 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.004546, allocations: 4 kB / 0.5221 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.662e-06/0.004553, allocations: 0 / 0.5221 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.004588, allocations: 15.62 kB / 0.5221 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.00459, allocations: 5.219 kB / 0.5221 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.244e-05/0.004652, allocations: 33.7 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.00467, allocations: 10.66 kB / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.004675, allocations: 1.5 kB / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.004688, allocations: 0 / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.004744, allocations: 3.984 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.004748, allocations: 0 / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.004764, allocations: 8.438 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.004777, allocations: 1.031 kB / 0.5222 GB, free: 15.73 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 0.0001058/0.004883, allocations: 152.6 kB / 0.5223 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-06/0.004889, allocations: 1.062 kB / 0.5223 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.00501, allocations: 49.25 kB / 0.5224 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.005016, allocations: 4.5 kB / 0.5224 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.005019, allocations: 2.5 kB / 0.5224 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005022, allocations: 0 / 0.5224 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.005126, allocations: 112.6 kB / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005127, allocations: 0 / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.005143, allocations: 0 / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.005144, allocations: 0 / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.00515, allocations: 4 kB / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.005151, allocations: 2.438 kB / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005151, allocations: 0 / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.005251, allocations: 80.31 kB / 0.5226 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-06/0.005257, allocations: 3.953 kB / 0.5226 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.005267, allocations: 0 / 0.5226 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.005278, allocations: 0 / 0.5226 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.0053, allocations: 9.734 kB / 0.5226 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.005303, allocations: 0 / 0.5226 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.089e-05/0.005364, allocations: 119.2 kB / 0.5227 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005364, allocations: 0 / 0.5227 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001849/0.005549, allocations: 4 kB / 0.5227 GB, free: 15.12 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.0001477/0.005697, allocations: 100.2 kB / 0.5228 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.096e-05/0.005778, allocations: 12.62 kB / 0.5228 GB, free: 15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.005779, allocations: 0 / 0.5228 GB, free: 15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/0.005794, allocations: 10.94 kB / 0.5228 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.005928, allocations: 15.81 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.006146, allocations: 87.97 kB / 0.5229 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.104e-05/0.006197, allocations: 59.34 kB / 0.523 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.006221, allocations: 7.031 kB / 0.523 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.006252, allocations: 8.5 kB / 0.523 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of SimCode: time 4.4e-07/0.006253, allocations: 0 / 0.523 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.002777/0.009029, allocations: 299.7 kB / 0.5233 GB, free: 14.48 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: 6.162442893022671]