Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.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.04368/0.04368, allocations: 9.129 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.0008641/0.0008641, 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.001089/0.001089, 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.9566/0.9566, 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.007162/0.007162, allocations: 0.8225 MB / 276.5 MB, free: 0.7422 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.702/1.702, allocations: 274.9 MB / 0.5419 GB, free: 0.5742 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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside") translateModel(AixLib.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.437e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothHeaviside): time 0.001771/0.001785, allocations: 1.557 MB / 0.6394 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0005895/0.002374, allocations: 0.4946 MB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.002402, allocations: 0 / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.002425, allocations: 3.938 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.002482, allocations: 3.938 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.00263, allocations: 23.91 kB / 0.6399 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.178e-05/0.002682, allocations: 23.92 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.00274, allocations: 4 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.002806, allocations: 15.92 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.955e-05/0.002836, allocations: 11.98 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.002848, allocations: 4 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.11e-05/0.002909, allocations: 19.92 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.002922, allocations: 7.984 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.438e-05/0.002937, allocations: 11.94 kB / 0.64 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.943e-05/0.003016, allocations: 19.97 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003018, allocations: 0 / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003018, allocations: 0 / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.003021, allocations: 0 / 0.6401 GB, free: 11.8 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.0002361/0.003257, allocations: 240.9 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.003287, allocations: 11.98 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.00331, allocations: 8.875 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.456e-05/0.003374, allocations: 113.7 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.003382, allocations: 4.375 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-06/0.003387, allocations: 384 / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/0.003465, allocations: 54.95 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-06/0.00347, allocations: 192 / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.003476, allocations: 384 / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.00348, allocations: 7.875 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.003496, allocations: 4 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.00365, allocations: 148.2 kB / 0.6406 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.013e-05/0.00368, allocations: 22.58 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.003694, allocations: 16.89 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 5.855e-05/0.003752, allocations: 8.062 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.00377, allocations: 34.56 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.003771, allocations: 0 / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 8.275e-05/0.003854, allocations: 45.56 kB / 0.6407 GB, free: 11 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.003877, allocations: 51.41 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/0.003923, allocations: 106.7 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.00393, allocations: 25.7 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.003953, allocations: 84.12 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.003967, allocations: 7.953 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.003987, allocations: 17.84 kB / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.514e-05/0.004052, allocations: 314.8 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-06/0.004059, allocations: 4 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-06/0.004065, allocations: 0 / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.863e-05/0.004084, allocations: 12.84 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004085, allocations: 0 / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.552e-05/0.004121, allocations: 37.64 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.004129, allocations: 4 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004134, allocations: 8.234 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.004145, allocations: 8.031 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.835e-05/0.004194, allocations: 8 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.004197, allocations: 3.984 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.004213, allocations: 4 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-06/0.004215, allocations: 0 / 0.6414 GB, free: 10.26 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.076e-05/0.004256, allocations: 109.8 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.00427, allocations: 4 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.004322, allocations: 44.94 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.004324, allocations: 3.938 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.004326, allocations: 4.031 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.004328, allocations: 0 / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.433e-05/0.004402, allocations: 69.86 kB / 0.6416 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.004404, allocations: 3.984 kB / 0.6416 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.004421, allocations: 11.92 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.004422, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.004425, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.004426, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.004427, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.925e-05/0.004486, allocations: 139.5 kB / 0.6418 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.004492, allocations: 3.984 kB / 0.6418 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-06/0.004498, allocations: 4.031 kB / 0.6418 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.821e-05/0.004526, allocations: 4 kB / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.004549, allocations: 7.922 kB / 0.6418 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.00455, allocations: 3.938 kB / 0.6418 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.696e-06/0.004559, allocations: 8.859 kB / 0.6418 GB, free: 9.793 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.004559, allocations: 0 / 0.6418 GB, free: 9.793 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001197/0.004679, allocations: 11.94 kB / 0.6418 GB, free: 9.781 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 8.059e-05/0.004759, allocations: 80.41 kB / 0.6419 GB, free: 9.695 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.683e-05/0.004806, allocations: 16.86 kB / 0.6419 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.004808, allocations: 0 / 0.6419 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/0.00482, allocations: 8.859 kB / 0.6419 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.00494, allocations: 4 kB / 0.6419 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001814/0.005121, allocations: 112.6 kB / 0.642 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.259e-05/0.005154, allocations: 59.34 kB / 0.6421 GB, free: 9.445 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.005171, allocations: 4.188 kB / 0.6421 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.005213, allocations: 55.5 kB / 0.6422 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of SimCode: time 5.71e-07/0.005213, allocations: 0 / 0.6422 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of Templates: time 0.001816/0.007029, allocations: 0.6104 MB / 0.6427 GB, free: 8.777 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.sim & ./AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.35450196499005]