Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.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.0009452/0.0009452, allocations: 73.88 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.000989/0.000989, allocations: 173 kB / 24.06 MB, free: 452 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.045/1.045, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.7911/0.7911, allocations: 154.9 MB / 415.9 MB, free: 256 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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 3.984 kB / 0.522 GB, free: 1.461 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/2.033e-05, allocations: 2.312 kB / 0.522 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00143/0.00145, allocations: 0.6008 MB / 0.5225 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002014/0.001652, allocations: 51.8 kB / 0.5226 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.849e-05/0.00167, allocations: 0 / 0.5226 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.001706, allocations: 0 / 0.5226 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.922e-06/0.001712, allocations: 0 / 0.5226 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.001974, allocations: 24.95 kB / 0.5226 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.002045, allocations: 35.95 kB / 0.5226 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.466e-05/0.00208, allocations: 0 / 0.5226 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.002115, allocations: 16.5 kB / 0.5227 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.321e-05/0.002138, allocations: 9.656 kB / 0.5227 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.002152, allocations: 4 kB / 0.5227 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.002235, allocations: 20.52 kB / 0.5227 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.002261, allocations: 9.859 kB / 0.5227 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.002285, allocations: 13.41 kB / 0.5227 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.298e-05/0.002378, allocations: 41.83 kB / 0.5228 GB, free: 0.668 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.002381, allocations: 4 kB / 0.5228 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.002382, allocations: 0 / 0.5228 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.002385, allocations: 0 / 0.5228 GB, free: 0.6641 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002877/0.002673, allocations: 365.2 kB / 0.5231 GB, free: 276 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.002709, allocations: 12.02 kB / 0.5231 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.002742, allocations: 9.234 kB / 0.5231 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.91e-05/0.002811, allocations: 113.6 kB / 0.5232 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.002824, allocations: 4.375 kB / 0.5232 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.002833, allocations: 4.375 kB / 0.5232 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.256e-05/0.002926, allocations: 51.73 kB / 0.5233 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.002933, allocations: 192 / 0.5233 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.00294, allocations: 4.312 kB / 0.5233 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.002947, allocations: 4.375 kB / 0.5233 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.003057, allocations: 76.62 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.003173, allocations: 109.2 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.434e-05/0.003247, allocations: 56.33 kB / 0.5235 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.003275, allocations: 19.67 kB / 0.5236 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.003395, allocations: 19.98 kB / 0.5236 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.003419, allocations: 38.73 kB / 0.5236 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.003421, allocations: 3.938 kB / 0.5236 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0001698/0.00359, allocations: 88.8 kB / 0.5237 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.003626, allocations: 56.12 kB / 0.5238 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.84e-05/0.003684, allocations: 158.2 kB / 0.5239 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.003696, allocations: 25.7 kB / 0.5239 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.003727, allocations: 128.5 kB / 0.5241 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.003756, allocations: 27.78 kB / 0.5241 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.003806, allocations: 39.34 kB / 0.5241 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.00393, allocations: 0.4883 MB / 0.5246 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.003948, allocations: 10.23 kB / 0.5246 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.003967, allocations: 11.98 kB / 0.5246 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.045e-05/0.004027, allocations: 43.61 kB / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004029, allocations: 0 / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001013/0.00413, allocations: 73.61 kB / 0.5247 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.004143, allocations: 8 kB / 0.5247 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.004147, allocations: 2.625 kB / 0.5247 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-06/0.004155, allocations: 0 / 0.5247 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.004229, allocations: 19.98 kB / 0.5248 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.004231, allocations: 0 / 0.5248 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.004248, allocations: 3.953 kB / 0.5248 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.004256, allocations: 11.88 kB / 0.5248 GB, free: 14.43 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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.04e-05/0.004336, allocations: 163.3 kB / 0.5249 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.00435, allocations: 8 kB / 0.5249 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.004494, allocations: 112.2 kB / 0.525 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.004497, allocations: 4 kB / 0.525 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.004499, allocations: 0 / 0.525 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.004501, allocations: 0 / 0.525 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.034e-05/0.004592, allocations: 106.2 kB / 0.5251 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.004594, allocations: 3.984 kB / 0.5251 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.004642, allocations: 19.94 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.004643, allocations: 0.9375 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.004651, allocations: 4 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.004654, allocations: 7.984 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.004655, allocations: 0.9375 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.004772, allocations: 124.3 kB / 0.5253 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.004778, allocations: 4.438 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.004788, allocations: 4.688 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.329e-05/0.004802, allocations: 7.938 kB / 0.5253 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.004827, allocations: 13.19 kB / 0.5253 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.004832, allocations: 0 / 0.5253 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.004865, allocations: 123.1 kB / 0.5254 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004865, allocations: 0 / 0.5254 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002015/0.005066, allocations: 16.62 kB / 0.5255 GB, free: 13.66 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],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.0001244/0.005191, allocations: 113.1 kB / 0.5256 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.005291, allocations: 47.66 kB / 0.5256 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.005292, allocations: 0 / 0.5256 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.005333, allocations: 38.03 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.005465, allocations: 10.73 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002006/0.005666, allocations: 138.2 kB / 0.5258 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.43e-05/0.0057, allocations: 63.34 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.005734, allocations: 14.94 kB / 0.5259 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.005783, allocations: 78.2 kB / 0.5259 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.005783, allocations: 0 / 0.5259 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.002376/0.008159, allocations: 0.6912 MB / 0.5266 GB, free: 12.45 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.823141026776284]