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.0006847/0.0006847, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008636/0.001548, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007072/0.0007072, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008664/0.001574, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.005/1.005, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08816/1.093, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7547/0.7547, allocations: 155.3 MB / 399.3 MB, free: 15.91 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2826/1.037, allocations: 49.12 MB / 448.4 MB, free: 6.012 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.883e-06/1.883e-06, allocations: 0 / 449.7 MB, free: 4.711 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.3e-05, allocations: 5.266 kB / 449.7 MB, free: 4.707 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.0033/0.003323, allocations: 1.628 MB / 451.3 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000267/0.00359, allocations: 125.5 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.003621, allocations: 0 / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.003646, allocations: 0 / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.37e-05/0.00368, allocations: 9.453 kB / 451.5 MB, free: 2.969 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.003838, allocations: 19.98 kB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.417e-05/0.003923, allocations: 29.98 kB / 451.5 MB, free: 2.926 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/0.004012, allocations: 12.92 kB / 451.5 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.004096, allocations: 25.48 kB / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.004158, allocations: 8.656 kB / 451.6 MB, free: 2.883 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.004178, allocations: 5.469 kB / 451.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.00428, allocations: 15.98 kB / 451.6 MB, free: 2.863 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.004297, allocations: 5.938 kB / 451.6 MB, free: 2.859 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.004323, allocations: 10.31 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.004459, allocations: 26.64 kB / 451.6 MB, free: 2.832 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.004478, allocations: 0 / 451.6 MB, free: 2.832 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004479, allocations: 0 / 451.6 MB, free: 2.832 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.004501, allocations: 3.984 kB / 451.6 MB, free: 2.828 MB / 426.7 MB 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.0004301/0.004931, allocations: 240.6 kB / 451.9 MB, free: 2.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.004971, allocations: 12.03 kB / 451.9 MB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.005009, allocations: 0.9375 kB / 451.9 MB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.005117, allocations: 114.6 kB / 452 MB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.005143, allocations: 384 / 452 MB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.005157, allocations: 8.875 kB / 452 MB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.005315, allocations: 63.78 kB / 452.1 MB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.005324, allocations: 1.469 kB / 452.1 MB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.005333, allocations: 4.375 kB / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.005338, allocations: 384 / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.589e-05/0.005374, allocations: 11.94 kB / 452.1 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.005641, allocations: 153 kB / 452.2 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.005843, allocations: 44.53 kB / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.005866, allocations: 8.859 kB / 452.3 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.162e-05/0.005958, allocations: 4 kB / 452.3 MB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.005984, allocations: 31.22 kB / 452.3 MB, free: 2.062 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.005986, allocations: 0.5625 kB / 452.3 MB, free: 2.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001488/0.006134, allocations: 50.23 kB / 452.4 MB, free: 2.008 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.00617, allocations: 51.41 kB / 452.4 MB, free: 1.945 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.769e-05/0.006238, allocations: 104.4 kB / 452.5 MB, free: 1.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.006254, allocations: 29.7 kB / 452.5 MB, free: 1.797 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.006289, allocations: 88.95 kB / 452.6 MB, free: 1.707 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.006308, allocations: 7.938 kB / 452.6 MB, free: 1.699 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.006342, allocations: 22.55 kB / 452.7 MB, free: 1.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.006434, allocations: 314.8 kB / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.006449, allocations: 0 / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.006463, allocations: 8.641 kB / 453 MB, free: 1.348 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.635e-05/0.006499, allocations: 14.47 kB / 453 MB, free: 1.332 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006501, allocations: 0 / 453 MB, free: 1.332 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.304e-05/0.006574, allocations: 42.31 kB / 453 MB, free: 1.285 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.006587, allocations: 4 kB / 453 MB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.006595, allocations: 11.17 kB / 453 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.006606, allocations: 7.938 kB / 453.1 MB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.006683, allocations: 7.938 kB / 453.1 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.006686, allocations: 0.6562 kB / 453.1 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/0.006716, allocations: 14.03 kB / 453.1 MB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.006721, allocations: 0 / 453.1 MB, free: 1.246 MB / 426.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 (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.529e-05/0.006786, allocations: 113.8 kB / 453.2 MB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.006807, allocations: 0 / 453.2 MB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.006909, allocations: 50.27 kB / 453.2 MB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.006914, allocations: 8.812 kB / 453.2 MB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006916, allocations: 0.9062 kB / 453.2 MB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006918, allocations: 0 / 453.2 MB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.007033, allocations: 65.89 kB / 453.3 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007035, allocations: 1.188 kB / 453.3 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.0071, allocations: 11.98 kB / 453.3 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.007109, allocations: 7.938 kB / 453.3 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.007112, allocations: 0.625 kB / 453.3 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.007118, allocations: 1.969 kB / 453.3 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.007122, allocations: 3.984 kB / 453.3 MB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.007125, allocations: 4.594 kB / 453.3 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.007227, allocations: 135.5 kB / 453.5 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.007239, allocations: 2.406 kB / 453.5 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.438e-05/0.007303, allocations: 4.562 kB / 453.5 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.00734, allocations: 4.609 kB / 453.5 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.007348, allocations: 8.922 kB / 453.5 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.295e-05/0.007361, allocations: 9.672 kB / 453.5 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007361, allocations: 0 / 453.5 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.007557, allocations: 9.219 kB / 453.5 MB, free: 0.7695 MB / 426.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 (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.000122/0.007679, allocations: 88.39 kB / 453.6 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.52e-05/0.007754, allocations: 21.5 kB / 453.6 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.007758, allocations: 0.6562 kB / 453.6 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.007785, allocations: 13.77 kB / 453.6 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.007968, allocations: 9 kB / 453.6 MB, free: 0.625 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.008385, allocations: 114.6 kB / 453.8 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.008423, allocations: 59.84 kB / 453.8 MB, free: 424 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.121e-05/0.008454, allocations: 6.297 kB / 453.8 MB, free: 420 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.008508, allocations: 59.36 kB / 453.9 MB, free: 360 kB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008508, allocations: 0.5 kB / 453.9 MB, free: 360 kB / 426.7 MB Notification: Performance of Templates: time 0.002878/0.01139, allocations: 0.7728 MB / 454.7 MB, free: 15.62 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.530698360875249]