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.0007137/0.0007137, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 13.93 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.0007568/0.0007568, allocations: 210.4 kB / 23 MB, free: 2.973 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.8875/0.8875, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.7551/0.7551, allocations: 203.8 MB / 0.5049 GB, free: 10.44 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009345/0.0009345, allocations: 69.7 kB / 0.7194 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4692/0.4701, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.001797/0.4719, allocations: 1.535 MB / 0.8205 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003001/0.4722, allocations: 126.9 kB / 0.8206 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.4723, allocations: 7.938 kB / 0.8206 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.4723, allocations: 0.5625 kB / 0.8206 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.4723, allocations: 8.438 kB / 0.8206 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.4726, allocations: 27.27 kB / 0.8207 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.982e-05/0.4726, allocations: 25.69 kB / 0.8207 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.023e-05/0.4727, allocations: 20.61 kB / 0.8207 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.4728, allocations: 9.625 kB / 0.8207 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.4728, allocations: 16.36 kB / 0.8207 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.4728, allocations: 2.875 kB / 0.8207 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.346e-05/0.4729, allocations: 12.97 kB / 0.8208 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.4729, allocations: 11.42 kB / 0.8208 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.4729, allocations: 13.52 kB / 0.8208 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.473, allocations: 34.94 kB / 0.8208 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.473, allocations: 0.5156 kB / 0.8208 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.473, allocations: 0 / 0.8208 GB, free: 88 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.473, allocations: 0 / 0.8208 GB, free: 88 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003634/0.4734, allocations: 266.3 kB / 0.8211 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4734, allocations: 9.625 kB / 0.8211 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.4735, allocations: 10.72 kB / 0.8211 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.4e-05/0.4735, allocations: 106.2 kB / 0.8212 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.4735, allocations: 9.719 kB / 0.8212 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.4736, allocations: 1.75 kB / 0.8212 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.4737, allocations: 59.47 kB / 0.8213 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.4737, allocations: 192 / 0.8213 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.4737, allocations: 3.938 kB / 0.8213 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4737, allocations: 2.359 kB / 0.8213 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.4738, allocations: 41.22 kB / 0.8213 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.4741, allocations: 204.7 kB / 0.8215 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.4743, allocations: 65.56 kB / 0.8216 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.4744, allocations: 22.14 kB / 0.8216 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-05/0.4744, allocations: 9.594 kB / 0.8216 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.4745, allocations: 34.19 kB / 0.8216 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4745, allocations: 0 / 0.8216 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002437/0.4747, allocations: 95.69 kB / 0.8217 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.4747, allocations: 55.41 kB / 0.8218 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.686e-05/0.4748, allocations: 104.6 kB / 0.8219 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.4748, allocations: 25.7 kB / 0.8219 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.4748, allocations: 88.73 kB / 0.822 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.4749, allocations: 4.75 kB / 0.822 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.4749, allocations: 19.52 kB / 0.822 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.475, allocations: 319.2 kB / 0.8223 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.873e-05/0.475, allocations: 19.34 kB / 0.8223 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.383e-05/0.4751, allocations: 15.19 kB / 0.8223 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.141e-05/0.4751, allocations: 50.7 kB / 0.8224 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4751, allocations: 0 / 0.8224 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001219/0.4753, allocations: 78.08 kB / 0.8225 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.4753, allocations: 6.203 kB / 0.8225 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4753, allocations: 7.438 kB / 0.8225 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.4753, allocations: 0.7969 kB / 0.8225 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.701e-05/0.4753, allocations: 12.3 kB / 0.8225 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4753, allocations: 6.375 kB / 0.8225 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.4754, allocations: 14.02 kB / 0.8225 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-06/0.4754, allocations: 3.938 kB / 0.8225 GB, free: 14.56 MB / 0.6198 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 (rea2Int.y,fac.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.3e-05/0.4754, allocations: 108.7 kB / 0.8226 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.4754, allocations: 10.3 kB / 0.8226 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.4756, allocations: 78.77 kB / 0.8227 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4756, allocations: 0.6562 kB / 0.8227 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4756, allocations: 4.781 kB / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4756, allocations: 0.9688 kB / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.845e-05/0.4757, allocations: 106.4 kB / 0.8228 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4757, allocations: 0 / 0.8228 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.4757, allocations: 15.05 kB / 0.8228 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4757, allocations: 3.844 kB / 0.8228 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.4758, allocations: 4.547 kB / 0.8228 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.4758, allocations: 0 / 0.8228 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4758, allocations: 0 / 0.8228 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.4759, allocations: 172 kB / 0.823 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-06/0.4759, allocations: 7.891 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.4759, allocations: 4.609 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.476, allocations: 7.562 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.476, allocations: 4.625 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.476, allocations: 5.969 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.814e-05/0.476, allocations: 86.81 kB / 0.8231 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.476, allocations: 0 / 0.8231 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001432/0.4762, allocations: 5.031 kB / 0.8231 GB, free: 14.03 MB / 0.6198 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 (fac.y,rea2Int.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.000109/0.4763, allocations: 110 kB / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.4764, allocations: 49.89 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4764, allocations: 0 / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.46e-05/0.4765, allocations: 23.91 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.4767, allocations: 3.766 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.4769, allocations: 147.4 kB / 0.8234 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.017e-05/0.477, allocations: 61.89 kB / 0.8235 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.477, allocations: 15 kB / 0.8235 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.477, allocations: 0 / 0.8235 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of Templates: time 0.001795/0.4788, allocations: 0.7396 MB / 0.8242 GB, free: 13.62 MB / 0.6198 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 sys.exit(0), Time elapsed: 5.546723971143365] Failed to read output from testmodel.py, exit status != 0: 0.4843222922645509 0.49340230300000004 0.018487656 Calling exit ...