Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007946/0.0007946, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.001954, 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.001342/0.001342, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.002882, 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 1.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09079/1.101, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7919/0.7919, allocations: 154.6 MB / 398.5 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2781/1.07, allocations: 49.03 MB / 447.6 MB, free: 6.688 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/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_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 448.9 MB, free: 5.379 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.161e-05, allocations: 6.109 kB / 448.9 MB, free: 5.375 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002098/0.002119, allocations: 1.636 MB / 450.5 MB, free: 3.766 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002098/0.002329, allocations: 147.4 kB / 450.7 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.002359, allocations: 0 / 450.7 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.002382, allocations: 0.7656 kB / 450.7 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.547e-05/0.002408, allocations: 5.797 kB / 450.7 MB, free: 3.621 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.002589, allocations: 33.86 kB / 450.7 MB, free: 3.59 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.051e-05/0.002659, allocations: 32.91 kB / 450.8 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.601e-05/0.002735, allocations: 12.53 kB / 450.8 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.002792, allocations: 30.34 kB / 450.8 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4e-05/0.002832, allocations: 17.08 kB / 450.8 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.002847, allocations: 4.656 kB / 450.8 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.00295, allocations: 27.91 kB / 450.8 MB, free: 3.477 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.002962, allocations: 7.266 kB / 450.9 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.634e-05/0.002979, allocations: 9.75 kB / 450.9 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.003087, allocations: 30.59 kB / 450.9 MB, free: 3.438 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.003101, allocations: 0 / 450.9 MB, free: 3.438 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003102, allocations: 1.297 kB / 450.9 MB, free: 3.438 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.003119, allocations: 0 / 450.9 MB, free: 3.438 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.0003485/0.003467, allocations: 260.8 kB / 451.1 MB, free: 3.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.003497, allocations: 8.031 kB / 451.2 MB, free: 3.152 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.003523, allocations: 4.938 kB / 451.2 MB, free: 3.148 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.443e-05/0.003607, allocations: 113.7 kB / 451.3 MB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.003628, allocations: 2.266 kB / 451.3 MB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.003636, allocations: 4.375 kB / 451.3 MB, free: 3.008 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.003748, allocations: 64.81 kB / 451.3 MB, free: 2.938 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003755, allocations: 192 / 451.3 MB, free: 2.938 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.00376, allocations: 384 / 451.3 MB, free: 2.938 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.003765, allocations: 384 / 451.3 MB, free: 2.938 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.89e-05/0.003794, allocations: 13.44 kB / 451.4 MB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.004018, allocations: 169 kB / 451.5 MB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.004157, allocations: 35.84 kB / 451.6 MB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.004174, allocations: 13.83 kB / 451.6 MB, free: 2.688 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/0.004256, allocations: 20.06 kB / 451.6 MB, free: 2.668 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.004275, allocations: 35.23 kB / 451.6 MB, free: 2.625 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.004276, allocations: 0 / 451.6 MB, free: 2.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001098/0.004386, allocations: 54.62 kB / 451.7 MB, free: 2.566 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.004412, allocations: 51.41 kB / 451.7 MB, free: 2.504 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.259e-05/0.004465, allocations: 111.6 kB / 451.8 MB, free: 2.383 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.004475, allocations: 25.7 kB / 451.9 MB, free: 2.352 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.004505, allocations: 85.33 kB / 451.9 MB, free: 2.266 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.004519, allocations: 9.266 kB / 452 MB, free: 2.258 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.00455, allocations: 17.72 kB / 452 MB, free: 2.234 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.989e-05/0.00462, allocations: 318.8 kB / 452.3 MB, free: 1.914 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.004633, allocations: 4.656 kB / 452.3 MB, free: 1.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-06/0.004641, allocations: 0.6562 kB / 452.3 MB, free: 1.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.766e-05/0.004669, allocations: 22.77 kB / 452.3 MB, free: 1.887 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.004671, allocations: 0 / 452.3 MB, free: 1.887 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.626e-05/0.004717, allocations: 42.67 kB / 452.3 MB, free: 1.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.004727, allocations: 5.062 kB / 452.4 MB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.004733, allocations: 7.922 kB / 452.4 MB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.004742, allocations: 1.156 kB / 452.4 MB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.532e-05/0.004797, allocations: 11.98 kB / 452.4 MB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.004799, allocations: 0.5469 kB / 452.4 MB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.004819, allocations: 12.61 kB / 452.4 MB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-06/0.004823, allocations: 0 / 452.4 MB, free: 1.805 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 5.125e-05/0.004874, allocations: 111.3 kB / 452.5 MB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.00489, allocations: 7.984 kB / 452.5 MB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.192e-05/0.004962, allocations: 51.52 kB / 452.6 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.004963, allocations: 1.5 kB / 452.6 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.004964, allocations: 4 kB / 452.6 MB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.004966, allocations: 0 / 452.6 MB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.214e-05/0.005048, allocations: 69.88 kB / 452.6 MB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.00505, allocations: 4.688 kB / 452.6 MB, free: 1.531 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.005082, allocations: 11.98 kB / 452.6 MB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-06/0.005088, allocations: 5.094 kB / 452.6 MB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.00509, allocations: 0 / 452.6 MB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.005094, allocations: 0 / 452.6 MB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.005098, allocations: 5.875 kB / 452.7 MB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005099, allocations: 3.312 kB / 452.7 MB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.687e-05/0.005165, allocations: 136.1 kB / 452.8 MB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-06/0.005173, allocations: 0 / 452.8 MB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.29e-05/0.005206, allocations: 8.234 kB / 452.8 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.005242, allocations: 15.92 kB / 452.8 MB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.005246, allocations: 4.516 kB / 452.8 MB, free: 1.336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.09e-05/0.005257, allocations: 8.859 kB / 452.8 MB, free: 1.324 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005257, allocations: 0 / 452.8 MB, free: 1.324 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001269/0.005384, allocations: 8 kB / 452.8 MB, free: 1.316 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.0001127/0.005496, allocations: 86.19 kB / 452.9 MB, free: 1.223 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.201e-05/0.005558, allocations: 19.89 kB / 452.9 MB, free: 1.203 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.005562, allocations: 0 / 452.9 MB, free: 1.203 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.258e-05/0.005585, allocations: 25.52 kB / 453 MB, free: 1.176 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.005712, allocations: 4.5 kB / 453 MB, free: 1.172 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.006049, allocations: 124.7 kB / 453.1 MB, free: 1.027 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.914e-05/0.006079, allocations: 55.98 kB / 453.1 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.421e-05/0.006103, allocations: 5.844 kB / 453.2 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.006146, allocations: 55.36 kB / 453.2 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.006147, allocations: 0.625 kB / 453.2 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of Templates: time 0.002193/0.00834, allocations: 0.8074 MB / 454 MB, free: 136 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6386846927925944]