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.0007594/0.0007594, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008979/0.001657, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007245/0.0007245, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009182/0.001643, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9475/0.9475, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09766/1.045, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.825/0.825, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2958/1.121, allocations: 49.12 MB / 448.4 MB, free: 6.02 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.483e-06/1.483e-06, allocations: 0 / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.965e-05, allocations: 3.984 kB / 449.7 MB, free: 4.719 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001926/0.001946, allocations: 1.649 MB / 451.3 MB, free: 3.09 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001903/0.002136, allocations: 141.9 kB / 451.5 MB, free: 2.953 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.002163, allocations: 0 / 451.5 MB, free: 2.953 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.002185, allocations: 3.938 kB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.228e-05/0.002207, allocations: 2.297 kB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.002374, allocations: 33.89 kB / 451.5 MB, free: 2.918 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.97e-05/0.002444, allocations: 37.67 kB / 451.6 MB, free: 2.887 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.34e-05/0.002527, allocations: 11.98 kB / 451.6 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.713e-05/0.002584, allocations: 29.58 kB / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.422e-05/0.002628, allocations: 13.62 kB / 451.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.002644, allocations: 6.125 kB / 451.6 MB, free: 2.836 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.002745, allocations: 28.67 kB / 451.6 MB, free: 2.809 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.002756, allocations: 5.312 kB / 451.7 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.002774, allocations: 9.859 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.002884, allocations: 31.14 kB / 451.7 MB, free: 2.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.646e-05/0.0029, allocations: 0 / 451.7 MB, free: 2.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002901, allocations: 0.6562 kB / 451.7 MB, free: 2.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.002917, allocations: 0 / 451.7 MB, free: 2.77 MB / 426.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.0003866/0.003304, allocations: 261.4 kB / 452 MB, free: 2.492 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.003338, allocations: 11.97 kB / 452 MB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.003368, allocations: 8.922 kB / 452 MB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.745e-05/0.003456, allocations: 105.8 kB / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.003481, allocations: 5.125 kB / 452.1 MB, free: 2.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.003492, allocations: 5.781 kB / 452.1 MB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.003643, allocations: 62.94 kB / 452.1 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.003651, allocations: 0.8438 kB / 452.1 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.003658, allocations: 0.9688 kB / 452.1 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.003666, allocations: 3.016 kB / 452.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.27e-05/0.003698, allocations: 15.92 kB / 452.2 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.003923, allocations: 165.7 kB / 452.3 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.004058, allocations: 34.56 kB / 452.4 MB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.004073, allocations: 9.391 kB / 452.4 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.113e-05/0.004154, allocations: 26.16 kB / 452.4 MB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.004174, allocations: 34.55 kB / 452.4 MB, free: 1.953 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.004175, allocations: 0 / 452.4 MB, free: 1.953 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001057/0.004281, allocations: 49.56 kB / 452.5 MB, free: 1.898 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.004306, allocations: 52.06 kB / 452.5 MB, free: 1.836 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.303e-05/0.004359, allocations: 107.6 kB / 452.6 MB, free: 1.719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.00437, allocations: 25.7 kB / 452.7 MB, free: 1.688 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.004401, allocations: 94.11 kB / 452.8 MB, free: 1.594 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.004414, allocations: 3.953 kB / 452.8 MB, free: 1.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.004439, allocations: 17.7 kB / 452.8 MB, free: 1.566 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.004504, allocations: 315.7 kB / 453.1 MB, free: 1.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.004514, allocations: 4 kB / 453.1 MB, free: 1.246 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-06/0.004522, allocations: 4.5 kB / 453.1 MB, free: 1.242 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.004552, allocations: 19.98 kB / 453.1 MB, free: 1.223 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.004554, allocations: 5.281 kB / 453.1 MB, free: 1.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.435e-05/0.004598, allocations: 41.69 kB / 453.2 MB, free: 1.172 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.004609, allocations: 4 kB / 453.2 MB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.004614, allocations: 3.938 kB / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.004623, allocations: 4.688 kB / 453.2 MB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.413e-05/0.004677, allocations: 8.609 kB / 453.2 MB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.004679, allocations: 0 / 453.2 MB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.004699, allocations: 17.2 kB / 453.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.004702, allocations: 0 / 453.2 MB, free: 1.137 MB / 426.7 MB 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 4.65e-05/0.004749, allocations: 110.6 kB / 453.3 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.004765, allocations: 4.484 kB / 453.3 MB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.135e-05/0.004836, allocations: 56.36 kB / 453.4 MB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.004838, allocations: 4 kB / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.00484, allocations: 0 / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.004842, allocations: 1.062 kB / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.085e-05/0.004923, allocations: 73.88 kB / 453.4 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004924, allocations: 0.9844 kB / 453.4 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.004956, allocations: 8.703 kB / 453.4 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.004969, allocations: 4 kB / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.004971, allocations: 0.9062 kB / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.004974, allocations: 0 / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.004976, allocations: 4.531 kB / 453.5 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004976, allocations: 0 / 453.5 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.21e-05/0.005049, allocations: 140.9 kB / 453.6 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.005058, allocations: 4 kB / 453.6 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.204e-05/0.00509, allocations: 4.547 kB / 453.6 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.005125, allocations: 12.7 kB / 453.6 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.005129, allocations: 1.031 kB / 453.6 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.19e-05/0.005141, allocations: 12.86 kB / 453.6 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005141, allocations: 1.438 kB / 453.6 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001255/0.005267, allocations: 12.88 kB / 453.6 MB, free: 0.6484 MB / 426.7 MB 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.000105/0.005372, allocations: 85.25 kB / 453.7 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.013e-05/0.005432, allocations: 12.86 kB / 453.7 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.005437, allocations: 4.641 kB / 453.7 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.006e-05/0.005457, allocations: 16.8 kB / 453.8 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.005586, allocations: 8.844 kB / 453.8 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.00592, allocations: 130.5 kB / 453.9 MB, free: 368 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.078e-05/0.005951, allocations: 59.88 kB / 454 MB, free: 288 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.114e-05/0.005972, allocations: 4.906 kB / 454 MB, free: 284 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.006018, allocations: 56.55 kB / 454 MB, free: 228 kB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.006019, allocations: 0 / 454 MB, free: 228 kB / 426.7 MB Notification: Performance of Templates: time 0.002312/0.008331, allocations: 0.8077 MB / 454.8 MB, free: 15.46 MB / 442.7 MB " [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.56573339831084]