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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 104.5 kB / 18.05 MB, free: 4.32 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 184.5 kB / 21.17 MB, free: 1.211 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 249.7 MB, free: 3.383 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8282/0.8282, allocations: 137.4 MB / 442.1 MB, free: 13.88 MB / 350.1 MB [Timeout remaining time 89] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 64.08 kB / 0.6134 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3127, allocations: 85.55 MB / 0.6969 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002554/0.3153, allocations: 1.503 MB / 0.6984 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003351/0.3156, allocations: 132.5 kB / 0.6985 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.3157, allocations: 1.062 kB / 0.6985 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.3157, allocations: 7.938 kB / 0.6985 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.025e-05/0.3157, allocations: 0 / 0.6985 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.3159, allocations: 22.5 kB / 0.6985 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.316, allocations: 36.77 kB / 0.6986 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.3161, allocations: 6.734 kB / 0.6986 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.3161, allocations: 8.25 kB / 0.6986 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/0.3161, allocations: 17.14 kB / 0.6986 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.3162, allocations: 2.375 kB / 0.6986 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.3162, allocations: 19.08 kB / 0.6986 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.3162, allocations: 8.984 kB / 0.6986 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.3163, allocations: 15 kB / 0.6986 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.3164, allocations: 32.02 kB / 0.6987 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.3164, allocations: 1.25 kB / 0.6987 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3164, allocations: 0 / 0.6987 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3164, allocations: 0 / 0.6987 GB, free: 13.34 MB / 0.5137 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.0004704/0.3168, allocations: 342.8 kB / 0.699 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3169, allocations: 11.58 kB / 0.699 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.3169, allocations: 6.234 kB / 0.699 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.317, allocations: 169.8 kB / 0.6992 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.3171, allocations: 5.781 kB / 0.6992 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.3171, allocations: 5.719 kB / 0.6992 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.3173, allocations: 56.61 kB / 0.6992 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.3173, allocations: 192 / 0.6992 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3173, allocations: 5 kB / 0.6993 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3173, allocations: 1.125 kB / 0.6993 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.3175, allocations: 41.86 kB / 0.6993 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.3178, allocations: 266 kB / 0.6995 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.3181, allocations: 68.77 kB / 0.6996 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.3182, allocations: 24.09 kB / 0.6996 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.3183, allocations: 84.41 kB / 0.6997 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3184, allocations: 35.69 kB / 0.6998 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3184, allocations: 0 / 0.6998 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003614/0.3187, allocations: 92.89 kB / 0.6998 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.3188, allocations: 52.47 kB / 0.6999 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/0.3188, allocations: 99.06 kB / 0.7 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3189, allocations: 30.7 kB / 0.7 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.3189, allocations: 93.16 kB / 0.7001 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.3189, allocations: 5.203 kB / 0.7001 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.319, allocations: 21.33 kB / 0.7001 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3191, allocations: 312.1 kB / 0.7004 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/0.3192, allocations: 21.47 kB / 0.7004 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.813e-05/0.3193, allocations: 19.86 kB / 0.7005 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3194, allocations: 46.22 kB / 0.7005 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3194, allocations: 0 / 0.7005 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000211/0.3196, allocations: 80.38 kB / 0.7006 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3196, allocations: 7.469 kB / 0.7006 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.3197, allocations: 0 / 0.7006 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3197, allocations: 0 / 0.7006 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.3197, allocations: 12.17 kB / 0.7006 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.3198, allocations: 0 / 0.7006 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.3198, allocations: 16.02 kB / 0.7006 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3198, allocations: 1.469 kB / 0.7006 GB, free: 11.36 MB / 0.5137 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 8.766e-05/0.3199, allocations: 115.1 kB / 0.7007 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.3199, allocations: 2.219 kB / 0.7007 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.3202, allocations: 86.33 kB / 0.7008 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3202, allocations: 3.938 kB / 0.7008 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3202, allocations: 5.156 kB / 0.7008 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.3202, allocations: 82.91 kB / 0.7009 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.3203, allocations: 3.984 kB / 0.7009 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.3203, allocations: 3.656 kB / 0.7009 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.3204, allocations: 15.42 kB / 0.7009 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002783/0.3207, allocations: 157.2 kB / 0.7011 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002891/0.321, allocations: 250.6 kB / 0.7013 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.098e-05/0.321, allocations: 20.36 kB / 0.7013 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.908e-05/0.3211, allocations: 86.58 kB / 0.7014 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of Backend: time 2.41e-07/0.3211, allocations: 0 / 0.7014 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.3215, allocations: 105.4 kB / 0.7015 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0004577/0.322, allocations: 0.5675 MB / 0.7021 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of Templates: time 0.003084/0.3251, allocations: 0.817 MB / 0.7029 GB, free: 9.496 MB / 0.5137 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]