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.0009534/0.0009534, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001553/0.001553, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.038/1.038, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.7875/0.7875, allocations: 154.9 MB / 415.1 MB, free: 252 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.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 1.493e-06/1.493e-06, allocations: 0 / 0.5211 GB, free: 412 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.925e-05, allocations: 3.953 kB / 0.5211 GB, free: 408 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003052/0.003081, allocations: 1.593 MB / 0.5227 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003415/0.003422, allocations: 132.7 kB / 0.5228 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.003463, allocations: 4.766 kB / 0.5228 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.003489, allocations: 3.938 kB / 0.5228 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.29e-05/0.003532, allocations: 5.719 kB / 0.5228 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.003824, allocations: 33.8 kB / 0.5229 GB, free: 14.65 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.922e-05/0.003893, allocations: 38.22 kB / 0.5229 GB, free: 14.61 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.625e-05/0.003969, allocations: 15.97 kB / 0.5229 GB, free: 14.6 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.004013, allocations: 21.48 kB / 0.5229 GB, free: 14.58 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.385e-05/0.004046, allocations: 11.98 kB / 0.5229 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.004061, allocations: 4 kB / 0.5229 GB, free: 14.56 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.167e-05/0.004133, allocations: 23.97 kB / 0.523 GB, free: 14.54 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.004147, allocations: 9.109 kB / 0.523 GB, free: 14.53 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.004164, allocations: 11.94 kB / 0.523 GB, free: 14.52 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.004272, allocations: 47.81 kB / 0.523 GB, free: 14.47 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004275, allocations: 0.6875 kB / 0.523 GB, free: 14.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004276, allocations: 0 / 0.523 GB, free: 14.47 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.665e-06/0.004278, allocations: 1.281 kB / 0.523 GB, free: 14.47 MB / 458.7 MB 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.0003697/0.004648, allocations: 372.6 kB / 0.5234 GB, free: 14.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.004682, allocations: 11.97 kB / 0.5234 GB, free: 14.06 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.004717, allocations: 6.188 kB / 0.5234 GB, free: 14.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.426e-05/0.004811, allocations: 116.5 kB / 0.5235 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.004828, allocations: 384 / 0.5235 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.004842, allocations: 13.14 kB / 0.5235 GB, free: 13.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.004981, allocations: 62.88 kB / 0.5236 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.004989, allocations: 1.031 kB / 0.5236 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.004996, allocations: 384 / 0.5236 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.005002, allocations: 3.031 kB / 0.5236 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.018e-05/0.005043, allocations: 19.92 kB / 0.5236 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.005332, allocations: 248.4 kB / 0.5238 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.005514, allocations: 42.98 kB / 0.5239 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.00554, allocations: 15.73 kB / 0.5239 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.982e-05/0.00563, allocations: 15.98 kB / 0.5239 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.005653, allocations: 42.06 kB / 0.524 GB, free: 13.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.005655, allocations: 0.5 kB / 0.524 GB, free: 13.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001517/0.005806, allocations: 54.08 kB / 0.524 GB, free: 13.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.005837, allocations: 55.34 kB / 0.5241 GB, free: 13.28 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.005916, allocations: 167 kB / 0.5242 GB, free: 13.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.005929, allocations: 25.7 kB / 0.5242 GB, free: 13.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.00598, allocations: 130.9 kB / 0.5244 GB, free: 12.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.005995, allocations: 8.641 kB / 0.5244 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.006034, allocations: 27.86 kB / 0.5244 GB, free: 12.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.006162, allocations: 496.1 kB / 0.5249 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.00618, allocations: 4.844 kB / 0.5249 GB, free: 12.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.324e-05/0.006193, allocations: 0 / 0.5249 GB, free: 12.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.006233, allocations: 20.17 kB / 0.5249 GB, free: 12.37 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.006235, allocations: 1.031 kB / 0.5249 GB, free: 12.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.395e-05/0.006319, allocations: 53.58 kB / 0.525 GB, free: 12.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.006332, allocations: 11.88 kB / 0.525 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.006336, allocations: 0.9688 kB / 0.525 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.006344, allocations: 0 / 0.525 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.006405, allocations: 8.625 kB / 0.525 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.006407, allocations: 0 / 0.525 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.006441, allocations: 9.203 kB / 0.525 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.006447, allocations: 0 / 0.525 GB, free: 12.28 MB / 458.7 MB 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 7.995e-05/0.006527, allocations: 157.3 kB / 0.5251 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.006552, allocations: 0 / 0.5251 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.006666, allocations: 63.22 kB / 0.5252 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.006668, allocations: 48 / 0.5252 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.006672, allocations: 3.984 kB / 0.5252 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006675, allocations: 3.938 kB / 0.5252 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.006809, allocations: 101.7 kB / 0.5253 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.00681, allocations: 5.5 kB / 0.5253 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.006863, allocations: 4 kB / 0.5253 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.006865, allocations: 0 / 0.5253 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.006871, allocations: 0 / 0.5253 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.006874, allocations: 4.75 kB / 0.5253 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.006877, allocations: 4.188 kB / 0.5253 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.007018, allocations: 197 kB / 0.5255 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-06/0.007027, allocations: 3.938 kB / 0.5255 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.007039, allocations: 8 kB / 0.5255 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.007105, allocations: 0.9062 kB / 0.5255 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.007148, allocations: 15.92 kB / 0.5255 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.007154, allocations: 1.125 kB / 0.5255 GB, free: 11.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.47e-05/0.007198, allocations: 123.2 kB / 0.5257 GB, free: 11.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007198, allocations: 3.938 kB / 0.5257 GB, free: 11.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002437/0.007442, allocations: 12.61 kB / 0.5257 GB, free: 11.52 MB / 458.7 MB 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.0001244/0.007567, allocations: 102 kB / 0.5258 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.216e-05/0.007649, allocations: 23.67 kB / 0.5258 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.00765, allocations: 0 / 0.5258 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.166e-05/0.007682, allocations: 15.69 kB / 0.5258 GB, free: 11.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.007914, allocations: 7.984 kB / 0.5258 GB, free: 11.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.008166, allocations: 133.2 kB / 0.5259 GB, free: 11.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.852e-05/0.008205, allocations: 63.16 kB / 0.526 GB, free: 11.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.547e-05/0.00824, allocations: 7.984 kB / 0.526 GB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/0.008303, allocations: 70.2 kB / 0.5261 GB, free: 11.04 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.008304, allocations: 0 / 0.5261 GB, free: 11.04 MB / 458.7 MB Notification: Performance of Templates: time 0.003138/0.01144, allocations: 0.8629 MB / 0.5269 GB, free: 10.22 MB / 458.7 MB " [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 & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.673723456915468]