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.001586/0.001586, allocations: 93.06 kB / 19.65 MB, free: 284 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.001553/0.001553, allocations: 165 kB / 23.01 MB, free: 1.559 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.035/1.035, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.9074/0.9074, allocations: 154.8 MB / 414.7 MB, free: 0.5195 MB / 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.754e-06/1.754e-06, allocations: 0 / 0.5206 GB, free: 1.977 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.472e-05, allocations: 3.969 kB / 0.5206 GB, free: 1.973 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.009296/0.009331, allocations: 1.593 MB / 0.5221 GB, free: 404 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000417/0.009748, allocations: 148.1 kB / 0.5223 GB, free: 256 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.009789, allocations: 0 / 0.5223 GB, free: 256 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.009825, allocations: 4.812 kB / 0.5223 GB, free: 252 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.132e-05/0.009877, allocations: 4.688 kB / 0.5223 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.01025, allocations: 35.83 kB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.166e-05/0.01033, allocations: 33.33 kB / 0.5223 GB, free: 180 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.01043, allocations: 15.97 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.01048, allocations: 23.92 kB / 0.5224 GB, free: 140 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.01053, allocations: 11.98 kB / 0.5224 GB, free: 128 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.01055, allocations: 5.344 kB / 0.5224 GB, free: 124 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-05/0.01064, allocations: 23.97 kB / 0.5224 GB, free: 100 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.01065, allocations: 3.984 kB / 0.5224 GB, free: 96 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.01068, allocations: 13.03 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.01083, allocations: 47.81 kB / 0.5225 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01083, allocations: 0 / 0.5225 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01083, allocations: 2.812 kB / 0.5225 GB, free: 36 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.01084, allocations: 0 / 0.5225 GB, free: 36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004569/0.01129, allocations: 376.7 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.01133, allocations: 8.031 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.01138, allocations: 4.938 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.01148, allocations: 116.5 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.01151, allocations: 384 / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.01153, allocations: 8.938 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.01171, allocations: 63.5 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.01172, allocations: 192 / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.01173, allocations: 1.312 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.01174, allocations: 4.375 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.494e-05/0.0118, allocations: 25.45 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.01222, allocations: 267.8 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.01245, allocations: 43.05 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.01248, allocations: 12.69 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.01261, allocations: 19.92 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.01264, allocations: 41.33 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.01264, allocations: 1.406 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002/0.01284, allocations: 49.64 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.01287, allocations: 55.41 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.01296, allocations: 163.1 kB / 0.5237 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.01298, allocations: 25.7 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.01304, allocations: 142.8 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.01306, allocations: 4.641 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.0131, allocations: 23.38 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.01324, allocations: 497.4 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.01326, allocations: 7.922 kB / 0.5244 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.919e-05/0.01328, allocations: 4 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/0.01333, allocations: 21.31 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01334, allocations: 0 / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001044/0.01344, allocations: 57.8 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01345, allocations: 7.094 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01346, allocations: 4 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.01348, allocations: 4 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/0.01356, allocations: 7.984 kB / 0.5245 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.01356, allocations: 7.922 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.383e-05/0.0136, allocations: 4 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.0136, allocations: 0 / 0.5245 GB, free: 13.8 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 8.331e-05/0.01369, allocations: 160.6 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.01373, allocations: 10.69 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.01387, allocations: 53.31 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01387, allocations: 0 / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01387, allocations: 0 / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.01388, allocations: 7.984 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.01402, allocations: 120.6 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01402, allocations: 0 / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-05/0.01408, allocations: 9.312 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.01409, allocations: 0 / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.01409, allocations: 3.938 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.0141, allocations: 0.5 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.0141, allocations: 4.438 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.01424, allocations: 195.9 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.01425, allocations: 1.906 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.01427, allocations: 7.938 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.01433, allocations: 0 / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.01439, allocations: 11.98 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.0144, allocations: 0 / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.883e-05/0.01444, allocations: 129.6 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01444, allocations: 0 / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002761/0.01472, allocations: 8 kB / 0.5252 GB, free: 13.02 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 0.0001742/0.0149, allocations: 107 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.01502, allocations: 29.95 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01502, allocations: 0 / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.578e-05/0.01505, allocations: 15.69 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.01533, allocations: 8.172 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.0157, allocations: 130.1 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.01574, allocations: 56.39 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.01577, allocations: 9.25 kB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.01581, allocations: 16.5 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.01581, allocations: 1.562 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.00353/0.01934, allocations: 0.7718 MB / 0.5263 GB, free: 11.86 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: 4.221166661940515]