Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000772/0.000772, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008265/0.0008265, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.8688/0.8688, allocations: 177.2 MB / 203.5 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686: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/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6856/0.6856, allocations: 154.6 MB / 414.5 MB, free: 0.7344 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.508e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001842/0.001867, allocations: 1.56 MB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002981/0.002165, allocations: 135.6 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.002199, allocations: 0 / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.002225, allocations: 3.938 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.721e-05/0.002262, allocations: 7.938 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.002568, allocations: 31.89 kB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.619e-05/0.002634, allocations: 43.8 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.002723, allocations: 11.98 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.402e-05/0.002757, allocations: 11.98 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.861e-05/0.002795, allocations: 23.97 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.00281, allocations: 4 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.002879, allocations: 19.92 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.002892, allocations: 11.98 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.889e-05/0.002911, allocations: 11.98 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.003028, allocations: 51.8 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.00303, allocations: 0 / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003031, allocations: 0 / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.768e-06/0.003035, allocations: 0 / 0.6212 GB, free: 11.22 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003419/0.003377, allocations: 278.3 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.003415, allocations: 12.03 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.003444, allocations: 4.938 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.316e-05/0.003517, allocations: 105.8 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.003537, allocations: 4.375 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.003547, allocations: 4.359 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.003683, allocations: 70.16 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.003691, allocations: 192 / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.003701, allocations: 4.375 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.003705, allocations: 384 / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.925e-05/0.003804, allocations: 47.89 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.004071, allocations: 216.5 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.004271, allocations: 58.48 kB / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.004319, allocations: 24.89 kB / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.881e-05/0.004418, allocations: 15.98 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.004436, allocations: 42.44 kB / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.004436, allocations: 0 / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002239/0.00466, allocations: 101.6 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.004684, allocations: 59.28 kB / 0.6222 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.005114, allocations: 101.9 kB / 0.6223 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.005123, allocations: 25.7 kB / 0.6223 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.00516, allocations: 88.12 kB / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.005174, allocations: 7.953 kB / 0.6224 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.005198, allocations: 13.72 kB / 0.6224 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.005267, allocations: 318.8 kB / 0.6228 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.005312, allocations: 23.98 kB / 0.6228 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.08e-05/0.005353, allocations: 15.98 kB / 0.6228 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.251e-05/0.005436, allocations: 45.06 kB / 0.6228 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005438, allocations: 0 / 0.6228 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001159/0.005554, allocations: 89.48 kB / 0.6229 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.005564, allocations: 4 kB / 0.6229 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.00557, allocations: 7.984 kB / 0.6229 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.005581, allocations: 4 kB / 0.6229 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.067e-05/0.005622, allocations: 4 kB / 0.6229 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.005627, allocations: 7.984 kB / 0.6229 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.00565, allocations: 4 kB / 0.6229 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.005654, allocations: 0 / 0.6229 GB, free: 9.27 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 (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 5.066e-05/0.005705, allocations: 114.8 kB / 0.6231 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.005718, allocations: 7.922 kB / 0.6231 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.005856, allocations: 81.66 kB / 0.6231 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.005858, allocations: 4.047 kB / 0.6231 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.005862, allocations: 3.984 kB / 0.6232 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005865, allocations: 0 / 0.6232 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.418e-05/0.005949, allocations: 113.4 kB / 0.6233 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.005949, allocations: 7.875 kB / 0.6233 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.005978, allocations: 15.98 kB / 0.6233 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.005979, allocations: 0 / 0.6233 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.005986, allocations: 3.938 kB / 0.6233 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.005987, allocations: 4 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005988, allocations: 0 / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.006113, allocations: 167.5 kB / 0.6234 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-06/0.00612, allocations: 7.984 kB / 0.6235 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.00613, allocations: 3.938 kB / 0.6235 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.006166, allocations: 4 kB / 0.6235 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.006208, allocations: 11.98 kB / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.00621, allocations: 0 / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.552e-05/0.006236, allocations: 83.27 kB / 0.6236 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006236, allocations: 4 kB / 0.6236 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001531/0.006389, allocations: 11.94 kB / 0.6236 GB, free: 8.566 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 (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.0001082/0.006497, allocations: 107.2 kB / 0.6237 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.006623, allocations: 47.89 kB / 0.6237 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006625, allocations: 0 / 0.6237 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.00667, allocations: 23.97 kB / 0.6237 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.006844, allocations: 14.69 kB / 0.6238 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002331/0.007077, allocations: 142.4 kB / 0.6239 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.007117, allocations: 67.28 kB / 0.624 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.007141, allocations: 16.48 kB / 0.624 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.007141, allocations: 0 / 0.624 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of Templates: time 0.001528/0.00867, allocations: 0.7912 MB / 0.6247 GB, free: 7.309 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8098331447690725] Failed to read output from testmodel.py, exit status != 0: 0.013066348619759083 0.020998156 0.016404831 Calling exit ...