Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.001021/0.001021, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002468, 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.0009504/0.0009504, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001251/0.002201, 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.9331/0.9331, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08599/1.019, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.824/1.824, allocations: 378.4 MB / 0.6079 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4614/2.286, allocations: 123.3 MB / 0.7283 GB, free: 5.758 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.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.268e-06/1.059e-05, allocations: 3.156 kB / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001053/0.001064, allocations: 0.6881 MB / 0.7304 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.002354, allocations: 1.441 MB / 0.7318 GB, free: 2.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.002377, allocations: 0 / 0.7318 GB, free: 2.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.381e-05/0.002421, allocations: 0 / 0.7318 GB, free: 2.27 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.416e-05/0.002445, allocations: 6.016 kB / 0.7318 GB, free: 2.266 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.002799, allocations: 156.9 kB / 0.7319 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.534e-05/0.002894, allocations: 47.33 kB / 0.732 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 2.878e-05/0.002923, allocations: 1.984 kB / 0.732 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.996e-05/0.002983, allocations: 33.28 kB / 0.732 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.00303, allocations: 21.59 kB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.003042, allocations: 4.656 kB / 0.732 GB, free: 2.016 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.003313, allocations: 233.2 kB / 0.7323 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.00335, allocations: 11.72 kB / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.003381, allocations: 11.02 kB / 0.7323 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.003591, allocations: 190.9 kB / 0.7325 GB, free: 1.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.003604, allocations: 3.938 kB / 0.7325 GB, free: 1.586 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003605, allocations: 0.9062 kB / 0.7325 GB, free: 1.586 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.003616, allocations: 0 / 0.7325 GB, free: 1.586 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003524/0.003968, allocations: 360.3 kB / 0.7328 GB, free: 1.199 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.003997, allocations: 8.031 kB / 0.7328 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.004029, allocations: 6.344 kB / 0.7328 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.001e-05/0.004109, allocations: 113.7 kB / 0.7329 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.004118, allocations: 4.375 kB / 0.7329 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.00413, allocations: 4.906 kB / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.004238, allocations: 106.7 kB / 0.7331 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.004244, allocations: 1.812 kB / 0.7331 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.004252, allocations: 4.375 kB / 0.7331 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.004257, allocations: 3.938 kB / 0.7331 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.033e-05/0.004297, allocations: 57.69 kB / 0.7331 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.25e-05/0.004369, allocations: 68.7 kB / 0.7332 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/0.004435, allocations: 72.31 kB / 0.7333 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.004478, allocations: 67.11 kB / 0.7333 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-06/0.004482, allocations: 5.594 kB / 0.7333 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.004502, allocations: 38.5 kB / 0.7334 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.004503, allocations: 0 / 0.7334 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001755/0.004678, allocations: 214.7 kB / 0.7336 GB, free: 336 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.004702, allocations: 52.25 kB / 0.7336 GB, free: 272 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.004782, allocations: 146.2 kB / 0.7338 GB, free: 116 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.004794, allocations: 29.7 kB / 0.7338 GB, free: 80 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.004838, allocations: 89.36 kB / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.004859, allocations: 11.91 kB / 0.7339 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.004894, allocations: 25.69 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.004972, allocations: 328.5 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.005039, allocations: 110.2 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.825e-05/0.005097, allocations: 119.2 kB / 0.7344 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.005214, allocations: 192.7 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005215, allocations: 1.219 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001678/0.005383, allocations: 256.4 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.005433, allocations: 71.38 kB / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.005436, allocations: 0 / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.005445, allocations: 4.594 kB / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.005447, allocations: 1.125 kB / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.00545, allocations: 0 / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.005519, allocations: 19.83 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.005527, allocations: 0.7812 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.614e-05/0.005593, allocations: 158.3 kB / 0.7351 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.005602, allocations: 8.781 kB / 0.7351 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.165e-05/0.005614, allocations: 4.344 kB / 0.7351 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.005615, allocations: 0.6719 kB / 0.7351 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.005618, allocations: 5.234 kB / 0.7351 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.00562, allocations: 0 / 0.7351 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.087e-05/0.005671, allocations: 73.83 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005671, allocations: 4 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.005672, allocations: 0.6875 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.00568, allocations: 9.156 kB / 0.7352 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.61e-07/0.00568, allocations: 0 / 0.7352 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.005686, allocations: 4 kB / 0.7352 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.005687, allocations: 0 / 0.7352 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005687, allocations: 0.7188 kB / 0.7352 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.005819, allocations: 206 kB / 0.7354 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.005831, allocations: 1.344 kB / 0.7354 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.255e-05/0.005853, allocations: 4 kB / 0.7354 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.005893, allocations: 11.92 kB / 0.7354 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.005896, allocations: 0.75 kB / 0.7354 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.266e-05/0.005919, allocations: 24.84 kB / 0.7354 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005919, allocations: 0.75 kB / 0.7355 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001494/0.006068, allocations: 63.88 kB / 0.7355 GB, free: 14.13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001824/0.006251, allocations: 150 kB / 0.7357 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.006464, allocations: 324.6 kB / 0.736 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.006468, allocations: 5.344 kB / 0.736 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.266e-05/0.006541, allocations: 132.8 kB / 0.7361 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.801e-05/0.006609, allocations: 19.98 kB / 0.7361 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.006816, allocations: 206.8 kB / 0.7363 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.196e-05/0.006848, allocations: 67.34 kB / 0.7364 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.58e-06/0.006854, allocations: 0 / 0.7364 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.006917, allocations: 72.59 kB / 0.7364 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.006918, allocations: 0 / 0.7364 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.003506/0.01042, allocations: 2.423 MB / 0.7388 GB, free: 10.72 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.871274341829121]