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.001373/0.001373, allocations: 77.97 kB / 20.66 MB, free: 3.844 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.001619/0.001619, allocations: 169 kB / 24.06 MB, free: 456 kB / 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/1, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.8434/0.8434, allocations: 154.9 MB / 415.9 MB, free: 280 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.824e-06/1.824e-06, allocations: 0 / 0.5219 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.155e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002442/0.002474, allocations: 1.491 MB / 0.5234 GB, free: 44 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003246/0.002798, allocations: 88.11 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.002834, allocations: 0 / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 7.059e-05/0.002905, allocations: 5.344 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.84e-05/0.002953, allocations: 7.938 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.003241, allocations: 15.97 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.003308, allocations: 24.73 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.852e-05/0.003386, allocations: 11.92 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.256e-05/0.003419, allocations: 9.281 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.32e-05/0.003452, allocations: 15.92 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.003466, allocations: 0 / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.292e-05/0.003549, allocations: 23.91 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.003588, allocations: 5.344 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.592e-05/0.003604, allocations: 11.98 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.971e-05/0.003703, allocations: 23.91 kB / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.003706, allocations: 4.766 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003707, allocations: 0 / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.003712, allocations: 1.75 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB 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.0003113/0.004023, allocations: 360.6 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.004058, allocations: 12.03 kB / 0.5239 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.004083, allocations: 0.9375 kB / 0.5239 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.275e-05/0.004166, allocations: 114.7 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.004174, allocations: 384 / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.004182, allocations: 8.375 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.391e-05/0.004276, allocations: 54.88 kB / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-06/0.004281, allocations: 192 / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.004288, allocations: 4.375 kB / 0.5241 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.004292, allocations: 1.844 kB / 0.5241 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.00431, allocations: 3.938 kB / 0.5241 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.004524, allocations: 232.4 kB / 0.5243 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.705e-05/0.004571, allocations: 36.06 kB / 0.5244 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.004586, allocations: 11.62 kB / 0.5244 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.004618, allocations: 4.062 kB / 0.5244 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.004637, allocations: 34.36 kB / 0.5244 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.004638, allocations: 0 / 0.5244 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001135/0.004751, allocations: 42.62 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.004779, allocations: 51.41 kB / 0.5245 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.006e-05/0.004849, allocations: 170.4 kB / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.004861, allocations: 26.39 kB / 0.5247 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.00491, allocations: 134.9 kB / 0.5248 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.00493, allocations: 13.09 kB / 0.5248 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.004961, allocations: 23.31 kB / 0.5249 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.005116, allocations: 496.1 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.005132, allocations: 4.594 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.005143, allocations: 4 kB / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.031e-05/0.005173, allocations: 17.45 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.005175, allocations: 0 / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.028e-05/0.005236, allocations: 37.66 kB / 0.5254 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.005248, allocations: 8.062 kB / 0.5254 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.005252, allocations: 0 / 0.5254 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.005261, allocations: 3.938 kB / 0.5254 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.005323, allocations: 11.98 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-06/0.005326, allocations: 5.406 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.005343, allocations: 0 / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.005348, allocations: 4 kB / 0.5254 GB, free: 13.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 (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 6.15e-05/0.005409, allocations: 156.6 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.005424, allocations: 0.75 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.902e-05/0.005503, allocations: 42 kB / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.005506, allocations: 3.938 kB / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.005507, allocations: 1.281 kB / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.00551, allocations: 4 kB / 0.5256 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.612e-05/0.005606, allocations: 105.2 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.005609, allocations: 6.672 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.005633, allocations: 4 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005634, allocations: 0 / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.005639, allocations: 0 / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.00564, allocations: 0 / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00564, allocations: 0 / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.799e-05/0.005738, allocations: 195.8 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.005745, allocations: 2.75 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.005754, allocations: 4 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.091e-05/0.005785, allocations: 8.234 kB / 0.5259 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.005811, allocations: 0 / 0.5259 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.005816, allocations: 11.94 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.00585, allocations: 123.2 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00585, allocations: 0 / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001546/0.006005, allocations: 8.953 kB / 0.5261 GB, free: 13.01 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.000104/0.006109, allocations: 100.1 kB / 0.5262 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.531e-05/0.006164, allocations: 15.62 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.006166, allocations: 0.9375 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.456e-05/0.00618, allocations: 11.69 kB / 0.5262 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.006349, allocations: 17.22 kB / 0.5262 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002034/0.006553, allocations: 115.9 kB / 0.5263 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.532e-05/0.006588, allocations: 63.3 kB / 0.5264 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.59e-05/0.006604, allocations: 0 / 0.5264 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.006649, allocations: 74.19 kB / 0.5265 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.006649, allocations: 0.6562 kB / 0.5265 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.002186/0.008835, allocations: 0.6246 MB / 0.5271 GB, free: 11.96 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.8504222841002047]