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.001099/0.001099, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001208/0.001208, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9492/0.9492, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.7383/0.7383, allocations: 154.9 MB / 415.1 MB, free: 232 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 1.082e-06/1.082e-06, allocations: 0 / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.159e-05, allocations: 4.141 kB / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.0009329/0.0009444, allocations: 0.5983 MB / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001509/0.001095, allocations: 24.89 kB / 481.1 MB, free: 5.891 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-06/0.001105, allocations: 0 / 481.1 MB, free: 5.891 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.048e-05/0.001116, allocations: 0 / 481.1 MB, free: 5.891 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.969e-06/0.00112, allocations: 0 / 481.1 MB, free: 5.891 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.001349, allocations: 16.53 kB / 481.1 MB, free: 5.875 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.469e-05/0.001384, allocations: 1.719 kB / 481.1 MB, free: 5.875 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.819e-05/0.001412, allocations: 1 kB / 481.1 MB, free: 5.875 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.553e-05/0.001438, allocations: 5.062 kB / 481.1 MB, free: 5.871 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.504e-05/0.001453, allocations: 0 / 481.1 MB, free: 5.871 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.001463, allocations: 0 / 481.1 MB, free: 5.871 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.556e-05/0.001518, allocations: 21.12 kB / 481.1 MB, free: 5.852 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.694e-06/0.001526, allocations: 3.984 kB / 481.1 MB, free: 5.848 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.594e-06/0.001534, allocations: 0.875 kB / 481.1 MB, free: 5.848 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 5.771e-05/0.001591, allocations: 12.59 kB / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.001594, allocations: 4 kB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.001594, allocations: 1.406 kB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.001597, allocations: 3.984 kB / 481.1 MB, free: 5.828 MB / 442.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.0001711/0.001769, allocations: 213.3 kB / 481.3 MB, free: 5.594 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.001795, allocations: 8.688 kB / 481.3 MB, free: 5.586 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.703e-05/0.001812, allocations: 0.9375 kB / 481.3 MB, free: 5.586 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.703e-05/0.001859, allocations: 107.4 kB / 481.4 MB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.001869, allocations: 5.453 kB / 481.5 MB, free: 5.453 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-06/0.001877, allocations: 0.9844 kB / 481.5 MB, free: 5.453 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.894e-05/0.001926, allocations: 30.27 kB / 481.5 MB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.001931, allocations: 0.9688 kB / 481.5 MB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-06/0.001935, allocations: 384 / 481.5 MB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.00194, allocations: 2.281 kB / 481.5 MB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.728e-06/0.001949, allocations: 7.875 kB / 481.5 MB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.476e-05/0.002004, allocations: 57.05 kB / 481.5 MB, free: 5.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.808e-05/0.002032, allocations: 15.2 kB / 481.6 MB, free: 5.316 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.04e-05/0.002042, allocations: 10.98 kB / 481.6 MB, free: 5.305 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.002063, allocations: 4.531 kB / 481.6 MB, free: 5.301 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.002081, allocations: 34.56 kB / 481.6 MB, free: 5.258 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.002081, allocations: 4 kB / 481.6 MB, free: 5.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 6.445e-05/0.002146, allocations: 38.62 kB / 481.7 MB, free: 5.215 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.002169, allocations: 51.41 kB / 481.7 MB, free: 5.152 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.283e-05/0.002192, allocations: 90.52 kB / 481.8 MB, free: 5.055 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.0022, allocations: 25.7 kB / 481.8 MB, free: 5.023 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.614e-05/0.002216, allocations: 80.14 kB / 481.9 MB, free: 4.941 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.00224, allocations: 3.625 kB / 481.9 MB, free: 4.941 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.002257, allocations: 14.22 kB / 481.9 MB, free: 4.922 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.002321, allocations: 324.1 kB / 482.2 MB, free: 4.598 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-06/0.002326, allocations: 0.6562 kB / 482.2 MB, free: 4.598 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-06/0.00233, allocations: 4 kB / 482.2 MB, free: 4.594 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.7e-05/0.002347, allocations: 5.516 kB / 482.2 MB, free: 4.586 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.002349, allocations: 0.625 kB / 482.2 MB, free: 4.586 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.767e-05/0.002376, allocations: 34.27 kB / 482.3 MB, free: 4.547 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.002384, allocations: 8 kB / 482.3 MB, free: 4.539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.002389, allocations: 5.703 kB / 482.3 MB, free: 4.535 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.002398, allocations: 0 / 482.3 MB, free: 4.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.642e-05/0.002434, allocations: 4.625 kB / 482.3 MB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.002437, allocations: 4.625 kB / 482.3 MB, free: 4.527 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-06/0.002443, allocations: 0 / 482.3 MB, free: 4.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.002451, allocations: 0.625 kB / 482.3 MB, free: 4.527 MB / 442.7 MB 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 4.157e-05/0.002492, allocations: 110.7 kB / 482.4 MB, free: 4.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-06/0.002497, allocations: 8 kB / 482.4 MB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.002551, allocations: 41.55 kB / 482.5 MB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.002551, allocations: 3.938 kB / 482.5 MB, free: 4.355 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.002552, allocations: 1.562 kB / 482.5 MB, free: 4.355 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.002555, allocations: 0 / 482.5 MB, free: 4.355 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.012e-05/0.002595, allocations: 61.84 kB / 482.5 MB, free: 4.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.002596, allocations: 5 kB / 482.5 MB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-06/0.002601, allocations: 0 / 482.5 MB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-07/0.002602, allocations: 0.5312 kB / 482.5 MB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-06/0.002606, allocations: 0.875 kB / 482.5 MB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.002607, allocations: 5.297 kB / 482.5 MB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.002608, allocations: 0 / 482.5 MB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.482e-05/0.002642, allocations: 57.08 kB / 482.6 MB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-06/0.002646, allocations: 0.6562 kB / 482.6 MB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-06/0.002652, allocations: 5.219 kB / 482.6 MB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.048e-06/0.002656, allocations: 0 / 482.6 MB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-06/0.002666, allocations: 3.984 kB / 482.6 MB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.002669, allocations: 0.7656 kB / 482.6 MB, free: 4.188 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.073e-06/0.002676, allocations: 10.55 kB / 482.6 MB, free: 4.176 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002676, allocations: 3.938 kB / 482.6 MB, free: 4.172 MB / 442.7 MB Notification: Performance of remove unused functions: time 9.045e-05/0.002766, allocations: 7.938 kB / 482.6 MB, free: 4.164 MB / 442.7 MB 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 8.407e-05/0.00285, allocations: 78.11 kB / 482.7 MB, free: 4.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 3.918e-05/0.002889, allocations: 8.859 kB / 482.7 MB, free: 4.066 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.002891, allocations: 0.5469 kB / 482.7 MB, free: 4.066 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.232e-06/0.002897, allocations: 9.5 kB / 482.7 MB, free: 4.055 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.81e-05/0.002935, allocations: 9.906 kB / 482.7 MB, free: 4.047 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001196/0.003055, allocations: 80.86 kB / 482.8 MB, free: 3.941 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.333e-05/0.003078, allocations: 51.36 kB / 482.9 MB, free: 3.871 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.726e-05/0.003095, allocations: 6.828 kB / 482.9 MB, free: 3.867 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.003126, allocations: 51.38 kB / 482.9 MB, free: 3.816 MB / 442.7 MB Notification: Performance of SimCode: time 3.9e-07/0.003127, allocations: 0 / 482.9 MB, free: 3.816 MB / 442.7 MB Notification: Performance of Templates: time 0.001435/0.004561, allocations: 343.1 kB / 483.2 MB, free: 3.5 MB / 442.7 MB " [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.5015604430809617]