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.0009911/0.0009911, allocations: 79.36 kB / 20.46 MB, free: 4.109 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.0009115/0.0009115, allocations: 169 kB / 23.84 MB, free: 0.7344 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.9025/0.9025, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.03633/0.03633, allocations: 9.155 MB / 269.9 MB, free: 4.254 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.603e-06/1.603e-06, allocations: 0 / 342.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.5e-05, allocations: 2.312 kB / 342.5 MB, free: 7.309 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002809/0.002834, allocations: 2.421 MB / 344.9 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.003108, allocations: 139.5 kB / 345.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.003181, allocations: 4 kB / 345.1 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.003341, allocations: 27.66 kB / 345.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.003448, allocations: 12 kB / 345.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.003682, allocations: 55.69 kB / 345.2 MB, free: 4.637 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.00384, allocations: 75.77 kB / 345.3 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.003943, allocations: 11.98 kB / 345.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.004002, allocations: 39.91 kB / 345.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.004056, allocations: 19.97 kB / 345.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.004081, allocations: 4 kB / 345.3 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.057e-05/0.004152, allocations: 31.92 kB / 345.4 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.004185, allocations: 11.92 kB / 345.4 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.004225, allocations: 15.94 kB / 345.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.004394, allocations: 87.72 kB / 345.5 MB, free: 4.344 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.004398, allocations: 0 / 345.5 MB, free: 4.344 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.004399, allocations: 0 / 345.5 MB, free: 4.344 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.004405, allocations: 0 / 345.5 MB, free: 4.344 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.0003393/0.004744, allocations: 463.6 kB / 345.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.004786, allocations: 12.03 kB / 345.9 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.004839, allocations: 16.83 kB / 346 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.005008, allocations: 144.5 kB / 346.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.00502, allocations: 4.375 kB / 346.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.005032, allocations: 4.375 kB / 346.1 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.005278, allocations: 219.2 kB / 346.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.005286, allocations: 192 / 346.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.005297, allocations: 384 / 346.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.005323, allocations: 4.375 kB / 346.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.17e-05/0.005365, allocations: 75.33 kB / 346.4 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.005623, allocations: 275.5 kB / 346.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.0058, allocations: 137.6 kB / 346.8 MB, free: 2.816 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.005841, allocations: 86.81 kB / 346.9 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.276e-05/0.005904, allocations: 8 kB / 346.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.005921, allocations: 45.27 kB / 346.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.005923, allocations: 0 / 346.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002152/0.006138, allocations: 255.8 kB / 347.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.006171, allocations: 140.5 kB / 347.3 MB, free: 2.188 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.928e-05/0.00624, allocations: 181.8 kB / 347.5 MB, free: 1.992 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.006248, allocations: 29.7 kB / 347.5 MB, free: 1.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.006288, allocations: 134.9 kB / 347.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.006299, allocations: 23.86 kB / 347.7 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.006328, allocations: 23.38 kB / 347.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.006381, allocations: 0.4884 MB / 348.2 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.00641, allocations: 59.41 kB / 348.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.031e-05/0.006441, allocations: 74.77 kB / 348.3 MB, free: 1.102 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.635e-05/0.006497, allocations: 142.1 kB / 348.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.0065, allocations: 0 / 348.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000105/0.006605, allocations: 164.5 kB / 348.6 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.006637, allocations: 73.94 kB / 348.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.006642, allocations: 0 / 348.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.006657, allocations: 4.062 kB / 348.7 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.224e-05/0.006689, allocations: 4 kB / 348.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.006696, allocations: 0 / 348.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.00672, allocations: 7.953 kB / 348.7 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.006728, allocations: 0 / 348.7 MB, free: 0.6406 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.916e-05/0.006787, allocations: 220 kB / 348.9 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.006838, allocations: 61.58 kB / 349 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.006867, allocations: 8.125 kB / 349 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006869, allocations: 0 / 349 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.006873, allocations: 4.234 kB / 349 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.006877, allocations: 4 kB / 349 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.658e-05/0.006953, allocations: 124.6 kB / 349.1 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.006955, allocations: 3.984 kB / 349.1 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.006976, allocations: 11.94 kB / 349.1 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.006978, allocations: 0 / 349.1 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.006988, allocations: 11.94 kB / 349.2 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006989, allocations: 0 / 349.2 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.00699, allocations: 320 / 349.2 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.007187, allocations: 350.4 kB / 349.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.007198, allocations: 7.891 kB / 349.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.007215, allocations: 15.94 kB / 349.5 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.075e-05/0.007246, allocations: 11.98 kB / 349.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.007267, allocations: 3.938 kB / 349.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.007274, allocations: 7.938 kB / 349.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.352e-05/0.007317, allocations: 135.2 kB / 349.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007317, allocations: 0 / 349.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.007481, allocations: 20 kB / 349.7 MB, free: 15.54 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.000481/0.007962, allocations: 261.7 kB / 350 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.008141, allocations: 253.3 kB / 350.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.008144, allocations: 0 / 350.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/0.008211, allocations: 190 kB / 350.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.008436, allocations: 21.44 kB / 350.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.008796, allocations: 243.5 kB / 350.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.659e-05/0.008843, allocations: 66.27 kB / 350.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.664e-05/0.00889, allocations: 11.92 kB / 350.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.00891, allocations: 12.5 kB / 350.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.008911, allocations: 0 / 350.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of Templates: time 0.00318/0.01209, allocations: 1.37 MB / 352.1 MB, free: 13.06 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.586495561990887]