Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.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.0008155/0.0008155, allocations: 76.25 kB / 20.05 MB, free: 4.473 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.001088/0.001088, allocations: 173.9 kB / 23.36 MB, free: 1.164 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.804/0.804, allocations: 177.1 MB / 203.7 MB, free: 5.715 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-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 0.6426/0.6426, allocations: 154.6 MB / 414.7 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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.63e-05, allocations: 4.062 kB / 0.6195 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.00175/0.001766, allocations: 1.539 MB / 0.621 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002438/0.00201, allocations: 123.6 kB / 0.6212 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.002037, allocations: 4 kB / 0.6212 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.002059, allocations: 0 / 0.6212 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.18e-05/0.00209, allocations: 3.938 kB / 0.6212 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.00229, allocations: 23.91 kB / 0.6212 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.283e-05/0.002353, allocations: 31.92 kB / 0.6212 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.002433, allocations: 15.97 kB / 0.6212 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.074e-05/0.002473, allocations: 19.94 kB / 0.6213 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.525e-05/0.002509, allocations: 7.984 kB / 0.6213 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.002522, allocations: 4 kB / 0.6213 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-05/0.002569, allocations: 11.98 kB / 0.6213 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of combineBinaries: time 4.715e-05/0.002616, allocations: 59.47 kB / 0.6213 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 1.314e-05/0.002629, allocations: 19.72 kB / 0.6214 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.748e-06/0.002639, allocations: 4 kB / 0.6214 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.564e-06/0.002647, allocations: 0 / 0.6214 GB, free: 11.21 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0002692/0.002916, allocations: 283.6 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 9.141e-05/0.003007, allocations: 63.94 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 8.053e-05/0.003088, allocations: 136.3 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 4.591e-05/0.003134, allocations: 56.41 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.000311/0.003445, allocations: 232.8 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 2.557e-05/0.00347, allocations: 44.42 kB / 0.6221 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 2.185e-05/0.003492, allocations: 40.42 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 7.227e-05/0.003564, allocations: 121.5 kB / 0.6223 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 5.751e-05/0.003622, allocations: 39.84 kB / 0.6223 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 9.312e-05/0.003715, allocations: 104.5 kB / 0.6224 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0001264/0.003841, allocations: 140 kB / 0.6226 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 5.315e-05/0.003895, allocations: 119.8 kB / 0.6227 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 7.813e-05/0.003973, allocations: 92.78 kB / 0.6228 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 6.835e-05/0.004041, allocations: 147.9 kB / 0.6229 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 7.844e-06/0.004049, allocations: 16.11 kB / 0.6229 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 2.333e-05/0.004072, allocations: 43.89 kB / 0.623 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0001293/0.004201, allocations: 156.5 kB / 0.6231 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 9.448e-06/0.004211, allocations: 8 kB / 0.6231 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 1.012e-06/0.004212, allocations: 4 kB / 0.6231 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 3.334e-05/0.004245, allocations: 24.11 kB / 0.6231 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 2.865e-06/0.004248, allocations: 0 / 0.6231 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 4.208e-06/0.004252, allocations: 16 kB / 0.6232 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 5.29e-06/0.004258, allocations: 3.938 kB / 0.6232 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 8.77e-05/0.004345, allocations: 95.92 kB / 0.6233 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 9.722e-05/0.004443, allocations: 190.1 kB / 0.6234 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.2e-07/0.004443, allocations: 0 / 0.6234 GB, free: 8.551 MB / 0.5886 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {fac.y, rea2Int.y, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.711e-05/0.00447, allocations: 25.66 kB / 0.6235 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0003496/0.00482, allocations: 252.1 kB / 0.6237 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of Templates: time 0.001754/0.006573, allocations: 0.6756 MB / 0.6244 GB, free: 7.609 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.0581780904904] Failed to read output from testmodel.py, exit status != 0: 0.010491198860108852 0.017306285 0.013230914000000002 Calling exit ...