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.001536/0.001536, allocations: 92.7 kB / 19.44 MB, free: 324 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.001728/0.001728, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.248/1.248, allocations: 154.8 MB / 414.4 MB, free: 464 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.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 2.234e-06/2.234e-06, allocations: 0 / 0.5199 GB, free: 2.305 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.298e-05, allocations: 4.703 kB / 0.5199 GB, free: 2.301 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003826/0.003859, allocations: 1.555 MB / 0.5214 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004851/0.004344, allocations: 144.2 kB / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.004386, allocations: 0.9688 kB / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/0.004429, allocations: 7.922 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.004485, allocations: 1.094 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.00485, allocations: 41.8 kB / 0.5216 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.33e-05/0.004943, allocations: 31.86 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.005052, allocations: 8 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.005119, allocations: 19.98 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.005181, allocations: 20.47 kB / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.005203, allocations: 4 kB / 0.5217 GB, free: 496 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.005315, allocations: 21.22 kB / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.005332, allocations: 4 kB / 0.5217 GB, free: 472 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.005373, allocations: 15.97 kB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.005568, allocations: 57.52 kB / 0.5217 GB, free: 400 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.005573, allocations: 7.938 kB / 0.5218 GB, free: 392 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005574, allocations: 0 / 0.5218 GB, free: 392 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.00558, allocations: 0 / 0.5218 GB, free: 392 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.0006615/0.006241, allocations: 266.8 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.006284, allocations: 12.94 kB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.006342, allocations: 4.938 kB / 0.522 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.006528, allocations: 114.5 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.00656, allocations: 4.375 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.006572, allocations: 1 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.006852, allocations: 63.23 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.006863, allocations: 192 / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.006877, allocations: 384 / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.006882, allocations: 5.125 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.007178, allocations: 53.58 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.007674, allocations: 212.5 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.008134, allocations: 58.53 kB / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.008285, allocations: 26.62 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.008447, allocations: 23.92 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.008485, allocations: 34.5 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.008487, allocations: 0.75 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0005689/0.009055, allocations: 94.89 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/0.009251, allocations: 59.41 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.009368, allocations: 103.1 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.009394, allocations: 25.7 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.756e-05/0.009471, allocations: 84.14 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.009493, allocations: 10.14 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.009549, allocations: 17.7 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.009765, allocations: 318.8 kB / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.009899, allocations: 19.91 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.01002, allocations: 19.98 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.0103, allocations: 54.89 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.0103, allocations: 0 / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000337/0.01064, allocations: 82.11 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.01065, allocations: 7.562 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01066, allocations: 0 / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.01068, allocations: 1 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.0108, allocations: 11.98 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.0108, allocations: 0.875 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.473e-05/0.01089, allocations: 12.17 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.01089, allocations: 1.031 kB / 0.5235 GB, free: 14.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: 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 0.0001234/0.01102, allocations: 113.8 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.01107, allocations: 17.34 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.01145, allocations: 77.33 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01146, allocations: 1.156 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01146, allocations: 0 / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01146, allocations: 4 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.01169, allocations: 112.3 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01169, allocations: 0 / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.0118, allocations: 11.98 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.0118, allocations: 0 / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.01182, allocations: 11.94 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01182, allocations: 0 / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.01182, allocations: 3.984 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.01224, allocations: 174.4 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.01226, allocations: 4 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.01228, allocations: 3.938 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.01241, allocations: 7.984 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.01248, allocations: 7.984 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.01249, allocations: 4 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.95e-05/0.01256, allocations: 79.28 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01256, allocations: 1.5 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003908/0.01295, allocations: 11.94 kB / 0.5241 GB, free: 13.77 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.0002294/0.01318, allocations: 103.7 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.01352, allocations: 50.95 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01352, allocations: 0 / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.01367, allocations: 19.98 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.01412, allocations: 11.98 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.01456, allocations: 124.8 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.409e-05/0.01466, allocations: 65.78 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.03e-05/0.0147, allocations: 0 / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.01475, allocations: 20.48 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01475, allocations: 0 / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.004807/0.01956, allocations: 0.7883 MB / 0.5252 GB, free: 12.58 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.836554553010501]