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.0006974/0.0006974, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009466/0.001644, allocations: 452 kB / 10.43 MB, free: 264 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.0006832/0.0006832, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008687/0.001552, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9/0.9, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07278/0.9728, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.03421/0.03421, allocations: 9.161 MB / 253.3 MB, free: 6.004 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.005457/0.03967, allocations: 3.44 MB / 256.8 MB, free: 2.559 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.182e-06/1.182e-06, allocations: 0 / 258 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.928e-05, allocations: 6.25 kB / 258.1 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002515/0.002534, allocations: 2.511 MB / 260.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002018/0.002736, allocations: 147.5 kB / 260.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.002798, allocations: 7.938 kB / 260.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.179e-05/0.00288, allocations: 23.67 kB / 260.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.002938, allocations: 15.88 kB / 260.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.003094, allocations: 51.8 kB / 260.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.003233, allocations: 71.78 kB / 260.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.42e-05/0.003307, allocations: 19.98 kB / 260.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.644e-05/0.003374, allocations: 43.89 kB / 260.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.003426, allocations: 19.92 kB / 261 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.00345, allocations: 4 kB / 261 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.402e-05/0.003524, allocations: 35.86 kB / 261 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.003553, allocations: 7.938 kB / 261 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.003583, allocations: 15.98 kB / 261 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.00372, allocations: 75.69 kB / 261.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.003728, allocations: 0 / 261.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003728, allocations: 0 / 261.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.003736, allocations: 0 / 261.1 MB, free: 14.2 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.0003234/0.00406, allocations: 347.7 kB / 261.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.688e-05/0.004086, allocations: 8.625 kB / 261.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.004121, allocations: 16.92 kB / 261.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.004264, allocations: 129.6 kB / 261.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.004273, allocations: 8.375 kB / 261.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.004284, allocations: 4.375 kB / 261.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.004478, allocations: 211.2 kB / 261.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004485, allocations: 192 / 261.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.004492, allocations: 384 / 261.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.004512, allocations: 8.312 kB / 261.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.789e-05/0.00455, allocations: 79.33 kB / 261.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.004733, allocations: 169.1 kB / 262.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.004867, allocations: 115.3 kB / 262.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.004905, allocations: 81.19 kB / 262.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.403e-05/0.004949, allocations: 4 kB / 262.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.004968, allocations: 34.56 kB / 262.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.004969, allocations: 4 kB / 262.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001611/0.00513, allocations: 239.8 kB / 262.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.005165, allocations: 85.05 kB / 262.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/0.005223, allocations: 122.7 kB / 262.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.005234, allocations: 29.7 kB / 262.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.005266, allocations: 92.08 kB / 262.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.005275, allocations: 7.938 kB / 262.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.005298, allocations: 13.72 kB / 262.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.005363, allocations: 322.8 kB / 263.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.005389, allocations: 59.41 kB / 263.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.00542, allocations: 77.14 kB / 263.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.005473, allocations: 128.5 kB / 263.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.005475, allocations: 0 / 263.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.988e-05/0.005555, allocations: 164.7 kB / 263.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.005588, allocations: 55.41 kB / 263.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.005592, allocations: 4 kB / 263.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.005601, allocations: 3.938 kB / 263.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.338e-05/0.005625, allocations: 7.969 kB / 263.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.005628, allocations: 4 kB / 263.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.005649, allocations: 4.062 kB / 263.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.005658, allocations: 11.94 kB / 263.7 MB, free: 11.21 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 7.171e-05/0.005729, allocations: 168 kB / 263.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.005772, allocations: 49.69 kB / 263.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.005793, allocations: 8.109 kB / 263.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.005797, allocations: 7.938 kB / 263.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.005798, allocations: 3.938 kB / 263.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.005801, allocations: 0 / 263.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.896e-05/0.00588, allocations: 81.83 kB / 264 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005882, allocations: 320 / 264 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.005906, allocations: 12 kB / 264 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.005914, allocations: 15.95 kB / 264 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.005917, allocations: 4 kB / 264 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.005923, allocations: 3.984 kB / 264 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.005925, allocations: 7.875 kB / 264 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.005926, allocations: 0 / 264 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.006032, allocations: 259.2 kB / 264.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.006044, allocations: 4 kB / 264.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.937e-05/0.006074, allocations: 4 kB / 264.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.006088, allocations: 7.938 kB / 264.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.006094, allocations: 7.984 kB / 264.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.846e-05/0.006112, allocations: 25.25 kB / 264.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006112, allocations: 0 / 264.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000138/0.00625, allocations: 27.92 kB / 264.4 MB, free: 10.44 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.0005407/0.006791, allocations: 325.4 kB / 264.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.006931, allocations: 254.4 kB / 264.9 MB, free: 9.922 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.006936, allocations: 4 kB / 264.9 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.1e-05/0.006997, allocations: 179.2 kB / 265.1 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.007148, allocations: 40.25 kB / 265.2 MB, free: 9.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.007509, allocations: 235.1 kB / 265.4 MB, free: 9.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.279e-05/0.007542, allocations: 63.34 kB / 265.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.267e-05/0.007584, allocations: 7.984 kB / 265.5 MB, free: 9.301 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.007645, allocations: 71.36 kB / 265.5 MB, free: 9.23 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007645, allocations: 0 / 265.5 MB, free: 9.23 MB / 266.7 MB Notification: Performance of Templates: time 0.002666/0.01031, allocations: 1.386 MB / 266.9 MB, free: 7.844 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.330864512361586]