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.0008986/0.0008986, allocations: 84.22 kB / 20.98 MB, free: 3.566 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.0008858/0.0008858, allocations: 165 kB / 24.29 MB, free: 268 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.9283/0.9283, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.03613/0.03613, allocations: 9.149 MB / 270.2 MB, free: 4.344 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.794e-06/1.794e-06, allocations: 4 kB / 342.5 MB, free: 7.652 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.678e-05, allocations: 6.25 kB / 342.5 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002105/0.002122, allocations: 2.413 MB / 344.9 MB, free: 5.215 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001959/0.002318, allocations: 139.5 kB / 345.1 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.002384, allocations: 0 / 345.1 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.002516, allocations: 27.72 kB / 345.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.346e-05/0.0026, allocations: 7.938 kB / 345.1 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.002784, allocations: 59.69 kB / 345.2 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.00292, allocations: 79.77 kB / 345.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.003004, allocations: 11.98 kB / 345.3 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/0.003052, allocations: 31.97 kB / 345.3 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.003099, allocations: 23.91 kB / 345.3 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.00312, allocations: 8 kB / 345.3 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.645e-05/0.003176, allocations: 27.92 kB / 345.4 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.003205, allocations: 15.92 kB / 345.4 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.003243, allocations: 15.94 kB / 345.4 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.003384, allocations: 83.72 kB / 345.5 MB, free: 4.691 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003386, allocations: 0 / 345.5 MB, free: 4.691 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003387, allocations: 0 / 345.5 MB, free: 4.691 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.00339, allocations: 4 kB / 345.5 MB, free: 4.688 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.0002801/0.00367, allocations: 463.6 kB / 345.9 MB, free: 4.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.003705, allocations: 8.031 kB / 345.9 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.003749, allocations: 12.89 kB / 345.9 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.0039, allocations: 148.4 kB / 346.1 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.00391, allocations: 4.375 kB / 346.1 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.003921, allocations: 4.375 kB / 346.1 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.004138, allocations: 219.9 kB / 346.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004146, allocations: 192 / 346.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.004155, allocations: 384 / 346.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.004179, allocations: 4.375 kB / 346.3 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.815e-05/0.004217, allocations: 75.33 kB / 346.4 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.004436, allocations: 275.5 kB / 346.7 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.004588, allocations: 133.6 kB / 346.8 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.004629, allocations: 90.83 kB / 346.9 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/0.004689, allocations: 8 kB / 346.9 MB, free: 3.051 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.004706, allocations: 49.27 kB / 346.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.004707, allocations: 0 / 346.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002087/0.004916, allocations: 255.8 kB / 347.2 MB, free: 2.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.004952, allocations: 140.5 kB / 347.3 MB, free: 2.531 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.897e-05/0.005011, allocations: 177.9 kB / 347.5 MB, free: 2.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.005017, allocations: 25.7 kB / 347.5 MB, free: 2.309 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.005049, allocations: 138.9 kB / 347.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.005059, allocations: 19.83 kB / 347.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.005084, allocations: 27.31 kB / 347.7 MB, free: 2.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.682e-05/0.005121, allocations: 0.4884 MB / 348.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.005142, allocations: 63.44 kB / 348.3 MB, free: 1.539 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-05/0.005166, allocations: 74.77 kB / 348.3 MB, free: 1.445 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.969e-05/0.005216, allocations: 142.1 kB / 348.5 MB, free: 1.273 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005218, allocations: 0 / 348.5 MB, free: 1.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.808e-05/0.005296, allocations: 164.5 kB / 348.6 MB, free: 1.082 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.005317, allocations: 67.34 kB / 348.7 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.00532, allocations: 0 / 348.7 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.005331, allocations: 0 / 348.7 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.911e-05/0.00536, allocations: 7.938 kB / 348.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.005364, allocations: 0 / 348.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.005384, allocations: 8.016 kB / 348.7 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.005391, allocations: 4 kB / 348.7 MB, free: 0.9844 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 4.763e-05/0.005438, allocations: 216 kB / 348.9 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.005486, allocations: 61.58 kB / 349 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.00551, allocations: 12.12 kB / 349 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.005512, allocations: 0 / 349 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.005515, allocations: 0 / 349 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.005518, allocations: 0 / 349 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.517e-05/0.005593, allocations: 128.6 kB / 349.1 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.005594, allocations: 0 / 349.1 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.005613, allocations: 19.94 kB / 349.1 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005615, allocations: 0 / 349.1 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.005623, allocations: 7.938 kB / 349.1 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.005624, allocations: 0 / 349.1 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.005625, allocations: 0 / 349.1 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.005743, allocations: 346.7 kB / 349.5 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.005751, allocations: 11.89 kB / 349.5 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.005766, allocations: 15.94 kB / 349.5 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.832e-05/0.005794, allocations: 3.984 kB / 349.5 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.005812, allocations: 4 kB / 349.5 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.005817, allocations: 0 / 349.5 MB, free: 60 kB / 266.7 MB Notification: Performance of sorting global known variables: time 5.661e-05/0.005874, allocations: 147.1 kB / 349.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.005874, allocations: 3.938 kB / 349.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000163/0.006037, allocations: 20 kB / 349.7 MB, free: 15.89 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.0004452/0.006482, allocations: 263.4 kB / 349.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.006671, allocations: 253.3 kB / 350.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.006672, allocations: 0 / 350.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.994e-05/0.006742, allocations: 185.8 kB / 350.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.006949, allocations: 21.44 kB / 350.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.007242, allocations: 243.7 kB / 350.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.007282, allocations: 63.34 kB / 350.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.055e-05/0.007313, allocations: 11.98 kB / 350.7 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.007329, allocations: 8.5 kB / 350.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.00733, allocations: 0 / 350.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of Templates: time 0.002821/0.01015, allocations: 1.313 MB / 352 MB, free: 13.47 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.6372574458364397]