Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002325/0.002325, allocations: 190 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 443.5 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.89 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8257/0.8277, allocations: 160.8 MB / 1.218 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003053/0.8308, allocations: 1.554 MB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004221/0.8312, allocations: 139.5 kB / 1.22 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.8312, allocations: 0.75 kB / 1.22 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.8313, allocations: 0 / 1.22 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.8313, allocations: 8.844 kB / 1.22 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.8317, allocations: 33.33 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.987e-05/0.8317, allocations: 33.95 kB / 1.22 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.8319, allocations: 13.08 kB / 1.22 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.8319, allocations: 20.69 kB / 1.22 GB, free: 2.242 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.8319, allocations: 21.11 kB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.832, allocations: 3.531 kB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-05/0.8321, allocations: 19.36 kB / 1.22 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.8321, allocations: 5.25 kB / 1.22 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.8321, allocations: 23.94 kB / 1.22 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.8322, allocations: 45.38 kB / 1.22 GB, free: 2.164 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8322, allocations: 1.406 kB / 1.22 GB, free: 2.164 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8322, allocations: 0 / 1.22 GB, free: 2.164 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.8323, allocations: 0 / 1.22 GB, free: 2.164 MB / 0.92 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.0005625/0.8328, allocations: 353.7 kB / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.8329, allocations: 8.875 kB / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.8329, allocations: 7.422 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.8331, allocations: 169.5 kB / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.8331, allocations: 6.781 kB / 1.221 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.8331, allocations: 1.625 kB / 1.221 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.8333, allocations: 67.83 kB / 1.221 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.8333, allocations: 7.922 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.8333, allocations: 1.531 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.8333, allocations: 0 / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.8335, allocations: 45.17 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.8339, allocations: 290.3 kB / 1.221 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.8343, allocations: 53.36 kB / 1.221 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.726e-05/0.8344, allocations: 31.58 kB / 1.221 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003323/0.8347, allocations: 396.8 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.8347, allocations: 35.94 kB / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.8347, allocations: 0 / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003806/0.8351, allocations: 102.1 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.8351, allocations: 52.47 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.8352, allocations: 107.5 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.8353, allocations: 25.7 kB / 1.222 GB, free: 344 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.8353, allocations: 90.52 kB / 1.222 GB, free: 252 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.8353, allocations: 9.422 kB / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.8354, allocations: 21.36 kB / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.8355, allocations: 316.1 kB / 1.222 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/0.8356, allocations: 17.52 kB / 1.222 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.8357, allocations: 23.66 kB / 1.222 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.8359, allocations: 54.34 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8359, allocations: 0 / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002137/0.8361, allocations: 73.14 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.8361, allocations: 6.125 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.8361, allocations: 0 / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.8361, allocations: 0 / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.8362, allocations: 15.67 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.8362, allocations: 5.125 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/0.8363, allocations: 11.48 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.8363, allocations: 1.25 kB / 1.223 GB, free: 15.77 MB / 0.9356 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 9.182e-05/0.8364, allocations: 117.8 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.8364, allocations: 1.375 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.8367, allocations: 88.02 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.8367, allocations: 1.344 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.8367, allocations: 0 / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.8367, allocations: 5.156 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.8369, allocations: 173 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8369, allocations: 0 / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.8369, allocations: 12.08 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.8369, allocations: 3.984 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.837, allocations: 5 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.837, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.837, allocations: 5.016 kB / 1.223 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.8372, allocations: 179.1 kB / 1.223 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.8373, allocations: 78.3 kB / 1.223 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.8373, allocations: 1.094 kB / 1.223 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.8374, allocations: 11.36 kB / 1.223 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.8374, allocations: 10.14 kB / 1.223 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.8374, allocations: 1.719 kB / 1.223 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.8375, allocations: 85.84 kB / 1.223 GB, free: 15 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8375, allocations: 4 kB / 1.223 GB, free: 15 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002364/0.8377, allocations: 16.3 kB / 1.223 GB, free: 14.99 MB / 0.9356 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.000167/0.8379, allocations: 102.4 kB / 1.223 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.8381, allocations: 48.11 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8381, allocations: 0 / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.874e-05/0.8382, allocations: 30.88 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.8385, allocations: 6.219 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.8389, allocations: 118.8 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.8392, allocations: 0.6799 MB / 1.224 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.8392, allocations: 3.641 kB / 1.224 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.8393, allocations: 14.58 kB / 1.224 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.8393, allocations: 0 / 1.224 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.00363/0.8429, allocations: 0.786 MB / 1.225 GB, free: 13.62 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.56743201520294]