Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.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.04114/0.04114, allocations: 9.136 MB / 29 MB, free: 0.7891 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.0007177/0.0007177, allocations: 99.08 kB / 35.33 MB, free: 1.051 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.0009478/0.0009478, allocations: 165.4 kB / 38.73 MB, free: 2.492 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.057/1.057, 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.00433/0.00433, allocations: 0.8257 MB / 276.5 MB, free: 0.75 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.653/1.653, 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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothExponential") translateModel(AixLib.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothExponential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.251e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothExponential): time 0.001609/0.001621, allocations: 1.51 MB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003289/0.00195, allocations: 191.3 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.00198, allocations: 0 / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.002004, allocations: 0 / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.217e-05/0.002046, allocations: 7.875 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.002271, allocations: 39.83 kB / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.494e-05/0.002325, allocations: 31.92 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.267e-05/0.002388, allocations: 0 / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.883e-05/0.002437, allocations: 11.98 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.111e-05/0.002468, allocations: 11.98 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.002482, allocations: 7.984 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.526e-05/0.002547, allocations: 27.97 kB / 0.6397 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.002561, allocations: 7.938 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.193e-05/0.002573, allocations: 4 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.135e-05/0.002664, allocations: 43.86 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.002666, allocations: 0 / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.6e-07/0.002666, allocations: 4 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.655e-06/0.002669, allocations: 4 kB / 0.6397 GB, free: 12.22 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000241/0.00291, allocations: 232.9 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.002938, allocations: 11.98 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/0.002959, allocations: 12.81 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.985e-05/0.003029, allocations: 109.8 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.003037, allocations: 384 / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.003046, allocations: 384 / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.961e-05/0.003125, allocations: 50.95 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.481e-06/0.003131, allocations: 192 / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.003137, allocations: 384 / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.003141, allocations: 4.375 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.003161, allocations: 15.92 kB / 0.6401 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.00332, allocations: 144.2 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.335e-05/0.003354, allocations: 18.58 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/0.003366, allocations: 12.95 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.003562, allocations: 59.95 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.003585, allocations: 34.56 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.003586, allocations: 0 / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 9.077e-05/0.003677, allocations: 41.62 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.003703, allocations: 55.34 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.829e-05/0.003751, allocations: 102.7 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.003759, allocations: 25.7 kB / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.003782, allocations: 84.14 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.003799, allocations: 20 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/0.003819, allocations: 17.7 kB / 0.6407 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.003889, allocations: 310.8 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-06/0.003897, allocations: 4 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-06/0.003903, allocations: 0 / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.829e-05/0.003922, allocations: 12.84 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.003923, allocations: 0 / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.335e-05/0.003957, allocations: 37.64 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.003965, allocations: 4 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.003969, allocations: 8.078 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.003982, allocations: 4 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.118e-05/0.004023, allocations: 11.92 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.004025, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.274e-05/0.004038, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.004043, allocations: 4 kB / 0.6411 GB, free: 10.64 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 (2): * Single equations (assignments): 2 * 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 4.182e-05/0.004085, allocations: 105.8 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.004097, allocations: 7.938 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.004153, allocations: 48.92 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.004155, allocations: 3.984 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.004157, allocations: 8.219 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.00416, allocations: 0 / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.603e-05/0.004236, allocations: 73.84 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.004237, allocations: 4 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.004252, allocations: 7.984 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.004253, allocations: 0 / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-06/0.004257, allocations: 0 / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004257, allocations: 0 / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.004258, allocations: 0 / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.277e-05/0.004321, allocations: 135.5 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.004327, allocations: 8.031 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.303e-06/0.004334, allocations: 0 / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.738e-05/0.004362, allocations: 4 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.004388, allocations: 3.984 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.00439, allocations: 3.938 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.199e-05/0.004402, allocations: 12.8 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004402, allocations: 0 / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001247/0.004526, allocations: 8 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001043/0.004631, allocations: 96.34 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.921e-05/0.00468, allocations: 12.86 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.004682, allocations: 0 / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/0.004694, allocations: 12.84 kB / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.004811, allocations: 7.938 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.004994, allocations: 104.8 kB / 0.6417 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.851e-05/0.005023, allocations: 55.34 kB / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.39e-05/0.005037, allocations: 4 kB / 0.6418 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.005068, allocations: 51.5 kB / 0.6418 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of SimCode: time 3.1e-07/0.005068, allocations: 0 / 0.6418 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of Templates: time 0.001833/0.006901, allocations: 0.624 MB / 0.6425 GB, free: 9.145 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.sim & ./AixLib_AixLib.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.353873656131327]