Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep.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.04362/0.04362, allocations: 9.13 MB / 28.99 MB, free: 0.8125 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.0009901/0.0009901, allocations: 87.28 kB / 35.33 MB, free: 1.074 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.001242/0.001242, allocations: 166.7 kB / 38.73 MB, free: 2.508 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.028/1.028, allocations: 177.2 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.004152/0.004152, 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.672/1.672, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep") translateModel(AixLib.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.143e-05, allocations: 2.312 kB / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.RegStep): time 0.001503/0.001524, allocations: 0.666 MB / 0.6386 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.000223/0.001747, allocations: 43.81 kB / 0.6387 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.492e-05/0.001762, allocations: 0 / 0.6387 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.001774, allocations: 4 kB / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.972e-06/0.00178, allocations: 4 kB / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.00197, allocations: 11.92 kB / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.167e-05/0.002011, allocations: 4 kB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.002048, allocations: 3.984 kB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.84e-05/0.002076, allocations: 4 kB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.209e-05/0.002099, allocations: 0 / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.002109, allocations: 0 / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.002222, allocations: 23.97 kB / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.002232, allocations: 0 / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.03e-05/0.002242, allocations: 0 / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.772e-05/0.00232, allocations: 23.97 kB / 0.6387 GB, free: 13.24 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002322, allocations: 0 / 0.6387 GB, free: 13.24 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.172e-06/0.002323, allocations: 0 / 0.6387 GB, free: 13.24 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.002327, allocations: 3.938 kB / 0.6387 GB, free: 13.23 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001988/0.002526, allocations: 208.7 kB / 0.6389 GB, free: 13 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.002567, allocations: 11.98 kB / 0.6389 GB, free: 12.99 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.002772, allocations: 20.91 kB / 0.639 GB, free: 12.97 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.966e-05/0.002842, allocations: 105.8 kB / 0.6391 GB, free: 12.84 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.00285, allocations: 384 / 0.6391 GB, free: 12.84 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-06/0.002855, allocations: 4.375 kB / 0.6391 GB, free: 12.84 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.002962, allocations: 50.89 kB / 0.6391 GB, free: 12.78 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.00297, allocations: 192 / 0.6391 GB, free: 12.78 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.002979, allocations: 4.375 kB / 0.6391 GB, free: 12.78 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.002986, allocations: 384 / 0.6391 GB, free: 12.78 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.003002, allocations: 7.938 kB / 0.6391 GB, free: 12.77 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.024e-05/0.003082, allocations: 61.03 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.769e-05/0.00312, allocations: 14.58 kB / 0.6392 GB, free: 12.67 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.003132, allocations: 4.859 kB / 0.6392 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.003148, allocations: 12.03 kB / 0.6392 GB, free: 12.65 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.00317, allocations: 30.56 kB / 0.6392 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.003171, allocations: 0 / 0.6392 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 9.384e-05/0.003265, allocations: 29.7 kB / 0.6393 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.003295, allocations: 55.39 kB / 0.6393 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.611e-05/0.003321, allocations: 89.86 kB / 0.6394 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.003331, allocations: 25.7 kB / 0.6394 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.003349, allocations: 84.14 kB / 0.6395 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.003374, allocations: 0 / 0.6395 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.003398, allocations: 17.84 kB / 0.6395 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.359e-05/0.003471, allocations: 318.8 kB / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.003482, allocations: 0 / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-06/0.00349, allocations: 3.938 kB / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.573e-05/0.003515, allocations: 12.84 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.003517, allocations: 0 / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.935e-05/0.003556, allocations: 29.7 kB / 0.6399 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.003566, allocations: 8 kB / 0.6399 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.00357, allocations: 96 / 0.6399 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.003581, allocations: 4 kB / 0.6399 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/0.00363, allocations: 3.984 kB / 0.6399 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.003634, allocations: 7.938 kB / 0.6399 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.003647, allocations: 4 kB / 0.6399 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.003651, allocations: 0 / 0.6399 GB, free: 11.87 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 (1): * Single equations (assignments): 1 * 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 5.043e-05/0.003701, allocations: 117.7 kB / 0.64 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-06/0.003707, allocations: 4 kB / 0.64 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.003726, allocations: 6.984 kB / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.003727, allocations: 0 / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.003728, allocations: 4 kB / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.003731, allocations: 0 / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.404e-05/0.003775, allocations: 69.83 kB / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.003776, allocations: 0 / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.003787, allocations: 0 / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.003789, allocations: 0 / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-06/0.003793, allocations: 0 / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.003793, allocations: 4 kB / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.003794, allocations: 0 / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.988e-05/0.003844, allocations: 61.06 kB / 0.6402 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-06/0.003849, allocations: 11.97 kB / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-06/0.003855, allocations: 0 / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-06/0.003863, allocations: 0 / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-06/0.003873, allocations: 3.938 kB / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.003875, allocations: 0 / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.305e-06/0.003883, allocations: 12.86 kB / 0.6402 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.003883, allocations: 0 / 0.6402 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of remove unused functions: time 8.883e-05/0.003972, allocations: 3.984 kB / 0.6402 GB, free: 11.53 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 (1): * Single equations (assignments): 1 * 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 7.198e-05/0.004044, allocations: 72.42 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.747e-05/0.004091, allocations: 12.86 kB / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.004093, allocations: 0 / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 8.446e-06/0.004101, allocations: 8.859 kB / 0.6403 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.034e-05/0.004152, allocations: 3.938 kB / 0.6403 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001415/0.004293, allocations: 82.77 kB / 0.6404 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.973e-05/0.004323, allocations: 59.22 kB / 0.6404 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.071e-05/0.004344, allocations: 4.125 kB / 0.6404 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.004376, allocations: 51.31 kB / 0.6405 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of SimCode: time 4.6e-07/0.004376, allocations: 0 / 0.6405 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of Templates: time 0.001483/0.005859, allocations: 285.6 kB / 0.6408 GB, free: 10.9 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.334903991781175]