Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.conf.json 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.001282/0.001282, allocations: 84.23 kB / 20.25 MB, free: 4.188 MB / 18.57 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.001391/0.001391, allocations: 157.7 kB / 23.56 MB, free: 0.8789 MB / 18.57 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.342/1.342, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.05814/0.05814, allocations: 9.153 MB / 269.5 MB, free: 4.277 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/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 master/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 master/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 master/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] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/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) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 3.938 kB / 341.8 MB, free: 7.676 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.235e-05, allocations: 9.125 kB / 341.8 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002793/0.002825, allocations: 2.363 MB / 344.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002626/0.003088, allocations: 139.5 kB / 344.3 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.324e-05/0.003161, allocations: 7.938 kB / 344.3 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.003331, allocations: 27.72 kB / 344.3 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.003446, allocations: 15.92 kB / 344.3 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.003663, allocations: 47.83 kB / 344.4 MB, free: 5.055 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.003806, allocations: 71.77 kB / 344.5 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.003905, allocations: 19.92 kB / 344.5 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.003964, allocations: 35.95 kB / 344.5 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.004022, allocations: 19.92 kB / 344.5 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.004045, allocations: 4 kB / 344.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-05/0.004114, allocations: 31.98 kB / 344.6 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.004147, allocations: 7.922 kB / 344.6 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.004195, allocations: 19.94 kB / 344.6 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.004367, allocations: 107.6 kB / 344.7 MB, free: 4.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.00437, allocations: 0 / 344.7 MB, free: 4.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.004372, allocations: 0 / 344.7 MB, free: 4.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.004376, allocations: 0 / 344.7 MB, free: 4.742 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003784/0.004755, allocations: 357.3 kB / 345 MB, free: 4.348 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.004791, allocations: 12.03 kB / 345.1 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.004851, allocations: 20.84 kB / 345.1 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.005057, allocations: 137.6 kB / 345.2 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.005072, allocations: 8.375 kB / 345.2 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.005085, allocations: 4.375 kB / 345.2 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.005382, allocations: 212.9 kB / 345.4 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.005391, allocations: 192 / 345.4 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.005405, allocations: 4.375 kB / 345.4 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.005422, allocations: 384 / 345.4 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.005492, allocations: 95.27 kB / 345.5 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.00572, allocations: 213.5 kB / 345.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.005907, allocations: 136.6 kB / 345.9 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.295e-05/0.00597, allocations: 93.16 kB / 346 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.235e-05/0.006033, allocations: 15.98 kB / 346 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.006045, allocations: 34.5 kB / 346 MB, free: 3.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.006046, allocations: 0 / 346 MB, free: 3.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.000318/0.006364, allocations: 291.9 kB / 346.3 MB, free: 2.895 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.006402, allocations: 132.5 kB / 346.4 MB, free: 2.734 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.006469, allocations: 121.8 kB / 346.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.006479, allocations: 29.7 kB / 346.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.006512, allocations: 96.11 kB / 346.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.006524, allocations: 15.84 kB / 346.7 MB, free: 2.457 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.006555, allocations: 17.75 kB / 346.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.092e-05/0.006596, allocations: 326.8 kB / 347 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.006635, allocations: 63.34 kB / 347.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.728e-05/0.006672, allocations: 85.09 kB / 347.2 MB, free: 1.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.208e-05/0.006734, allocations: 132.5 kB / 347.3 MB, free: 1.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.006735, allocations: 0 / 347.3 MB, free: 1.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001215/0.006857, allocations: 184.4 kB / 347.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.00688, allocations: 59.34 kB / 347.5 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.006884, allocations: 0 / 347.5 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.006896, allocations: 8.062 kB / 347.5 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.216e-05/0.006919, allocations: 0 / 347.5 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.006923, allocations: 0 / 347.5 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.006948, allocations: 7.953 kB / 347.6 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.006957, allocations: 3.984 kB / 347.6 MB, free: 1.469 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.147e-05/0.007019, allocations: 169.2 kB / 347.7 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.007102, allocations: 81.52 kB / 347.8 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.00713, allocations: 12.11 kB / 347.8 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.007132, allocations: 0 / 347.8 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.007135, allocations: 4 kB / 347.8 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.007138, allocations: 0 / 347.8 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.007238, allocations: 117.3 kB / 347.9 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007239, allocations: 0 / 347.9 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.007269, allocations: 11.98 kB / 347.9 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.00727, allocations: 0 / 347.9 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.007281, allocations: 7.938 kB / 348 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007282, allocations: 0 / 348 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007283, allocations: 320 / 348 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.007479, allocations: 319.1 kB / 348.3 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.007489, allocations: 15.94 kB / 348.3 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.007508, allocations: 7.938 kB / 348.3 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.007559, allocations: 4 kB / 348.3 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.007587, allocations: 4 kB / 348.3 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.007595, allocations: 8 kB / 348.3 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.005e-05/0.007625, allocations: 95.27 kB / 348.4 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007625, allocations: 3.938 kB / 348.4 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.00786, allocations: 19.94 kB / 348.4 MB, free: 0.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 2 * 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.0006459/0.008506, allocations: 259.1 kB / 348.7 MB, free: 316 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.008678, allocations: 261.5 kB / 348.9 MB, free: 4 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008679, allocations: 0 / 348.9 MB, free: 4 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.008849, allocations: 178.3 kB / 349.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.009152, allocations: 37.61 kB / 349.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.009579, allocations: 247.1 kB / 349.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.358e-05/0.009663, allocations: 79.58 kB / 349.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.051e-05/0.009703, allocations: 7.984 kB / 349.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.009727, allocations: 12.5 kB / 349.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.009728, allocations: 0 / 349.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of Templates: time 0.004289/0.01402, allocations: 1.309 MB / 350.8 MB, free: 14.06 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.997231628978625]