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.001106/0.001106, allocations: 72.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00159/0.002697, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001092/0.001092, allocations: 157.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.00246, allocations: 467.6 kB / 11.69 MB, free: 2.477 MB / 13.93 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.9225/0.9225, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08562/1.008, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.03566/0.03566, allocations: 9.175 MB / 253.1 MB, free: 6.09 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005991/0.04165, allocations: 3.437 MB / 256.6 MB, free: 2.648 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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.453e-06/1.453e-06, allocations: 0 / 257.8 MB, free: 1.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.102e-05, allocations: 9.484 kB / 257.9 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.00262/0.002641, allocations: 2.492 MB / 260.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002258/0.002867, allocations: 151.5 kB / 260.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.002925, allocations: 3.938 kB / 260.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.705e-05/0.003012, allocations: 31.72 kB / 260.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.847e-05/0.00307, allocations: 11.88 kB / 260.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.003237, allocations: 51.81 kB / 260.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.003387, allocations: 71.78 kB / 260.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.773e-05/0.003464, allocations: 11.98 kB / 260.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.003532, allocations: 43.89 kB / 260.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.003593, allocations: 19.92 kB / 260.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.003615, allocations: 4 kB / 260.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.753e-05/0.003693, allocations: 35.91 kB / 260.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.003723, allocations: 8 kB / 260.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.00375, allocations: 15.94 kB / 260.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.003898, allocations: 79.62 kB / 260.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.003911, allocations: 4 kB / 260.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003911, allocations: 0 / 260.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.003925, allocations: 0 / 260.9 MB, free: 14.33 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.0003544/0.004279, allocations: 343.7 kB / 261.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.004314, allocations: 12.62 kB / 261.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.004352, allocations: 4.938 kB / 261.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.004522, allocations: 141.6 kB / 261.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.004534, allocations: 4.375 kB / 261.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.004543, allocations: 8.375 kB / 261.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.00475, allocations: 199.2 kB / 261.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.004758, allocations: 192 / 261.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.004769, allocations: 8.375 kB / 261.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.004789, allocations: 384 / 261.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.004834, allocations: 75.27 kB / 261.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.005036, allocations: 177.1 kB / 261.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.005186, allocations: 123.2 kB / 262 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.005227, allocations: 73.19 kB / 262 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.004e-05/0.005277, allocations: 8 kB / 262 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.005296, allocations: 34.56 kB / 262.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/0.005298, allocations: 3.984 kB / 262.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001682/0.005466, allocations: 239.9 kB / 262.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.005509, allocations: 77.11 kB / 262.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.005573, allocations: 126.7 kB / 262.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.005584, allocations: 25.7 kB / 262.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.348e-05/0.005617, allocations: 96.11 kB / 262.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.026e-06/0.005626, allocations: 11.94 kB / 262.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.005652, allocations: 21.66 kB / 262.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.00572, allocations: 318.8 kB / 263 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.909e-05/0.005749, allocations: 63.47 kB / 263 MB, free: 11.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.005779, allocations: 69.11 kB / 263.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.807e-05/0.005838, allocations: 132.5 kB / 263.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.00584, allocations: 4 kB / 263.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.988e-05/0.00592, allocations: 156.4 kB / 263.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.005961, allocations: 67.47 kB / 263.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.005966, allocations: 0 / 263.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.005975, allocations: 3.938 kB / 263.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-05/0.006002, allocations: 4 kB / 263.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.006005, allocations: 3.984 kB / 263.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.006024, allocations: 0 / 263.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.006032, allocations: 4 kB / 263.5 MB, free: 11.36 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 8.177e-05/0.006114, allocations: 168 kB / 263.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.00616, allocations: 53.62 kB / 263.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.006185, allocations: 16.11 kB / 263.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.00619, allocations: 3.938 kB / 263.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006191, allocations: 4 kB / 263.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006194, allocations: 0 / 263.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.185e-05/0.006276, allocations: 81.83 kB / 263.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.006278, allocations: 3.938 kB / 263.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.006312, allocations: 8 kB / 263.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.00632, allocations: 7.953 kB / 263.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.006322, allocations: 0 / 263.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.006328, allocations: 0 / 263.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.006331, allocations: 7.922 kB / 263.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006332, allocations: 4 kB / 263.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.006455, allocations: 267.1 kB / 264.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.006468, allocations: 4 kB / 264.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.912e-05/0.006497, allocations: 4.062 kB / 264.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.006515, allocations: 7.938 kB / 264.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.00652, allocations: 4 kB / 264.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.058e-05/0.006541, allocations: 24.83 kB / 264.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006541, allocations: 0 / 264.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000144/0.006685, allocations: 19.94 kB / 264.1 MB, free: 10.59 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.0005542/0.007239, allocations: 331 kB / 264.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.007391, allocations: 254.4 kB / 264.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.007395, allocations: 0 / 264.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.417e-05/0.00745, allocations: 179.1 kB / 264.9 MB, free: 9.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.007603, allocations: 28.27 kB / 264.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.007997, allocations: 231.2 kB / 265.1 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.008032, allocations: 63.34 kB / 265.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.537e-05/0.008077, allocations: 8.172 kB / 265.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.008145, allocations: 79.3 kB / 265.3 MB, free: 9.391 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.008146, allocations: 0 / 265.3 MB, free: 9.391 MB / 266.7 MB Notification: Performance of Templates: time 0.002897/0.01104, allocations: 1.392 MB / 266.7 MB, free: 8 MB / 266.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.461910115554929]