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.0008887/0.0008887, allocations: 82.64 kB / 21.48 MB, free: 3.02 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.000854/0.000854, allocations: 164.8 kB / 24.88 MB, free: 8.754 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.931/0.931, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.05624/0.05624, allocations: 9.14 MB / 271 MB, free: 4.137 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.673e-06/1.673e-06, allocations: 0 / 343.8 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.621e-05, allocations: 4.562 kB / 343.8 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002419/0.002446, allocations: 2.421 MB / 346.2 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002031/0.002649, allocations: 135.5 kB / 346.3 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.465e-05/0.002733, allocations: 4 kB / 346.3 MB, free: 4.477 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.002872, allocations: 31.67 kB / 346.4 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.00295, allocations: 3.984 kB / 346.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.003117, allocations: 59.69 kB / 346.4 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.003235, allocations: 75.77 kB / 346.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.315e-05/0.003318, allocations: 12 kB / 346.5 MB, free: 4.297 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.691e-05/0.003365, allocations: 31.91 kB / 346.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.003409, allocations: 27.95 kB / 346.6 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.003428, allocations: 4 kB / 346.6 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.241e-05/0.00348, allocations: 31.94 kB / 346.6 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.003509, allocations: 15.91 kB / 346.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.003535, allocations: 15.94 kB / 346.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.003655, allocations: 79.72 kB / 346.7 MB, free: 4.094 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.003658, allocations: 4 kB / 346.7 MB, free: 4.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.003659, allocations: 0 / 346.7 MB, free: 4.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.003663, allocations: 0 / 346.7 MB, free: 4.09 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.0002703/0.003933, allocations: 467.6 kB / 347.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.003961, allocations: 11.97 kB / 347.2 MB, free: 3.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.003996, allocations: 20.89 kB / 347.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.004119, allocations: 140.5 kB / 347.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.004129, allocations: 4.375 kB / 347.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.004138, allocations: 8.375 kB / 347.4 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.004303, allocations: 196.9 kB / 347.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.004312, allocations: 4.188 kB / 347.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.004319, allocations: 384 / 347.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.004339, allocations: 12.34 kB / 347.6 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.983e-05/0.004369, allocations: 79.33 kB / 347.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.004547, allocations: 256.1 kB / 347.9 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.004684, allocations: 129.6 kB / 348 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.004714, allocations: 82.84 kB / 348.1 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.004753, allocations: 7.938 kB / 348.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.004768, allocations: 41.38 kB / 348.1 MB, free: 2.434 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.004769, allocations: 0 / 348.1 MB, free: 2.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001572/0.004926, allocations: 251.7 kB / 348.4 MB, free: 2.145 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.004954, allocations: 136.5 kB / 348.5 MB, free: 1.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.832e-05/0.005002, allocations: 181.8 kB / 348.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.005008, allocations: 33.7 kB / 348.7 MB, free: 1.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.005038, allocations: 130.9 kB / 348.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.005046, allocations: 19.78 kB / 348.9 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.005068, allocations: 27.34 kB / 348.9 MB, free: 1.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.551e-05/0.005104, allocations: 496.1 kB / 349.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.005119, allocations: 55.41 kB / 349.4 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.00514, allocations: 82.75 kB / 349.5 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.575e-05/0.005176, allocations: 142.1 kB / 349.7 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.005177, allocations: 4 kB / 349.7 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.542e-05/0.005242, allocations: 164.4 kB / 349.8 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.005263, allocations: 55.41 kB / 349.9 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.005267, allocations: 7.938 kB / 349.9 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.005274, allocations: 0 / 349.9 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.687e-05/0.005291, allocations: 3.984 kB / 349.9 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005294, allocations: 4 kB / 349.9 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.005311, allocations: 3.953 kB / 349.9 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.005317, allocations: 4 kB / 349.9 MB, free: 448 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 4.699e-05/0.005364, allocations: 216 kB / 350.1 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.005405, allocations: 57.64 kB / 350.2 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.005426, allocations: 12.06 kB / 350.2 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.005428, allocations: 4 kB / 350.2 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.00543, allocations: 0 / 350.2 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005432, allocations: 0 / 350.2 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.26e-05/0.005515, allocations: 109.5 kB / 350.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.005516, allocations: 3.938 kB / 350.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.005536, allocations: 15.98 kB / 350.3 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.005537, allocations: 0 / 350.3 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.005553, allocations: 4 kB / 350.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005554, allocations: 4 kB / 350.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.005555, allocations: 4.172 kB / 350.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.005695, allocations: 334.4 kB / 350.7 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.005705, allocations: 7.938 kB / 350.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.005716, allocations: 0 / 350.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.813e-05/0.005744, allocations: 4 kB / 350.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.005759, allocations: 7.875 kB / 350.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.005765, allocations: 4 kB / 350.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.786e-05/0.005803, allocations: 139.1 kB / 350.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005803, allocations: 0 / 350.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001531/0.005956, allocations: 23.94 kB / 350.8 MB, free: 15.4 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.0003962/0.006352, allocations: 267.9 kB / 351.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.006496, allocations: 253.3 kB / 351.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.006497, allocations: 0 / 351.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.843e-05/0.006566, allocations: 181.8 kB / 351.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.006739, allocations: 25.42 kB / 351.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.006973, allocations: 234.3 kB / 351.8 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.348e-05/0.007006, allocations: 67.33 kB / 351.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.348e-05/0.00704, allocations: 20.11 kB / 351.9 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.007101, allocations: 90.19 kB / 352 MB, free: 14.19 MB / 282.7 MB Notification: Performance of SimCode: time 4.1e-07/0.007101, allocations: 0 / 352 MB, free: 14.19 MB / 282.7 MB Notification: Performance of Templates: time 0.002597/0.009698, allocations: 1.393 MB / 353.3 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.599168141372502]