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.001093/0.001093, allocations: 92.22 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.001212/0.001212, allocations: 169 kB / 23.02 MB, free: 1.551 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.049/1.049, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.807/0.807, allocations: 154.8 MB / 414.7 MB, free: 0.5 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.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.844e-06/1.844e-06, allocations: 0 / 0.5206 GB, free: 1.973 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.164e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.969 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002994/0.003026, allocations: 1.487 MB / 0.522 GB, free: 500 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005982/0.003624, allocations: 92.81 kB / 0.5221 GB, free: 408 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.003664, allocations: 0.5938 kB / 0.5221 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.491e-05/0.003739, allocations: 0 / 0.5221 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.003795, allocations: 14.83 kB / 0.5221 GB, free: 396 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.004107, allocations: 19.95 kB / 0.5221 GB, free: 376 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.894e-05/0.004186, allocations: 19.94 kB / 0.5222 GB, free: 356 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.004282, allocations: 7.984 kB / 0.5222 GB, free: 348 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.004332, allocations: 12.55 kB / 0.5222 GB, free: 336 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.004371, allocations: 8 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.004389, allocations: 0.75 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.049e-05/0.00448, allocations: 27.84 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.004526, allocations: 8.516 kB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.004548, allocations: 5.438 kB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.004688, allocations: 27.95 kB / 0.5223 GB, free: 260 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004691, allocations: 3.938 kB / 0.5223 GB, free: 256 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.004693, allocations: 0 / 0.5223 GB, free: 256 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.004699, allocations: 0.7812 kB / 0.5223 GB, free: 256 kB / 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.0004514/0.00515, allocations: 364.6 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.005197, allocations: 9.031 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.005241, allocations: 0.9375 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.005347, allocations: 123.4 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.005362, allocations: 4.375 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.005376, allocations: 4.375 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.005534, allocations: 50.95 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.005546, allocations: 192 / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.005556, allocations: 384 / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.005566, allocations: 384 / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.863e-05/0.005605, allocations: 7.938 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.005956, allocations: 248.5 kB / 0.523 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.417e-05/0.00602, allocations: 36.22 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.00605, allocations: 11.75 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.006097, allocations: 0 / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.006123, allocations: 42.34 kB / 0.5231 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.006124, allocations: 0 / 0.5231 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001783/0.006303, allocations: 46.55 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.006334, allocations: 51.41 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.006435, allocations: 166.9 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.006446, allocations: 25.7 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.0065, allocations: 130.9 kB / 0.5235 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.006523, allocations: 12.73 kB / 0.5235 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.006557, allocations: 15.38 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.006709, allocations: 0.4893 MB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.00673, allocations: 4 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.566e-05/0.006745, allocations: 5.219 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.006782, allocations: 11.69 kB / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.006784, allocations: 0 / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.684e-05/0.006871, allocations: 50.45 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.006887, allocations: 5.812 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.006893, allocations: 3.938 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.006911, allocations: 7.938 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.332e-05/0.007004, allocations: 8 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.00701, allocations: 1.562 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.007037, allocations: 4 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.007042, allocations: 0 / 0.5241 GB, free: 14.14 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.645e-05/0.007119, allocations: 156.6 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.007147, allocations: 9.797 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.007269, allocations: 49.25 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.007272, allocations: 0 / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.007276, allocations: 3.938 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007279, allocations: 1.938 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.007422, allocations: 120.6 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.007424, allocations: 0 / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.007472, allocations: 4 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.007474, allocations: 4 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.007482, allocations: 2.75 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.007486, allocations: 3.938 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007487, allocations: 0 / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.00762, allocations: 191.9 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-06/0.007627, allocations: 0 / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.00764, allocations: 0 / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.151e-05/0.007701, allocations: 7.938 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.007739, allocations: 5.703 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.007743, allocations: 0 / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.123e-05/0.007795, allocations: 127.2 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.007795, allocations: 3.938 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002737/0.008068, allocations: 8 kB / 0.5248 GB, free: 13.39 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.0001492/0.008218, allocations: 102.1 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.357e-05/0.008311, allocations: 11.69 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.008313, allocations: 0 / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.391e-05/0.008337, allocations: 11.69 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.008639, allocations: 12.88 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.00897, allocations: 122.9 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.009015, allocations: 60.11 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.316e-05/0.009038, allocations: 6.938 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.009064, allocations: 12.44 kB / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of SimCode: time 7.52e-07/0.009064, allocations: 0 / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of Templates: time 0.002962/0.01203, allocations: 0.5683 MB / 0.5257 GB, free: 12.46 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.928155444096774]