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.001273/0.001273, allocations: 76.52 kB / 19.93 MB, free: 4.605 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.001519/0.001519, allocations: 181.9 kB / 23.22 MB, free: 1.316 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.8826/0.8826, allocations: 177.2 MB / 203.5 MB, free: 5.75 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-531:190: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-531:198: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.7013/0.7013, allocations: 154.6 MB / 414.5 MB, free: 0.8281 MB / 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.613e-06/1.613e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.494e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002206/0.002231, allocations: 1.528 MB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003089/0.00254, allocations: 139.5 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.002575, allocations: 0 / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.002601, allocations: 0 / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/0.002641, allocations: 3.938 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.002888, allocations: 23.92 kB / 0.6209 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.598e-05/0.002954, allocations: 27.92 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.003061, allocations: 15.97 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.003111, allocations: 15.98 kB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/0.003155, allocations: 15.92 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.003171, allocations: 4 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.869e-05/0.00323, allocations: 8 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.003246, allocations: 11.97 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.003264, allocations: 11.94 kB / 0.621 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.003385, allocations: 39.88 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003388, allocations: 0 / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.583e-06/0.003389, allocations: 0 / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.003395, allocations: 0 / 0.6211 GB, free: 11.33 MB / 0.5886 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.0003851/0.003781, allocations: 270.3 kB / 0.6213 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.003825, allocations: 9.469 kB / 0.6213 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.003865, allocations: 4.891 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.675e-05/0.003962, allocations: 105.8 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.003987, allocations: 384 / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.004002, allocations: 8.312 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.004179, allocations: 58.22 kB / 0.6215 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.004189, allocations: 192 / 0.6215 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.004201, allocations: 4.375 kB / 0.6215 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004207, allocations: 384 / 0.6215 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.004318, allocations: 55.81 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.00463, allocations: 208.6 kB / 0.6218 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.004842, allocations: 50.53 kB / 0.6218 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.004893, allocations: 24.91 kB / 0.6218 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.643e-05/0.004979, allocations: 7.984 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.004998, allocations: 34.5 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.004999, allocations: 4 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002474/0.005246, allocations: 97.56 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.005277, allocations: 59.34 kB / 0.622 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.005338, allocations: 97.86 kB / 0.6221 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.005349, allocations: 25.7 kB / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.005395, allocations: 84.08 kB / 0.6222 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.005413, allocations: 15.94 kB / 0.6223 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.005439, allocations: 13.72 kB / 0.6223 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.005527, allocations: 318.8 kB / 0.6226 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.005579, allocations: 19.97 kB / 0.6226 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/0.00562, allocations: 19.92 kB / 0.6226 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.94e-05/0.005709, allocations: 48.81 kB / 0.6227 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005711, allocations: 0 / 0.6227 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001172/0.005829, allocations: 73.61 kB / 0.6227 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.005841, allocations: 11.94 kB / 0.6227 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.005846, allocations: 0 / 0.6227 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.005858, allocations: 0 / 0.6227 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.005913, allocations: 15.98 kB / 0.6228 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.005918, allocations: 0 / 0.6228 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.005947, allocations: 11.98 kB / 0.6228 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.005951, allocations: 0 / 0.6228 GB, free: 9.43 MB / 0.5886 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 9.627e-05/0.006047, allocations: 114.8 kB / 0.6229 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.006061, allocations: 0 / 0.6229 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.006232, allocations: 93.27 kB / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.006235, allocations: 0 / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.006242, allocations: 0.5625 kB / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006246, allocations: 0 / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.611e-05/0.006342, allocations: 109.3 kB / 0.6231 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.006344, allocations: 0 / 0.6231 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.006382, allocations: 11.98 kB / 0.6231 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006384, allocations: 0 / 0.6231 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.00639, allocations: 3.938 kB / 0.6231 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.006392, allocations: 7.938 kB / 0.6231 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.006394, allocations: 0 / 0.6231 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.006535, allocations: 175.4 kB / 0.6233 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.006544, allocations: 7.953 kB / 0.6233 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.006555, allocations: 3.938 kB / 0.6233 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.006595, allocations: 11.92 kB / 0.6233 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.006641, allocations: 7.984 kB / 0.6233 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.006645, allocations: 4 kB / 0.6233 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.656e-05/0.006671, allocations: 83.28 kB / 0.6234 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006671, allocations: 0 / 0.6234 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001604/0.006832, allocations: 4 kB / 0.6234 GB, free: 8.734 MB / 0.5886 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 0.0001366/0.006969, allocations: 111.2 kB / 0.6235 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.007108, allocations: 43.89 kB / 0.6235 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.00711, allocations: 0 / 0.6235 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.721e-05/0.007157, allocations: 19.98 kB / 0.6235 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.007389, allocations: 10.53 kB / 0.6236 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.007734, allocations: 138.5 kB / 0.6237 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.007777, allocations: 63.34 kB / 0.6237 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.007811, allocations: 12.5 kB / 0.6238 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.007811, allocations: 0 / 0.6238 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of Templates: time 0.001701/0.009512, allocations: 0.7599 MB / 0.6245 GB, free: 7.531 MB / 0.5886 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] [Calling sys.exit(0), Time elapsed: 5.163592687807977] Failed to read output from testmodel.py, exit status != 0: 0.015412790700793266 0.024726225 0.019590139000000003 Calling exit ...