Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04151/0.04151, allocations: 9.131 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008292/0.0008292, allocations: 94.36 kB / 35.33 MB, free: 1.066 MB / 24.77 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.001067/0.001067, allocations: 164.1 kB / 38.73 MB, free: 2.48 MB / 24.77 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.9516/0.9516, allocations: 177.1 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004105/0.004105, allocations: 0.8221 MB / 276.5 MB, free: 0.7383 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.604/1.604, allocations: 274.9 MB / 0.5419 GB, free: 0.6016 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.842e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001116/0.001134, allocations: 0.6461 MB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.002477, allocations: 1.349 MB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.002502, allocations: 0 / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.002519, allocations: 3.938 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.223e-05/0.002541, allocations: 4 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.002893, allocations: 87.58 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.586e-05/0.002959, allocations: 19.98 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.002999, allocations: 0 / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.317e-05/0.003042, allocations: 19.97 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.003114, allocations: 11.92 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.003127, allocations: 4 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.003342, allocations: 103.8 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.003355, allocations: 11.97 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.459e-05/0.00337, allocations: 12 kB / 0.6401 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.003496, allocations: 91.69 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003498, allocations: 0 / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of FrontEnd: time 3.9e-07/0.003498, allocations: 0 / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.003501, allocations: 0 / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002955/0.003797, allocations: 252.4 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.003827, allocations: 11.98 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.003854, allocations: 8.922 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.243e-05/0.003927, allocations: 109.8 kB / 0.6406 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.003938, allocations: 12.36 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.00396, allocations: 4.375 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.458e-05/0.004045, allocations: 79.86 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.004053, allocations: 0.5312 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.004062, allocations: 8.359 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.004068, allocations: 3.938 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.651e-05/0.004104, allocations: 11.98 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.794e-05/0.004192, allocations: 73 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.102e-05/0.004263, allocations: 46.62 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.004284, allocations: 12.86 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.004432, allocations: 39.97 kB / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.004454, allocations: 38.55 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.004455, allocations: 3.938 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.009475/0.01393, allocations: 4.697 MB / 0.6455 GB, free: 6.047 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.01396, allocations: 55.41 kB / 0.6456 GB, free: 5.98 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.664e-05/0.014, allocations: 98.7 kB / 0.6456 GB, free: 5.871 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.01405, allocations: 25.7 kB / 0.6457 GB, free: 5.84 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.962e-05/0.01407, allocations: 84.27 kB / 0.6458 GB, free: 5.754 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 7.888e-05/0.01415, allocations: 67.45 kB / 0.6458 GB, free: 5.688 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.01428, allocations: 37.67 kB / 0.6459 GB, free: 5.645 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.01435, allocations: 318.8 kB / 0.6462 GB, free: 5.324 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.01459, allocations: 312 kB / 0.6465 GB, free: 5.02 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.01483, allocations: 312 kB / 0.6468 GB, free: 4.715 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/0.01562, allocations: 0.8095 MB / 0.6475 GB, free: 3.902 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01562, allocations: 0 / 0.6475 GB, free: 3.902 MB / 0.6043 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007051/0.01632, allocations: 0.7397 MB / 0.6483 GB, free: 3.156 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.01634, allocations: 7.938 kB / 0.6483 GB, free: 3.148 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.01634, allocations: 0 / 0.6483 GB, free: 3.148 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.01635, allocations: 8 kB / 0.6483 GB, free: 3.141 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.01665, allocations: 47.94 kB / 0.6483 GB, free: 3.094 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.01665, allocations: 0 / 0.6483 GB, free: 3.094 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.01682, allocations: 8 kB / 0.6483 GB, free: 3.086 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.01686, allocations: 7.984 kB / 0.6483 GB, free: 3.078 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001389/0.01699, allocations: 121.8 kB / 0.6485 GB, free: 2.949 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.01707, allocations: 15.88 kB / 0.6485 GB, free: 2.934 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.01862, allocations: 0.9659 MB / 0.6494 GB, free: 1.965 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01862, allocations: 4 kB / 0.6494 GB, free: 1.961 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01862, allocations: 7.984 kB / 0.6494 GB, free: 1.953 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.01863, allocations: 0 / 0.6494 GB, free: 1.953 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.01977, allocations: 0.9761 MB / 0.6504 GB, free: 0.9492 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01977, allocations: 0 / 0.6504 GB, free: 0.9492 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.02007, allocations: 71.91 kB / 0.6505 GB, free: 0.8789 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.02008, allocations: 4.031 kB / 0.6505 GB, free: 0.875 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.02011, allocations: 8 kB / 0.6505 GB, free: 0.8672 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.02011, allocations: 0 / 0.6505 GB, free: 0.8672 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.02011, allocations: 4 kB / 0.6505 GB, free: 0.8633 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008817/0.02099, allocations: 0.8728 MB / 0.6513 GB, free: 15.96 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.02101, allocations: 19.78 kB / 0.6513 GB, free: 15.95 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.02106, allocations: 8 kB / 0.6513 GB, free: 15.94 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.02124, allocations: 8 kB / 0.6514 GB, free: 15.93 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.02131, allocations: 27.89 kB / 0.6514 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.02134, allocations: 12 kB / 0.6514 GB, free: 15.89 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 8.666e-06/0.02135, allocations: 8.891 kB / 0.6514 GB, free: 15.88 MB / 0.6199 GB Notification: Performance of sort global known variables: time 4e-08/0.02135, allocations: 0 / 0.6514 GB, free: 15.88 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0003436/0.02169, allocations: 183.7 kB / 0.6516 GB, free: 15.7 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.0003954/0.02209, allocations: 235.9 kB / 0.6518 GB, free: 15.46 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.02264, allocations: 0.5749 MB / 0.6524 GB, free: 14.88 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02265, allocations: 0 / 0.6524 GB, free: 14.88 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.02288, allocations: 256.9 kB / 0.6526 GB, free: 14.63 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.02304, allocations: 19.94 kB / 0.6526 GB, free: 14.61 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.02433, allocations: 0.5219 MB / 0.6531 GB, free: 14.06 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.363e-05/0.02437, allocations: 77.34 kB / 0.6532 GB, free: 13.96 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0006103/0.02498, allocations: 293.5 kB / 0.6535 GB, free: 13.68 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.02548, allocations: 91.27 kB / 0.6536 GB, free: 13.59 MB / 0.6199 GB Notification: Performance of SimCode: time 8.41e-07/0.02548, allocations: 0 / 0.6536 GB, free: 13.59 MB / 0.6199 GB Notification: Performance of Templates: time 0.01265/0.03813, allocations: 12.92 MB / 0.6662 GB, free: 0.5898 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.349672836717218]