Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.000793/0.000793, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001899, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007107/0.0007107, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009425/0.001653, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9627/0.9627, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.111/1.074, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.86/1.86, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5119/2.372, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0.6562 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.841e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002889/0.002908, allocations: 1.661 MB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002769/0.003184, allocations: 132.7 kB / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.003215, allocations: 0 / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.003242, allocations: 3.938 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.042e-05/0.003273, allocations: 8.234 kB / 0.7314 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.00348, allocations: 31.89 kB / 0.7315 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.286e-05/0.003563, allocations: 34 kB / 0.7315 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.109e-05/0.003644, allocations: 11.98 kB / 0.7315 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.765e-05/0.003711, allocations: 29.52 kB / 0.7315 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.003765, allocations: 17.08 kB / 0.7315 GB, free: 2.508 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.003784, allocations: 4.984 kB / 0.7315 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.003913, allocations: 28.41 kB / 0.7316 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.003934, allocations: 7.047 kB / 0.7316 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.003956, allocations: 9.531 kB / 0.7316 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.004094, allocations: 34.42 kB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.004106, allocations: 0 / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004107, allocations: 0.625 kB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.004118, allocations: 1.203 kB / 0.7316 GB, free: 2.434 MB / 0.698 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.0004593/0.004578, allocations: 253.2 kB / 0.7319 GB, free: 2.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.004614, allocations: 8.562 kB / 0.7319 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.004652, allocations: 5.875 kB / 0.7319 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.005032, allocations: 113.7 kB / 0.732 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.005057, allocations: 4.375 kB / 0.732 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.00507, allocations: 1.734 kB / 0.732 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.005229, allocations: 67.75 kB / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.005237, allocations: 192 / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.005246, allocations: 1.781 kB / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.005253, allocations: 4.375 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.656e-05/0.00529, allocations: 7.938 kB / 0.7321 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.0056, allocations: 168.2 kB / 0.7322 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.005796, allocations: 47.8 kB / 0.7323 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.005816, allocations: 5.547 kB / 0.7323 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.005919, allocations: 17.7 kB / 0.7323 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.005948, allocations: 30.56 kB / 0.7323 GB, free: 1.625 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.00595, allocations: 0 / 0.7323 GB, free: 1.625 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001447/0.006094, allocations: 54.48 kB / 0.7324 GB, free: 1.566 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.006124, allocations: 56.16 kB / 0.7324 GB, free: 1.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.369e-05/0.006198, allocations: 110.7 kB / 0.7325 GB, free: 1.379 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.006212, allocations: 25.7 kB / 0.7326 GB, free: 1.348 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.006256, allocations: 93.23 kB / 0.7327 GB, free: 1.254 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.006274, allocations: 5.297 kB / 0.7327 GB, free: 1.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.006311, allocations: 17.72 kB / 0.7327 GB, free: 1.227 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.006416, allocations: 318.8 kB / 0.733 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.006433, allocations: 5.859 kB / 0.733 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.554e-05/0.006449, allocations: 4.188 kB / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.122e-05/0.00649, allocations: 21.48 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.006492, allocations: 0 / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.417e-05/0.006567, allocations: 42.38 kB / 0.7331 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.006582, allocations: 4 kB / 0.7331 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.00659, allocations: 9.688 kB / 0.7331 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.006603, allocations: 0 / 0.7331 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.006689, allocations: 7.984 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.006693, allocations: 4.984 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.006722, allocations: 0.5625 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.006727, allocations: 0 / 0.7331 GB, free: 0.8047 MB / 0.698 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 6.566e-05/0.006793, allocations: 110.9 kB / 0.7332 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.006818, allocations: 4 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.006927, allocations: 49.83 kB / 0.7332 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.006929, allocations: 5.125 kB / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.00693, allocations: 0 / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.006934, allocations: 0 / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.007052, allocations: 83.23 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.007054, allocations: 0 / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.007114, allocations: 9.016 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.007124, allocations: 8 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.007126, allocations: 0.5312 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.007132, allocations: 0 / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.007136, allocations: 5.688 kB / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.007137, allocations: 0.7656 kB / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.007262, allocations: 131.5 kB / 0.7335 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.007275, allocations: 4 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.007344, allocations: 5.203 kB / 0.7335 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.007394, allocations: 12.19 kB / 0.7335 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.0074, allocations: 3.984 kB / 0.7335 GB, free: 340 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.014e-05/0.007421, allocations: 14.33 kB / 0.7335 GB, free: 324 kB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.007421, allocations: 0.6562 kB / 0.7335 GB, free: 324 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002135/0.007634, allocations: 11.94 kB / 0.7335 GB, free: 312 kB / 0.698 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.0001696/0.007804, allocations: 88.98 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.688e-05/0.007891, allocations: 18.7 kB / 0.7336 GB, free: 192 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.007899, allocations: 4 kB / 0.7336 GB, free: 188 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/0.00794, allocations: 14.33 kB / 0.7336 GB, free: 172 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.008146, allocations: 34.45 kB / 0.7337 GB, free: 132 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.00865, allocations: 129.5 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.122e-05/0.008691, allocations: 55.36 kB / 0.7338 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.008725, allocations: 5.281 kB / 0.7339 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.008789, allocations: 55.36 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/0.00879, allocations: 0.5625 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.00342/0.01221, allocations: 0.8277 MB / 0.7347 GB, free: 15.05 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.830821922980249]