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.04218/0.04218, allocations: 9.131 MB / 28.99 MB, free: 0.8203 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.0007229/0.0007229, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.0009353/0.0009353, allocations: 164.8 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 0.9565/0.9565, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.004173/0.004173, allocations: 0.8217 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.707/1.707, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 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.904e-06/1.904e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.933e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothExponential): time 0.00403/0.00406, allocations: 1.55 MB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0004938/0.004554, allocations: 199.2 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.004595, allocations: 0 / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.004626, allocations: 0 / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.77e-05/0.004684, allocations: 7.938 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.004966, allocations: 35.83 kB / 0.6397 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.417e-05/0.00504, allocations: 27.92 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.005124, allocations: 3.938 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.005198, allocations: 15.98 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.248e-05/0.00524, allocations: 7.984 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.005261, allocations: 4 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.005393, allocations: 35.95 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.00541, allocations: 4 kB / 0.6398 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.005427, allocations: 7.938 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.005557, allocations: 51.86 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.005561, allocations: 0 / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.262e-06/0.005562, allocations: 0 / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.005567, allocations: 0 / 0.6398 GB, free: 12.12 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.0003362/0.005903, allocations: 232.9 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.005947, allocations: 15.98 kB / 0.64 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.005981, allocations: 4.922 kB / 0.64 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.006086, allocations: 109.8 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.006097, allocations: 384 / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.006106, allocations: 4.312 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.006236, allocations: 58.95 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.006244, allocations: 192 / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.006251, allocations: 384 / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.006259, allocations: 4.375 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.006288, allocations: 7.922 kB / 0.6402 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.006531, allocations: 136.3 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.317e-05/0.006584, allocations: 30.55 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.006609, allocations: 8.859 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003096/0.006918, allocations: 60.02 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.006949, allocations: 30.56 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.764e-06/0.006951, allocations: 3.938 kB / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001489/0.0071, allocations: 37.69 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.007136, allocations: 55.34 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.007358, allocations: 114.8 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.007372, allocations: 29.7 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.007407, allocations: 84.12 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.007428, allocations: 7.891 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.007462, allocations: 17.7 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.007572, allocations: 310.8 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.007587, allocations: 4 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/0.007598, allocations: 0 / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/0.007629, allocations: 12.84 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.007631, allocations: 64 / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.992e-05/0.007701, allocations: 37.7 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.007718, allocations: 4 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.007723, allocations: 7.938 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.007738, allocations: 0 / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.007807, allocations: 12.17 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.007811, allocations: 0 / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.007839, allocations: 12 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.007845, allocations: 0 / 0.6412 GB, free: 10.54 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 6.544e-05/0.007911, allocations: 105.8 kB / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.00794, allocations: 12.02 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.032e-05/0.00803, allocations: 37 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.008033, allocations: 0 / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.008037, allocations: 3.938 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.008039, allocations: 0 / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.008166, allocations: 73.84 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008168, allocations: 0 / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.313e-05/0.008211, allocations: 11.98 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.008214, allocations: 3.938 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.008219, allocations: 0 / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.00822, allocations: 4.031 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.008223, allocations: 3.984 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.983e-05/0.008323, allocations: 135.5 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.00833, allocations: 0 / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.008338, allocations: 3.938 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/0.0084, allocations: 4 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.008427, allocations: 3.984 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.008431, allocations: 0 / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.808e-05/0.008449, allocations: 12.8 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of sort global known variables: time 8e-08/0.00845, allocations: 0 / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002233/0.008673, allocations: 16.03 kB / 0.6416 GB, free: 10.06 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.0001683/0.008841, allocations: 92.34 kB / 0.6417 GB, free: 9.965 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.368e-05/0.008905, allocations: 16.78 kB / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.008908, allocations: 0 / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-05/0.008925, allocations: 8.859 kB / 0.6417 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.00911, allocations: 7.938 kB / 0.6417 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.009364, allocations: 101 kB / 0.6418 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.599e-05/0.00941, allocations: 63.34 kB / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.142e-05/0.009432, allocations: 0 / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.009477, allocations: 51.38 kB / 0.6419 GB, free: 9.668 MB / 0.6043 GB Notification: Performance of SimCode: time 6.91e-07/0.009478, allocations: 0 / 0.6419 GB, free: 9.668 MB / 0.6043 GB Notification: Performance of Templates: time 0.00252/0.012, allocations: 0.6164 MB / 0.6425 GB, free: 9.055 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.460584740154445]