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.001399/0.001399, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001448/0.001448, allocations: 167.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.442/1.442, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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-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 1.218/1.218, allocations: 154.5 MB / 413.7 MB, free: 5.289 MB / 382.1 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.305e-06/2.305e-06, allocations: 0 / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.136e-05, allocations: 7.219 kB / 0.6185 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003131/0.003162, allocations: 1.535 MB / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004411/0.003603, allocations: 143.4 kB / 0.6202 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.003655, allocations: 4 kB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.003687, allocations: 3.938 kB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.85e-05/0.003736, allocations: 0 / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.004082, allocations: 37.58 kB / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.444e-05/0.004167, allocations: 39.86 kB / 0.6203 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.004274, allocations: 11.98 kB / 0.6203 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.23e-05/0.004327, allocations: 19.98 kB / 0.6203 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.004378, allocations: 16.69 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.004399, allocations: 4 kB / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.00449, allocations: 23.98 kB / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.00451, allocations: 11.92 kB / 0.6203 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.004537, allocations: 11.98 kB / 0.6203 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.004684, allocations: 51.8 kB / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.004688, allocations: 4 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004689, allocations: 0 / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.004694, allocations: 0 / 0.6204 GB, free: 2.719 MB / 0.5294 GB 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.0005101/0.005204, allocations: 278.2 kB / 0.6207 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.005243, allocations: 9.469 kB / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.00529, allocations: 8.938 kB / 0.6207 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.00542, allocations: 117.7 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.005446, allocations: 4.375 kB / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.005459, allocations: 4.375 kB / 0.6208 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.005664, allocations: 62.22 kB / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.005675, allocations: 192 / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.005685, allocations: 384 / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.005693, allocations: 4.359 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.0059, allocations: 47.89 kB / 0.6209 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.006279, allocations: 224.4 kB / 0.6211 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.006611, allocations: 50.55 kB / 0.6212 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.006718, allocations: 28.89 kB / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.006851, allocations: 19.98 kB / 0.6212 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.006888, allocations: 34.5 kB / 0.6213 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.006889, allocations: 0 / 0.6213 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004474/0.007336, allocations: 105.5 kB / 0.6214 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.007382, allocations: 51.41 kB / 0.6214 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.007475, allocations: 101.9 kB / 0.6215 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.007491, allocations: 29.64 kB / 0.6215 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.007555, allocations: 92.12 kB / 0.6216 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.007571, allocations: 4.031 kB / 0.6216 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.007608, allocations: 17.72 kB / 0.6216 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.00776, allocations: 314.8 kB / 0.6219 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.735e-05/0.007857, allocations: 19.98 kB / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.007947, allocations: 23.98 kB / 0.622 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.008128, allocations: 40.81 kB / 0.622 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008129, allocations: 7.938 kB / 0.622 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002307/0.00836, allocations: 77.55 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.008376, allocations: 8 kB / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.008383, allocations: 3.984 kB / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.008395, allocations: 0 / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.138e-05/0.008477, allocations: 15.94 kB / 0.6221 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.008485, allocations: 7.969 kB / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.00854, allocations: 4 kB / 0.6221 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.008546, allocations: 0 / 0.6221 GB, free: 0.7617 MB / 0.5294 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 9.637e-05/0.008642, allocations: 114.8 kB / 0.6222 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.008671, allocations: 7.922 kB / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.00895, allocations: 89.27 kB / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.008952, allocations: 4 kB / 0.6223 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.008956, allocations: 0 / 0.6223 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.008958, allocations: 256 / 0.6223 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.009109, allocations: 113.7 kB / 0.6225 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.009112, allocations: 4 kB / 0.6225 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.152e-05/0.009194, allocations: 11.98 kB / 0.6225 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.009195, allocations: 0 / 0.6225 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.009206, allocations: 3.938 kB / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.009207, allocations: 0 / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.009208, allocations: 0 / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.009502, allocations: 187.3 kB / 0.6227 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-06/0.00951, allocations: 3.984 kB / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.009525, allocations: 3.938 kB / 0.6227 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.675e-05/0.009612, allocations: 4 kB / 0.6227 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.009663, allocations: 11.98 kB / 0.6227 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.009668, allocations: 0 / 0.6227 GB, free: 148 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.87e-05/0.009716, allocations: 87.27 kB / 0.6228 GB, free: 60 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.009717, allocations: 0 / 0.6228 GB, free: 60 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002306/0.009947, allocations: 11.94 kB / 0.6228 GB, free: 48 kB / 0.5294 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.0001965/0.01014, allocations: 103.3 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.01039, allocations: 43.91 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01039, allocations: 0 / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.0105, allocations: 31.91 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.01079, allocations: 6.047 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.01113, allocations: 128.7 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.138e-05/0.0112, allocations: 67.34 kB / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.01122, allocations: 3.984 kB / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.01126, allocations: 12.5 kB / 0.6231 GB, free: 15.61 MB / 0.545 GB Notification: Performance of SimCode: time 6.92e-07/0.01126, allocations: 0 / 0.6231 GB, free: 15.61 MB / 0.545 GB Notification: Performance of Templates: time 0.003674/0.01494, allocations: 0.7683 MB / 0.6239 GB, free: 14.85 MB / 0.545 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.873932346701622] Failed to read output from testmodel.py, exit status != 0: 0.023418087512254715 0.038577257000000004 0.030773500000000002 Calling exit ...