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.001014/0.001014, allocations: 81.95 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.001064/0.001064, allocations: 173.7 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.9718/0.9718, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.8616/0.8616, allocations: 154.9 MB / 415.1 MB, free: 248 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.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 - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5211 GB, free: 1.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.411e-05, allocations: 4.766 kB / 0.5211 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.001914/0.001928, allocations: 1.569 MB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0002809/0.002209, allocations: 135.4 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.002243, allocations: 0 / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.002266, allocations: 4 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.002308, allocations: 6.938 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.002519, allocations: 16.69 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.632e-05/0.002576, allocations: 31.92 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.227e-05/0.002648, allocations: 12.72 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.972e-05/0.002698, allocations: 23.92 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.002735, allocations: 5.469 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.002748, allocations: 4 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.567e-05/0.002804, allocations: 11.98 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.002817, allocations: 11.98 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.002833, allocations: 13.27 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.962e-05/0.002933, allocations: 35.83 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002935, allocations: 0 / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002936, allocations: 0 / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.00294, allocations: 4.594 kB / 0.523 GB, free: 15.62 MB / 0.4948 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.0003683/0.003308, allocations: 360 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.003345, allocations: 8.031 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.003373, allocations: 4.938 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.758e-05/0.003461, allocations: 116.5 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.003478, allocations: 384 / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-06/0.003485, allocations: 384 / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.003604, allocations: 62.94 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.00361, allocations: 192 / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.003618, allocations: 4.312 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.003623, allocations: 0.875 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.00365, allocations: 16.41 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.00391, allocations: 248.9 kB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.004064, allocations: 43.91 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.004086, allocations: 15.81 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.048e-05/0.004146, allocations: 9.406 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.004164, allocations: 37.38 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.004165, allocations: 0 / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001216/0.004287, allocations: 54.56 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.00432, allocations: 55.39 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.986e-05/0.00438, allocations: 157.9 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-06/0.004388, allocations: 26.89 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.004433, allocations: 130.9 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.004448, allocations: 11.94 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.004479, allocations: 28.73 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.004599, allocations: 492.1 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.004612, allocations: 4 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.072e-05/0.004623, allocations: 7.922 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/0.004656, allocations: 16.5 kB / 0.5248 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.004658, allocations: 0 / 0.5248 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.789e-05/0.004726, allocations: 50.92 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.004741, allocations: 6.344 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.004746, allocations: 0 / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.004756, allocations: 5.281 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.004803, allocations: 11.98 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.004805, allocations: 0 / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.004825, allocations: 4.781 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.004829, allocations: 3.938 kB / 0.5249 GB, free: 13.48 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 (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 6.645e-05/0.004896, allocations: 155.3 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.004911, allocations: 4 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.004993, allocations: 49.36 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.004996, allocations: 3.938 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.004998, allocations: 4 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.005001, allocations: 3.938 kB / 0.5251 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.963e-05/0.00509, allocations: 111.9 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.005092, allocations: 0 / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.005118, allocations: 8 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.005119, allocations: 0 / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.005125, allocations: 3.984 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.005126, allocations: 0 / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.005126, allocations: 0 / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.133e-05/0.005218, allocations: 200.3 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.005223, allocations: 4.906 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.005231, allocations: 0 / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.345e-05/0.005265, allocations: 8.984 kB / 0.5254 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.005301, allocations: 15.91 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.005303, allocations: 0.9375 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.005336, allocations: 127.2 kB / 0.5255 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005336, allocations: 0 / 0.5255 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001422/0.005478, allocations: 8.5 kB / 0.5256 GB, free: 12.72 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.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 8.622e-05/0.005564, allocations: 95.97 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.278e-05/0.005627, allocations: 28.81 kB / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.005628, allocations: 0 / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.977e-05/0.005647, allocations: 16.25 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.005804, allocations: 13.42 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.00601, allocations: 118.2 kB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.092e-05/0.006041, allocations: 55.36 kB / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.006062, allocations: 10.42 kB / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.006115, allocations: 70.2 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.006116, allocations: 0 / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.002152/0.008267, allocations: 0.8243 MB / 0.5268 GB, free: 11.47 MB / 0.4948 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 & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.671601589769125]