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.00183/0.00183, allocations: 93.47 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.002075/0.002075, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.347/1.347, allocations: 154.8 MB / 414.4 MB, free: 460 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.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.793e-06/1.793e-06, allocations: 0 / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.353e-05, allocations: 6.312 kB / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003208/0.003242, allocations: 1.454 MB / 0.5213 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000352/0.003594, allocations: 95.66 kB / 0.5214 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.003627, allocations: 4.969 kB / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.988e-05/0.003697, allocations: 0 / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.003738, allocations: 9.672 kB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.003996, allocations: 11.98 kB / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.004072, allocations: 27.92 kB / 0.5214 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.924e-05/0.004162, allocations: 3.984 kB / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.439e-05/0.004216, allocations: 16.48 kB / 0.5214 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.004254, allocations: 8 kB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.004274, allocations: 5.25 kB / 0.5215 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.004357, allocations: 15.97 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.004411, allocations: 7.984 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.004433, allocations: 8.5 kB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.004575, allocations: 40.86 kB / 0.5215 GB, free: 0.582 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004578, allocations: 0 / 0.5215 GB, free: 0.582 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004579, allocations: 3.938 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.004583, allocations: 0.9688 kB / 0.5215 GB, free: 0.5781 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.000531/0.005114, allocations: 360.2 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.005153, allocations: 12.66 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.005193, allocations: 0.9375 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.005326, allocations: 117.9 kB / 0.522 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.005339, allocations: 384 / 0.522 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.00535, allocations: 4.375 kB / 0.522 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.005519, allocations: 46.83 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.005528, allocations: 192 / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.005536, allocations: 1.844 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.00554, allocations: 384 / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.005657, allocations: 23.92 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.006049, allocations: 264.4 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.006176, allocations: 40.41 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.00624, allocations: 15.73 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.718e-05/0.006287, allocations: 4 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.006326, allocations: 34.14 kB / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.006327, allocations: 0 / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0002902/0.006618, allocations: 75.02 kB / 0.5225 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.006665, allocations: 55.41 kB / 0.5225 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.006806, allocations: 170.9 kB / 0.5227 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.006828, allocations: 29.7 kB / 0.5227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.006912, allocations: 126.9 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.006935, allocations: 14.52 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.006973, allocations: 15.38 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002838/0.007256, allocations: 0.4884 MB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.007311, allocations: 8 kB / 0.5234 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.291e-05/0.007354, allocations: 11.98 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.007456, allocations: 33.2 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.007458, allocations: 0 / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001495/0.007608, allocations: 62.08 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.007625, allocations: 11.53 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.007632, allocations: 4.188 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.007645, allocations: 0 / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.007722, allocations: 13.17 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.007726, allocations: 0 / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.00776, allocations: 7.938 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.007765, allocations: 0.5625 kB / 0.5235 GB, free: 14.37 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 0.0001152/0.007881, allocations: 157.6 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.007903, allocations: 0 / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.008086, allocations: 70.77 kB / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.008088, allocations: 0 / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.008091, allocations: 4 kB / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.008093, allocations: 0 / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.008257, allocations: 117.8 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.008258, allocations: 0 / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.008303, allocations: 11.98 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008305, allocations: 0.7812 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.008312, allocations: 0 / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.008317, allocations: 6.688 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008318, allocations: 0 / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.008559, allocations: 203.9 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.008568, allocations: 7.938 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.008581, allocations: 3.984 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.017e-05/0.008641, allocations: 3.938 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.00868, allocations: 6.875 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.008683, allocations: 3.938 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.196e-05/0.008765, allocations: 131.2 kB / 0.5242 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008765, allocations: 0 / 0.5242 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002123/0.008978, allocations: 8 kB / 0.5242 GB, free: 13.59 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.0001674/0.009145, allocations: 91.25 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.009314, allocations: 33.11 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009315, allocations: 4 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.891e-05/0.009384, allocations: 24.2 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.009609, allocations: 10.16 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.009922, allocations: 126.2 kB / 0.5245 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.395e-05/0.009996, allocations: 59.34 kB / 0.5245 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.01002, allocations: 12.17 kB / 0.5246 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.01005, allocations: 8.5 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.01005, allocations: 0 / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.003333/0.01338, allocations: 0.5555 MB / 0.5251 GB, free: 12.63 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: 6.021420746925287]