Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.0008043/0.0008043, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008593/0.0008593, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8695/0.8695, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-531:190: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-531:198: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.7099/0.7099, allocations: 154.5 MB / 414.5 MB, free: 0.8164 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6193 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.636e-05, allocations: 5.672 kB / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001117/0.001143, allocations: 0.5845 MB / 0.6199 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000243/0.001386, allocations: 59.73 kB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.001405, allocations: 0 / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.001432, allocations: 0 / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-06/0.001438, allocations: 0 / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.001732, allocations: 23.91 kB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.131e-05/0.001814, allocations: 35.95 kB / 0.62 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.001848, allocations: 0 / 0.62 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.00188, allocations: 12 kB / 0.62 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.139e-05/0.001901, allocations: 11.97 kB / 0.62 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.001915, allocations: 4 kB / 0.6201 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.548e-05/0.00199, allocations: 19.92 kB / 0.6201 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.002014, allocations: 11.97 kB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.002037, allocations: 15.94 kB / 0.6201 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.563e-05/0.002133, allocations: 35.92 kB / 0.6201 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002134, allocations: 0 / 0.6201 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.523e-06/0.002136, allocations: 0 / 0.6201 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.257e-06/0.002139, allocations: 4 kB / 0.6201 GB, free: 12.31 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002211/0.00236, allocations: 262.3 kB / 0.6204 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.002391, allocations: 9.469 kB / 0.6204 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.00242, allocations: 12.88 kB / 0.6204 GB, free: 12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.092e-05/0.002471, allocations: 113.6 kB / 0.6205 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.002481, allocations: 4.375 kB / 0.6205 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.002492, allocations: 4.375 kB / 0.6205 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.002599, allocations: 70.16 kB / 0.6206 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.002605, allocations: 192 / 0.6206 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.002613, allocations: 384 / 0.6206 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.002618, allocations: 384 / 0.6206 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.299e-05/0.002711, allocations: 103.8 kB / 0.6207 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.002817, allocations: 109.3 kB / 0.6208 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.145e-05/0.002899, allocations: 74.47 kB / 0.6209 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.002932, allocations: 28.84 kB / 0.6209 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.003088, allocations: 15.98 kB / 0.6209 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.003108, allocations: 38.56 kB / 0.6209 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 7.82e-07/0.003109, allocations: 0 / 0.6209 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0001823/0.003291, allocations: 109.9 kB / 0.6211 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.003317, allocations: 51.41 kB / 0.6211 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.219e-05/0.003349, allocations: 101.8 kB / 0.6212 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.00336, allocations: 37.64 kB / 0.6212 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.909e-05/0.003379, allocations: 84.08 kB / 0.6213 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.003401, allocations: 23.8 kB / 0.6213 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.003432, allocations: 29.7 kB / 0.6214 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/0.003503, allocations: 314.8 kB / 0.6217 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.709e-05/0.003531, allocations: 19.98 kB / 0.6217 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.003558, allocations: 23.16 kB / 0.6217 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.225e-05/0.00363, allocations: 64.77 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.003632, allocations: 0 / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.485e-05/0.003717, allocations: 85.67 kB / 0.6218 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.003726, allocations: 4 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.00373, allocations: 4 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.003739, allocations: 0 / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.003806, allocations: 23.92 kB / 0.6219 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.00381, allocations: 0 / 0.6219 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.324e-05/0.003824, allocations: 15.89 kB / 0.6219 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.003829, allocations: 4 kB / 0.6219 GB, free: 10.34 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.604e-05/0.003905, allocations: 126.3 kB / 0.622 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-06/0.00391, allocations: 0 / 0.622 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.004046, allocations: 137.4 kB / 0.6222 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.00405, allocations: 4 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.004053, allocations: 0 / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.004057, allocations: 11.86 kB / 0.6222 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.077e-05/0.004118, allocations: 113.3 kB / 0.6223 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.004119, allocations: 0 / 0.6223 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.004359, allocations: 19.98 kB / 0.6223 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.004361, allocations: 4 kB / 0.6223 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.004367, allocations: 0 / 0.6223 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.004369, allocations: 4 kB / 0.6223 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00437, allocations: 0 / 0.6223 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.261e-05/0.004462, allocations: 136.2 kB / 0.6224 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-06/0.004466, allocations: 4 kB / 0.6224 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.004481, allocations: 4 kB / 0.6224 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-06/0.004488, allocations: 0 / 0.6224 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.004514, allocations: 15.91 kB / 0.6225 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.004518, allocations: 8 kB / 0.6225 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.78e-05/0.004536, allocations: 75.28 kB / 0.6225 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.004536, allocations: 0 / 0.6225 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001266/0.004662, allocations: 15.94 kB / 0.6225 GB, free: 9.605 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001064/0.004769, allocations: 107.2 kB / 0.6227 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.359e-05/0.004862, allocations: 67.83 kB / 0.6227 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.004864, allocations: 0 / 0.6227 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.00489, allocations: 27.98 kB / 0.6227 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.038e-05/0.004981, allocations: 4 kB / 0.6227 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.005184, allocations: 178.5 kB / 0.6229 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.76e-05/0.005222, allocations: 67.34 kB / 0.623 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.005243, allocations: 16.5 kB / 0.623 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.005243, allocations: 0 / 0.623 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of Templates: time 0.001488/0.006731, allocations: 0.969 MB / 0.6239 GB, free: 8.113 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.102290565147996] Failed to read output from testmodel.py, exit status != 0: 0.011338336393237114 0.019097452999999938 0.015206486999999939 Calling exit ...