Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.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.001077/0.001077, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001042/0.001042, allocations: 170 kB / 23.27 MB, free: 1.223 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.9584/0.9584, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.86/0.86, allocations: 154.9 MB / 415.1 MB, free: 268 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.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5212 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.805e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001761/0.00179, allocations: 0.61 MB / 0.5218 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003464/0.002136, allocations: 104.4 kB / 0.5219 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.00216, allocations: 0 / 0.5219 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.873e-05/0.002199, allocations: 1.75 kB / 0.5219 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.341e-06/0.002205, allocations: 0.875 kB / 0.5219 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.002585, allocations: 39.88 kB / 0.5219 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.002708, allocations: 64.8 kB / 0.522 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.002745, allocations: 4 kB / 0.522 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.66e-05/0.002802, allocations: 37.67 kB / 0.522 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.002846, allocations: 19.97 kB / 0.522 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.002865, allocations: 4.547 kB / 0.522 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.003006, allocations: 55.86 kB / 0.5221 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.725e-05/0.003043, allocations: 22.47 kB / 0.5221 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.003067, allocations: 15.92 kB / 0.5221 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.003223, allocations: 89.11 kB / 0.5222 GB, free: 492 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003225, allocations: 0 / 0.5222 GB, free: 492 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003226, allocations: 0 / 0.5222 GB, free: 492 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.00323, allocations: 0 / 0.5222 GB, free: 492 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004334/0.003664, allocations: 397.5 kB / 0.5226 GB, free: 56 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.0037, allocations: 12.03 kB / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.003749, allocations: 17.23 kB / 0.5226 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.239e-05/0.003831, allocations: 118.8 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.004135, allocations: 0.5259 MB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.004148, allocations: 4.375 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.004335, allocations: 86.83 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.004343, allocations: 192 / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.004355, allocations: 8.375 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.004368, allocations: 5.938 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.004511, allocations: 87.83 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.004645, allocations: 113.2 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.004749, allocations: 62.97 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.004789, allocations: 28.25 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.004811, allocations: 4.891 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.004839, allocations: 41.66 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.00484, allocations: 1 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002228/0.005063, allocations: 97.55 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.005095, allocations: 52.28 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.258e-05/0.005148, allocations: 146.2 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.005165, allocations: 33.7 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.005199, allocations: 127.9 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.005252, allocations: 35.69 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.005306, allocations: 36.81 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.005441, allocations: 0.4883 MB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.005477, allocations: 11.98 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.005508, allocations: 15.92 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.316e-05/0.005591, allocations: 52.36 kB / 0.5247 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.005593, allocations: 0 / 0.5247 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001429/0.005736, allocations: 74.36 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.005751, allocations: 10.03 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.005756, allocations: 5.281 kB / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.005766, allocations: 0 / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.005887, allocations: 27.91 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.00589, allocations: 3.938 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.005933, allocations: 12.92 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.005945, allocations: 7.984 kB / 0.5249 GB, free: 13.46 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.264e-05/0.006028, allocations: 163.5 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.006047, allocations: 4 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.006079, allocations: 11.97 kB / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006081, allocations: 0 / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.006083, allocations: 0 / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.006087, allocations: 0 / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.006195, allocations: 129.1 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.006197, allocations: 3.031 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.00629, allocations: 19.98 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006292, allocations: 0 / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.006303, allocations: 7.984 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.006305, allocations: 0 / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.006309, allocations: 7.922 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.00648, allocations: 120.3 kB / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.006486, allocations: 4 kB / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.0065, allocations: 5.5 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.006541, allocations: 4 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.006588, allocations: 11.97 kB / 0.5253 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.0066, allocations: 8 kB / 0.5253 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.006634, allocations: 123.7 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006634, allocations: 3.062 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002455/0.00688, allocations: 19.94 kB / 0.5255 GB, free: 12.78 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.007047, allocations: 123.2 kB / 0.5256 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.007178, allocations: 55.59 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.007181, allocations: 4 kB / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.667e-05/0.007238, allocations: 39.59 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.007386, allocations: 21.11 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.007635, allocations: 146.2 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.805e-05/0.007674, allocations: 63.34 kB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.428e-05/0.007738, allocations: 15.34 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.007807, allocations: 78.19 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.007807, allocations: 1.75 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.003533/0.01134, allocations: 1.24 MB / 0.5272 GB, free: 11.01 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6645587058737874]