Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.0009302/0.0009302, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.000898/0.000898, allocations: 174 kB / 23.28 MB, free: 1.219 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.9723/0.9723, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.8197/0.8197, allocations: 154.9 MB / 415.1 MB, free: 264 kB / 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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.817e-06/3.817e-06, allocations: 4 kB / 0.5212 GB, free: 1.469 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.58e-05, allocations: 3.156 kB / 0.5212 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.002299/0.002335, allocations: 0.6035 MB / 0.5218 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002555/0.002591, allocations: 40.64 kB / 0.5218 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.002609, allocations: 1.406 kB / 0.5218 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.002628, allocations: 3.938 kB / 0.5218 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.097e-06/0.002637, allocations: 4 kB / 0.5218 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.002922, allocations: 16.58 kB / 0.5218 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.347e-05/0.002965, allocations: 0.5312 kB / 0.5218 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.003004, allocations: 1.625 kB / 0.5218 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.966e-05/0.003034, allocations: 4 kB / 0.5218 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.736e-05/0.003061, allocations: 9.125 kB / 0.5218 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.003073, allocations: 0 / 0.5218 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.003166, allocations: 8.875 kB / 0.5219 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.003177, allocations: 0.9688 kB / 0.5219 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.203e-05/0.003189, allocations: 4 kB / 0.5219 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.69e-05/0.003285, allocations: 19.91 kB / 0.5219 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.003288, allocations: 1.031 kB / 0.5219 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.003289, allocations: 0 / 0.5219 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.003293, allocations: 0.6562 kB / 0.5219 GB, free: 0.7812 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002797/0.003573, allocations: 340.4 kB / 0.5222 GB, free: 420 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.003615, allocations: 12.75 kB / 0.5222 GB, free: 408 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.003643, allocations: 0.9375 kB / 0.5222 GB, free: 408 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.892e-05/0.003712, allocations: 105.4 kB / 0.5223 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.003724, allocations: 4.375 kB / 0.5223 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-06/0.00373, allocations: 1.312 kB / 0.5223 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.84e-05/0.003808, allocations: 34.25 kB / 0.5224 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.003815, allocations: 2.969 kB / 0.5224 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.003823, allocations: 4.375 kB / 0.5224 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.003829, allocations: 384 / 0.5224 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.003849, allocations: 3.938 kB / 0.5224 GB, free: 224 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.003963, allocations: 97.2 kB / 0.5225 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.367e-05/0.004017, allocations: 31.03 kB / 0.5225 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.004033, allocations: 16.95 kB / 0.5225 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.004156, allocations: 4 kB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.004195, allocations: 37.47 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.004196, allocations: 0 / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001215/0.004318, allocations: 42.75 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.004365, allocations: 51.41 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.178e-05/0.004417, allocations: 143.2 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.004428, allocations: 25.7 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.00446, allocations: 132.2 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.00448, allocations: 8.203 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.004512, allocations: 19.38 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.004687, allocations: 0.4883 MB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.004699, allocations: 4.516 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.497e-06/0.004709, allocations: 4.969 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.004744, allocations: 15.62 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.004747, allocations: 1.906 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.795e-05/0.004815, allocations: 37.64 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.004828, allocations: 5.562 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.004836, allocations: 4 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.004845, allocations: 1 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.004898, allocations: 11.97 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.004901, allocations: 0 / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.004916, allocations: 0.8125 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.00492, allocations: 0 / 0.5235 GB, free: 14.93 MB / 0.4948 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.614e-05/0.005006, allocations: 165.7 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.005014, allocations: 0 / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.222e-05/0.005097, allocations: 42.28 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005098, allocations: 0 / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.0051, allocations: 0 / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.005102, allocations: 0 / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.415e-05/0.005176, allocations: 102.3 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.005178, allocations: 3.938 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.005199, allocations: 7.984 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.005201, allocations: 2.75 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-06/0.005205, allocations: 0 / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.005206, allocations: 0 / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.005207, allocations: 0 / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.737e-05/0.005285, allocations: 72.38 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.005292, allocations: 7.984 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.0053, allocations: 0 / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-06/0.005308, allocations: 2.562 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.005329, allocations: 0 / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.005333, allocations: 8 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.418e-05/0.005427, allocations: 119.2 kB / 0.524 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.005427, allocations: 0 / 0.524 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001952/0.005622, allocations: 4 kB / 0.524 GB, free: 14.35 MB / 0.4948 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001361/0.005758, allocations: 104.8 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.848e-05/0.005827, allocations: 19.62 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005829, allocations: 0 / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-05/0.005848, allocations: 12.34 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.005998, allocations: 9.484 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001971/0.006196, allocations: 97.33 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.552e-05/0.006231, allocations: 55.36 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.006245, allocations: 0 / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.006286, allocations: 70.2 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.006287, allocations: 0 / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.002488/0.008774, allocations: 375.6 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.729396811220795]