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.06502/0.06502, allocations: 9.133 MB / 28.99 MB, free: 0.8242 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.0009805/0.0009805, allocations: 87.28 kB / 35.33 MB, free: 1.086 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.001307/0.001307, allocations: 160.2 kB / 38.72 MB, free: 2.504 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 1.051/1.051, 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.004117/0.004117, allocations: 0.8185 MB / 276.5 MB, free: 0.7539 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.668/1.668, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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.272e-06/1.272e-06, allocations: 0 / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.65e-05, allocations: 6.312 kB / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00121/0.001227, allocations: 0.6932 MB / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.002581, allocations: 1.353 MB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.0026, allocations: 0 / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.002612, allocations: 0 / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.204e-05/0.002634, allocations: 7.938 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.002909, allocations: 71.61 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.934e-05/0.002959, allocations: 23.97 kB / 0.6401 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.002992, allocations: 0 / 0.6401 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.798e-05/0.00303, allocations: 19.92 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.003093, allocations: 11.97 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.003103, allocations: 0 / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.003329, allocations: 119.8 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.003341, allocations: 8 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.003357, allocations: 19.91 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.003478, allocations: 83.77 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00348, allocations: 0 / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003481, allocations: 0 / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003484, allocations: 0 / 0.6403 GB, free: 11.59 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.0002695/0.003754, allocations: 256.4 kB / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.003784, allocations: 11.98 kB / 0.6406 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.00381, allocations: 8.938 kB / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.945e-05/0.00388, allocations: 105.8 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.00389, allocations: 8.359 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.003907, allocations: 8.375 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.339e-05/0.003981, allocations: 71.94 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.003989, allocations: 4.516 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.003996, allocations: 384 / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.004002, allocations: 11.88 kB / 0.6408 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.689e-05/0.004038, allocations: 15.98 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.63e-05/0.004115, allocations: 65 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.247e-05/0.004187, allocations: 54.56 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.004205, allocations: 16.84 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.004347, allocations: 43.97 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.004368, allocations: 30.56 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 7.81e-07/0.004369, allocations: 0 / 0.641 GB, free: 10.8 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.009655/0.01402, allocations: 4.701 MB / 0.6456 GB, free: 5.988 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.01405, allocations: 55.41 kB / 0.6456 GB, free: 5.922 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.01417, allocations: 94.72 kB / 0.6457 GB, free: 5.816 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.01422, allocations: 25.7 kB / 0.6458 GB, free: 5.785 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.089e-05/0.01424, allocations: 84.27 kB / 0.6458 GB, free: 5.699 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 7.967e-05/0.01432, allocations: 63.47 kB / 0.6459 GB, free: 5.637 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.01446, allocations: 45.66 kB / 0.6459 GB, free: 5.586 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.01453, allocations: 318.8 kB / 0.6462 GB, free: 5.266 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.01477, allocations: 312 kB / 0.6465 GB, free: 4.961 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.01502, allocations: 316 kB / 0.6468 GB, free: 4.652 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009269/0.01595, allocations: 0.7974 MB / 0.6476 GB, free: 3.852 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01595, allocations: 4 kB / 0.6476 GB, free: 3.848 MB / 0.6043 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007361/0.01669, allocations: 0.744 MB / 0.6484 GB, free: 3.098 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.0167, allocations: 8.094 kB / 0.6484 GB, free: 3.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01671, allocations: 0 / 0.6484 GB, free: 3.09 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.01672, allocations: 11.98 kB / 0.6484 GB, free: 3.078 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.01709, allocations: 51.92 kB / 0.6484 GB, free: 3.027 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.01709, allocations: 0 / 0.6484 GB, free: 3.027 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.01727, allocations: 8 kB / 0.6484 GB, free: 3.02 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.01731, allocations: 11.97 kB / 0.6484 GB, free: 3.008 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.0001237/0.01744, allocations: 117.8 kB / 0.6486 GB, free: 2.883 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.01751, allocations: 11.92 kB / 0.6486 GB, free: 2.871 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.01884, allocations: 0.9699 MB / 0.6495 GB, free: 1.895 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.01885, allocations: 4 kB / 0.6495 GB, free: 1.891 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01885, allocations: 0 / 0.6495 GB, free: 1.891 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01885, allocations: 3.984 kB / 0.6495 GB, free: 1.887 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.02002, allocations: 0.9723 MB / 0.6505 GB, free: 0.8867 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.02003, allocations: 3.984 kB / 0.6505 GB, free: 0.8828 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.0204, allocations: 67.91 kB / 0.6505 GB, free: 0.8164 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.02041, allocations: 8.031 kB / 0.6505 GB, free: 0.8086 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.02044, allocations: 8 kB / 0.6506 GB, free: 0.8008 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.02045, allocations: 4 kB / 0.6506 GB, free: 0.7969 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.02045, allocations: 3.984 kB / 0.6506 GB, free: 0.793 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.02169, allocations: 0.8651 MB / 0.6514 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.02171, allocations: 19.83 kB / 0.6514 GB, free: 15.89 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.02176, allocations: 8 kB / 0.6514 GB, free: 15.88 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.02195, allocations: 16 kB / 0.6514 GB, free: 15.86 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.074e-05/0.02204, allocations: 23.89 kB / 0.6515 GB, free: 15.84 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.02208, allocations: 8 kB / 0.6515 GB, free: 15.83 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 1.088e-05/0.02209, allocations: 12.88 kB / 0.6515 GB, free: 15.82 MB / 0.6199 GB Notification: Performance of sort global known variables: time 6e-08/0.02209, allocations: 0 / 0.6515 GB, free: 15.82 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0003703/0.02246, allocations: 179.7 kB / 0.6517 GB, free: 15.64 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.0003695/0.02283, allocations: 243.8 kB / 0.6519 GB, free: 15.39 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0007057/0.02353, allocations: 0.567 MB / 0.6524 GB, free: 14.82 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.02354, allocations: 0 / 0.6524 GB, free: 14.82 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.02379, allocations: 272.9 kB / 0.6527 GB, free: 14.55 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.02397, allocations: 19.92 kB / 0.6527 GB, free: 14.53 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.02545, allocations: 0.518 MB / 0.6532 GB, free: 13.98 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.892e-05/0.02551, allocations: 73.34 kB / 0.6533 GB, free: 13.89 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.000646/0.02615, allocations: 298.4 kB / 0.6536 GB, free: 13.6 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/0.02669, allocations: 91.33 kB / 0.6537 GB, free: 13.51 MB / 0.6199 GB Notification: Performance of SimCode: time 1.172e-06/0.02669, allocations: 0 / 0.6537 GB, free: 13.51 MB / 0.6199 GB Notification: Performance of Templates: time 0.01247/0.03916, allocations: 12.91 MB / 0.6663 GB, free: 0.5234 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5019880761392415]