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.0008506/0.0008506, allocations: 79.36 kB / 20.47 MB, free: 4.105 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.0008508/0.0008508, allocations: 169 kB / 23.84 MB, free: 0.7305 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 0.9176/0.9176, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.03397/0.03397, allocations: 9.147 MB / 269.9 MB, free: 4.105 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.402e-06/1.402e-06, allocations: 0 / 342.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.442e-05, allocations: 5.266 kB / 342.5 MB, free: 7.309 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002086/0.002101, allocations: 2.413 MB / 344.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001897/0.002291, allocations: 139.5 kB / 345.1 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.002352, allocations: 4 kB / 345.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.002498, allocations: 31.72 kB / 345.1 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.178e-05/0.00259, allocations: 7.938 kB / 345.1 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.002768, allocations: 59.69 kB / 345.2 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.002891, allocations: 71.77 kB / 345.3 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.48e-05/0.002976, allocations: 12 kB / 345.3 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.878e-05/0.003025, allocations: 35.89 kB / 345.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.003071, allocations: 19.98 kB / 345.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.003092, allocations: 4 kB / 345.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.746e-05/0.00315, allocations: 35.91 kB / 345.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.003179, allocations: 11.94 kB / 345.4 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.003214, allocations: 23.92 kB / 345.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.003356, allocations: 75.73 kB / 345.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003357, allocations: 0 / 345.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003358, allocations: 0 / 345.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.003361, allocations: 0 / 345.5 MB, free: 4.355 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.0002992/0.00366, allocations: 467.6 kB / 345.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.003695, allocations: 12.03 kB / 345.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.003738, allocations: 16.89 kB / 346 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.003874, allocations: 148.4 kB / 346.1 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.003885, allocations: 8.375 kB / 346.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.003897, allocations: 4.375 kB / 346.1 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.004109, allocations: 204.9 kB / 346.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.004118, allocations: 192 / 346.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004127, allocations: 384 / 346.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.004149, allocations: 4.375 kB / 346.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.85e-05/0.004188, allocations: 75.33 kB / 346.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.004412, allocations: 283.5 kB / 346.7 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.004566, allocations: 137.6 kB / 346.8 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.004605, allocations: 90.83 kB / 346.9 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.949e-05/0.004665, allocations: 7.984 kB / 346.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.004681, allocations: 45.27 kB / 346.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.004681, allocations: 0 / 346.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001883/0.00487, allocations: 255.8 kB / 347.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.0049, allocations: 132.5 kB / 347.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.662e-05/0.004957, allocations: 181.9 kB / 347.5 MB, free: 2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.004964, allocations: 37.67 kB / 347.5 MB, free: 1.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.005, allocations: 134.9 kB / 347.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.368e-06/0.005009, allocations: 19.83 kB / 347.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.005034, allocations: 19.38 kB / 347.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.192e-05/0.005075, allocations: 0.4884 MB / 348.2 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.304e-05/0.005098, allocations: 59.39 kB / 348.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.005122, allocations: 74.78 kB / 348.3 MB, free: 1.109 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.005165, allocations: 142.1 kB / 348.5 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005167, allocations: 0 / 348.5 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.748e-05/0.005244, allocations: 164.6 kB / 348.6 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.005266, allocations: 71.33 kB / 348.7 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.00527, allocations: 0 / 348.7 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.005284, allocations: 3.938 kB / 348.7 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.598e-05/0.00531, allocations: 4 kB / 348.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.005313, allocations: 0 / 348.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.005333, allocations: 7.953 kB / 348.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.00534, allocations: 0 / 348.7 MB, free: 0.6484 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 5.593e-05/0.005396, allocations: 220 kB / 348.9 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.00544, allocations: 57.59 kB / 349 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.005466, allocations: 12.11 kB / 349 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.005468, allocations: 4 kB / 349 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.005471, allocations: 0 / 349 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.005474, allocations: 4 kB / 349 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.786e-05/0.005542, allocations: 124.6 kB / 349.1 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005543, allocations: 0 / 349.1 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.00556, allocations: 15.92 kB / 349.1 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.005562, allocations: 320 / 349.1 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.005571, allocations: 7.938 kB / 349.1 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.005572, allocations: 4 kB / 349.1 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005573, allocations: 0 / 349.1 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.005743, allocations: 354.4 kB / 349.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.005751, allocations: 11.89 kB / 349.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.005766, allocations: 7.938 kB / 349.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.672e-05/0.005792, allocations: 0 / 349.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.005814, allocations: 12.22 kB / 349.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.005819, allocations: 4 kB / 349.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.107e-05/0.00586, allocations: 143 kB / 349.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00586, allocations: 0 / 349.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.006027, allocations: 16 kB / 349.7 MB, free: 15.55 MB / 282.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.0004217/0.006448, allocations: 270.3 kB / 349.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.00661, allocations: 249.3 kB / 350.2 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006611, allocations: 0 / 350.2 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.271e-05/0.006674, allocations: 185.8 kB / 350.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.006861, allocations: 25.98 kB / 350.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.007121, allocations: 239.5 kB / 350.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.634e-05/0.007157, allocations: 67.34 kB / 350.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.007185, allocations: 11.98 kB / 350.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.007204, allocations: 12.5 kB / 350.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007204, allocations: 4.125 kB / 350.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of Templates: time 0.002625/0.009829, allocations: 1.319 MB / 352 MB, free: 13.11 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=240 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.737005999777466]