Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.05334/0.05334, allocations: 9.128 MB / 28.99 MB, free: 344 kB / 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.001032/0.001032, allocations: 91.27 kB / 35.33 MB, free: 0.9375 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.001287/0.001287, allocations: 169.9 kB / 38.73 MB, free: 2.402 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.005/1.005, 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.00427/0.00427, allocations: 0.8292 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.742/1.742, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.638 GB, free: 14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.024e-05, allocations: 2.312 kB / 0.638 GB, free: 14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001517/0.001537, allocations: 0.6816 MB / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003055/0.001842, allocations: 147.5 kB / 0.6388 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.001863, allocations: 0 / 0.6388 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.001875, allocations: 0 / 0.6388 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.103e-05/0.001896, allocations: 0 / 0.6388 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.002133, allocations: 43.83 kB / 0.6388 GB, free: 13.13 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.3e-05/0.002176, allocations: 15.86 kB / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.00221, allocations: 4 kB / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.355e-05/0.002244, allocations: 15.97 kB / 0.6389 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.002303, allocations: 4 kB / 0.6389 GB, free: 13.09 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.002315, allocations: 0 / 0.6389 GB, free: 13.09 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.022e-05/0.002406, allocations: 35.95 kB / 0.6389 GB, free: 13.06 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.002419, allocations: 4 kB / 0.6389 GB, free: 13.05 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.37e-05/0.002433, allocations: 11.92 kB / 0.6389 GB, free: 13.04 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.692e-05/0.00252, allocations: 35.88 kB / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002522, allocations: 0 / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.363e-06/0.002523, allocations: 8 kB / 0.6389 GB, free: 13 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.002526, allocations: 0 / 0.6389 GB, free: 13 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002839/0.00281, allocations: 224.6 kB / 0.6392 GB, free: 12.75 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.002848, allocations: 15.98 kB / 0.6392 GB, free: 12.74 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.002878, allocations: 4.922 kB / 0.6392 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.223e-05/0.002971, allocations: 105.8 kB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.00298, allocations: 384 / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.003012, allocations: 4.375 kB / 0.6393 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.383e-05/0.003106, allocations: 67.89 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.003116, allocations: 4.188 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.003123, allocations: 4.375 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.003129, allocations: 384 / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.683e-05/0.003156, allocations: 11.92 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.003268, allocations: 65.05 kB / 0.6394 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/0.003345, allocations: 34.55 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.003365, allocations: 13.05 kB / 0.6395 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.003647, allocations: 71.94 kB / 0.6395 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.003672, allocations: 34.5 kB / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.003674, allocations: 0 / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0008609/0.004535, allocations: 403.5 kB / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.004563, allocations: 51.41 kB / 0.64 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.004629, allocations: 110.6 kB / 0.6401 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.004644, allocations: 29.7 kB / 0.6401 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.542e-05/0.00467, allocations: 80.14 kB / 0.6402 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.004701, allocations: 23.75 kB / 0.6402 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.00474, allocations: 25.69 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.004827, allocations: 318.8 kB / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.004842, allocations: 7.984 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.333e-05/0.004855, allocations: 4 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/0.004903, allocations: 33.05 kB / 0.6406 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.004904, allocations: 0 / 0.6406 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.568e-05/0.00499, allocations: 57.81 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.005003, allocations: 4 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.005008, allocations: 0 / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.005021, allocations: 3.938 kB / 0.6407 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.005086, allocations: 15.98 kB / 0.6407 GB, free: 11 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.005089, allocations: 0 / 0.6407 GB, free: 11 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.005108, allocations: 7.938 kB / 0.6407 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.005113, allocations: 0 / 0.6407 GB, free: 10.99 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 (8): * Single equations (assignments): 8 * 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.085e-05/0.005174, allocations: 109.8 kB / 0.6408 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.005188, allocations: 11.97 kB / 0.6408 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.005302, allocations: 73.75 kB / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.005303, allocations: 0 / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.005306, allocations: 4 kB / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.00531, allocations: 0 / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.843e-05/0.005388, allocations: 73.84 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.005391, allocations: 3.984 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.005444, allocations: 12 kB / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.005447, allocations: 4 kB / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.005453, allocations: 0 / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.005454, allocations: 0 / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.005455, allocations: 4 kB / 0.641 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.005573, allocations: 101 kB / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.005581, allocations: 4 kB / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.005591, allocations: 0 / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.005613, allocations: 7.938 kB / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.00563, allocations: 7.984 kB / 0.6411 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.005635, allocations: 0 / 0.6411 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.285e-06/0.005643, allocations: 4.859 kB / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.005643, allocations: 0 / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001978/0.005841, allocations: 27.94 kB / 0.6411 GB, free: 10.49 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0001706/0.006012, allocations: 124.4 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.453e-05/0.006086, allocations: 32.78 kB / 0.6413 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.00609, allocations: 4 kB / 0.6413 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.006112, allocations: 20.86 kB / 0.6413 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.521e-05/0.006187, allocations: 11.92 kB / 0.6413 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.006426, allocations: 125.1 kB / 0.6414 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.332e-05/0.006459, allocations: 63.2 kB / 0.6415 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.494e-05/0.006494, allocations: 15.98 kB / 0.6415 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.006543, allocations: 59.38 kB / 0.6416 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of SimCode: time 4e-07/0.006544, allocations: 0 / 0.6416 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of Templates: time 0.002888/0.009431, allocations: 1.009 MB / 0.6426 GB, free: 8.969 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.399702534079552]