Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.001368/0.001368, 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.001322/0.001322, 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.017/1.017, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.7833/0.7833, allocations: 154.9 MB / 415.9 MB, free: 240 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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.484e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001857/0.001872, allocations: 1.595 MB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0002823/0.002154, allocations: 140.1 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.002186, allocations: 0 / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.002209, allocations: 3.938 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.231e-05/0.002252, allocations: 2.312 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.002498, allocations: 39.84 kB / 0.5236 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.596e-05/0.002554, allocations: 36.41 kB / 0.5237 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.303e-05/0.002627, allocations: 12.86 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.002663, allocations: 19.98 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.002697, allocations: 15.92 kB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.002712, allocations: 9.516 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-05/0.002779, allocations: 15.98 kB / 0.5237 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.002791, allocations: 7.984 kB / 0.5237 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.543e-05/0.002807, allocations: 11.98 kB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.00291, allocations: 48.7 kB / 0.5238 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002912, allocations: 0 / 0.5238 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.81e-07/0.002912, allocations: 1.5 kB / 0.5238 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.002916, allocations: 0 / 0.5238 GB, free: 15.58 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002928/0.003208, allocations: 372.6 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.003239, allocations: 12.03 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.003263, allocations: 2 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.061e-05/0.003334, allocations: 116.5 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.003351, allocations: 8.375 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-06/0.003358, allocations: 1.062 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.889e-05/0.003457, allocations: 68.16 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.003463, allocations: 192 / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.003469, allocations: 384 / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.003474, allocations: 4.375 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.554e-05/0.0035, allocations: 12.48 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.003725, allocations: 257.4 kB / 0.5246 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.003861, allocations: 51.53 kB / 0.5247 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.003877, allocations: 11.69 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.565e-05/0.003943, allocations: 16.61 kB / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.003961, allocations: 35.42 kB / 0.5247 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.003962, allocations: 0 / 0.5247 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001122/0.004074, allocations: 53.58 kB / 0.5248 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.004099, allocations: 59.34 kB / 0.5248 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.11e-05/0.00416, allocations: 165.9 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.004171, allocations: 27.02 kB / 0.525 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.004217, allocations: 134.9 kB / 0.5252 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.004229, allocations: 3.953 kB / 0.5252 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.004257, allocations: 23.36 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.004366, allocations: 499.4 kB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.004378, allocations: 4 kB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/0.004391, allocations: 12.16 kB / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.004418, allocations: 15.69 kB / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.004419, allocations: 0 / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.449e-05/0.004474, allocations: 49.58 kB / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.004485, allocations: 11.94 kB / 0.5257 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.004489, allocations: 0 / 0.5257 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.151e-06/0.004495, allocations: 3.031 kB / 0.5257 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.806e-05/0.004533, allocations: 7.984 kB / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.004536, allocations: 0 / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.004554, allocations: 4 kB / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.004558, allocations: 0 / 0.5258 GB, free: 13.39 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.2e-05/0.00462, allocations: 164.5 kB / 0.5259 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.004635, allocations: 0 / 0.5259 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.448e-05/0.00471, allocations: 58.8 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.004711, allocations: 0 / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.004717, allocations: 3.938 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.004719, allocations: 0 / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.786e-05/0.004807, allocations: 109.7 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.004808, allocations: 1.031 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.004831, allocations: 4 kB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.004834, allocations: 4 kB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.004841, allocations: 9.078 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.004842, allocations: 0 / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.004843, allocations: 3.938 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.592e-05/0.004929, allocations: 188.5 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-06/0.004934, allocations: 4.5 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.004942, allocations: 0 / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.238e-05/0.004974, allocations: 10.69 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.005006, allocations: 7.922 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.00501, allocations: 4 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.005041, allocations: 127.2 kB / 0.5264 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005041, allocations: 0 / 0.5264 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001457/0.005187, allocations: 15.94 kB / 0.5264 GB, free: 12.63 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 9.079e-05/0.005278, allocations: 101.7 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.801e-05/0.005336, allocations: 19.91 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.52e-07/0.005337, allocations: 0 / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.398e-05/0.005361, allocations: 27.73 kB / 0.5266 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.00551, allocations: 5.812 kB / 0.5266 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.005702, allocations: 130.1 kB / 0.5267 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.005732, allocations: 59.34 kB / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.957e-05/0.005752, allocations: 1.031 kB / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.005796, allocations: 79.14 kB / 0.5268 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.005796, allocations: 0 / 0.5268 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.00209/0.007886, allocations: 0.8694 MB / 0.5277 GB, free: 11.32 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.722044796217233]