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.0009393/0.0009393, allocations: 81.08 kB / 20.7 MB, free: 3.801 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.001227/0.001227, allocations: 174 kB / 24.1 MB, free: 412 kB / 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.9938/0.9938, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.03577/0.03577, allocations: 9.145 MB / 270.2 MB, free: 4.102 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.343e-06/1.343e-06, allocations: 0 / 343 MB, free: 7.027 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.23e-05, allocations: 2.312 kB / 343 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002174/0.002196, allocations: 2.412 MB / 345.4 MB, free: 4.598 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002083/0.002404, allocations: 147.4 kB / 345.6 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.519e-05/0.00247, allocations: 3.938 kB / 345.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.002606, allocations: 23.8 kB / 345.6 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.006e-05/0.002686, allocations: 7.875 kB / 345.6 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.002863, allocations: 55.81 kB / 345.6 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.002979, allocations: 71.77 kB / 345.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.003065, allocations: 11.98 kB / 345.7 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.003116, allocations: 35.91 kB / 345.8 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.00317, allocations: 23.91 kB / 345.8 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.00319, allocations: 12 kB / 345.8 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.77e-05/0.003248, allocations: 27.92 kB / 345.8 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.003275, allocations: 11.94 kB / 345.8 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.003301, allocations: 19.97 kB / 345.9 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.003428, allocations: 83.62 kB / 345.9 MB, free: 4.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.00343, allocations: 3.984 kB / 345.9 MB, free: 4.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.00343, allocations: 0 / 345.9 MB, free: 4.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.003434, allocations: 0 / 345.9 MB, free: 4.066 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.0002514/0.003685, allocations: 463.7 kB / 346.4 MB, free: 3.562 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.003716, allocations: 8.031 kB / 346.4 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.003748, allocations: 12.89 kB / 346.4 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.003855, allocations: 148.5 kB / 346.6 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.003863, allocations: 384 / 346.6 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.003873, allocations: 16.3 kB / 346.6 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.004027, allocations: 193 kB / 346.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.004033, allocations: 192 / 346.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.00404, allocations: 4.375 kB / 346.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.004058, allocations: 8.359 kB / 346.8 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.004082, allocations: 79.22 kB / 346.8 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.004251, allocations: 260.1 kB / 347.1 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.004369, allocations: 133.6 kB / 347.2 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.004397, allocations: 90.83 kB / 347.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.004441, allocations: 4 kB / 347.3 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.004456, allocations: 45.38 kB / 347.4 MB, free: 2.406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.004456, allocations: 0 / 347.4 MB, free: 2.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.000154/0.00461, allocations: 247.7 kB / 347.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.004635, allocations: 136.5 kB / 347.7 MB, free: 1.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.85e-05/0.004683, allocations: 181.9 kB / 347.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.004689, allocations: 25.7 kB / 347.9 MB, free: 1.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.004719, allocations: 138.9 kB / 348.1 MB, free: 1.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.326e-06/0.004727, allocations: 15.84 kB / 348.1 MB, free: 1.574 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.00475, allocations: 27.36 kB / 348.1 MB, free: 1.539 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.357e-05/0.004784, allocations: 496.1 kB / 348.6 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.0048, allocations: 55.41 kB / 348.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.999e-05/0.00482, allocations: 82.7 kB / 348.7 MB, free: 0.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/0.004855, allocations: 134.2 kB / 348.9 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004856, allocations: 4 kB / 348.9 MB, free: 0.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.137e-05/0.004928, allocations: 168.4 kB / 349 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.004948, allocations: 59.41 kB / 349.1 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.004953, allocations: 3.938 kB / 349.1 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.004963, allocations: 4 kB / 349.1 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.946e-05/0.004983, allocations: 0 / 349.1 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.004985, allocations: 3.984 kB / 349.1 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.005002, allocations: 7.953 kB / 349.1 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.005007, allocations: 0 / 349.1 MB, free: 432 kB / 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.526e-05/0.005063, allocations: 216 kB / 349.3 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.005103, allocations: 65.64 kB / 349.4 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.005126, allocations: 12.06 kB / 349.4 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.005128, allocations: 0 / 349.4 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005129, allocations: 0 / 349.4 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.005132, allocations: 4 kB / 349.4 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.883e-05/0.005221, allocations: 109.6 kB / 349.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005222, allocations: 0 / 349.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.005245, allocations: 15.98 kB / 349.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.005246, allocations: 0 / 349.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.005253, allocations: 4 kB / 349.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.005254, allocations: 0 / 349.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.005255, allocations: 7.938 kB / 349.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.005404, allocations: 338.5 kB / 349.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-06/0.005414, allocations: 7.922 kB / 349.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.005425, allocations: 4 kB / 349.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.069e-05/0.005456, allocations: 4 kB / 349.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.005473, allocations: 7.938 kB / 349.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.005479, allocations: 4 kB / 349.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.967e-05/0.005518, allocations: 131.2 kB / 350 MB, free: 15.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005518, allocations: 0 / 350 MB, free: 15.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.005675, allocations: 23.94 kB / 350.1 MB, free: 15.38 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.0004743/0.006149, allocations: 277.3 kB / 350.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.006294, allocations: 249.2 kB / 350.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.006296, allocations: 4 kB / 350.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.746e-05/0.006354, allocations: 177.9 kB / 350.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.006533, allocations: 27.86 kB / 350.8 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.006815, allocations: 239.5 kB / 351 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.201e-05/0.006857, allocations: 67.33 kB / 351.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.772e-05/0.006895, allocations: 8 kB / 351.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.006972, allocations: 102.3 kB / 351.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.006973, allocations: 0 / 351.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of Templates: time 0.002839/0.009812, allocations: 1.366 MB / 352.5 MB, free: 12.81 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.6345362379215658]