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.0009962/0.0009962, allocations: 80.05 kB / 20.76 MB, free: 3.723 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.001062/0.001062, allocations: 165 kB / 24.18 MB, free: 312 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.9676/0.9676, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.06725/0.06725, allocations: 9.162 MB / 270.3 MB, free: 4.129 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 7.72e-07/7.72e-07, allocations: 0 / 289.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.484e-06/8.256e-06, allocations: 10.25 kB / 289.7 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.124/0.124, allocations: 2.435 MB / 292.2 MB, free: 18.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002308/0.1242, allocations: 148.1 kB / 292.3 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.67e-05/0.1243, allocations: 7.797 kB / 292.3 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.1245, allocations: 23 kB / 292.3 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9e-05/0.1246, allocations: 13.67 kB / 292.4 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.1248, allocations: 52.78 kB / 292.4 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.1249, allocations: 67.28 kB / 292.5 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.591e-05/0.125, allocations: 20.8 kB / 292.5 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.134e-05/0.1251, allocations: 36.25 kB / 292.5 MB, free: 18.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.1251, allocations: 25.61 kB / 292.6 MB, free: 18.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.1251, allocations: 4.906 kB / 292.6 MB, free: 18.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.1252, allocations: 30.88 kB / 292.6 MB, free: 18.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.1252, allocations: 11.97 kB / 292.6 MB, free: 18.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.1253, allocations: 21.44 kB / 292.6 MB, free: 18.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.1254, allocations: 83.11 kB / 292.7 MB, free: 18.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.1254, allocations: 0 / 292.7 MB, free: 18.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1254, allocations: 0 / 292.7 MB, free: 18.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.1254, allocations: 3.188 kB / 292.7 MB, free: 18.08 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.0002837/0.1257, allocations: 330.8 kB / 293 MB, free: 17.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1257, allocations: 9.094 kB / 293 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.1258, allocations: 11.12 kB / 293 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.1259, allocations: 138 kB / 293.2 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1259, allocations: 3.625 kB / 293.2 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.1259, allocations: 8.75 kB / 293.2 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.1261, allocations: 198.5 kB / 293.4 MB, free: 17.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1261, allocations: 1.797 kB / 293.4 MB, free: 17.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1262, allocations: 5.969 kB / 293.4 MB, free: 17.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.1262, allocations: 5.375 kB / 293.4 MB, free: 17.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.1262, allocations: 67.92 kB / 293.5 MB, free: 17.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.1264, allocations: 177 kB / 293.6 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1265, allocations: 109.4 kB / 293.7 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.1266, allocations: 79.8 kB / 293.8 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.904e-05/0.1266, allocations: 11.91 kB / 293.8 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.1266, allocations: 36.78 kB / 293.9 MB, free: 16.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.1266, allocations: 0 / 293.9 MB, free: 16.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001483/0.1268, allocations: 235 kB / 294.1 MB, free: 16.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1268, allocations: 142.5 kB / 294.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.352e-05/0.1269, allocations: 121.9 kB / 294.4 MB, free: 16.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.1269, allocations: 26.83 kB / 294.4 MB, free: 16.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.1269, allocations: 89.55 kB / 294.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.1269, allocations: 9.75 kB / 294.5 MB, free: 16.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.1269, allocations: 20.77 kB / 294.5 MB, free: 16.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.176e-05/0.1269, allocations: 319.1 kB / 294.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.127, allocations: 57.39 kB / 294.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.212e-05/0.127, allocations: 68.5 kB / 294.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.13e-05/0.127, allocations: 137.4 kB / 295.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.127, allocations: 1.812 kB / 295.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.883e-05/0.1271, allocations: 159.8 kB / 295.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.1271, allocations: 59.33 kB / 295.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1271, allocations: 1.688 kB / 295.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1271, allocations: 5.938 kB / 295.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.895e-05/0.1271, allocations: 5.781 kB / 295.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.1272, allocations: 3.812 kB / 295.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.1272, allocations: 7.203 kB / 295.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1272, allocations: 3.125 kB / 295.3 MB, free: 15.46 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 5.16e-05/0.1272, allocations: 176 kB / 295.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.1273, allocations: 49.12 kB / 295.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.1273, allocations: 11.16 kB / 295.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1273, allocations: 5.656 kB / 295.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1273, allocations: 3.688 kB / 295.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1273, allocations: 4.734 kB / 295.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.946e-05/0.1274, allocations: 70.84 kB / 295.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1274, allocations: 0.7031 kB / 295.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.1274, allocations: 9.172 kB / 295.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.1274, allocations: 0 / 295.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1274, allocations: 8.719 kB / 295.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1274, allocations: 1.188 kB / 295.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1274, allocations: 0 / 295.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.207e-05/0.1275, allocations: 269.8 kB / 295.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.1275, allocations: 7.234 kB / 295.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.1275, allocations: 3.734 kB / 295.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.7e-05/0.1275, allocations: 3.859 kB / 295.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.1275, allocations: 10.69 kB / 295.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1276, allocations: 6.828 kB / 295.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.802e-05/0.1276, allocations: 16.95 kB / 296 MB, free: 14.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1276, allocations: 0 / 296 MB, free: 14.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.1277, allocations: 20.58 kB / 296 MB, free: 14.85 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.0005101/0.1282, allocations: 305.7 kB / 296.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.1283, allocations: 243.9 kB / 296.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1283, allocations: 9.5 kB / 296.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.412e-05/0.1284, allocations: 176 kB / 296.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.1285, allocations: 31.31 kB / 296.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.1287, allocations: 219.8 kB / 296.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.849e-05/0.1288, allocations: 64.64 kB / 297 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.628e-05/0.1288, allocations: 13.41 kB / 297 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.1289, allocations: 75.81 kB / 297.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1289, allocations: 3.5 kB / 297.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of Templates: time 0.003014/0.1319, allocations: 1.369 MB / 298.5 MB, free: 13.78 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.682866915129125]