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.001706/0.001706, allocations: 87.56 kB / 20.25 MB, free: 4.152 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.001819/0.001819, allocations: 161.3 kB / 23.56 MB, free: 0.8438 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 1.444/1.444, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.06438/0.06438, allocations: 9.154 MB / 269.5 MB, free: 4.27 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.233e-06/1.233e-06, allocations: 0 / 341.8 MB, free: 7.652 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.215e-05, allocations: 8.641 kB / 341.8 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.00257/0.002593, allocations: 2.375 MB / 344.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002435/0.002836, allocations: 139.5 kB / 344.3 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.002898, allocations: 3.938 kB / 344.3 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.003038, allocations: 27.73 kB / 344.3 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.382e-05/0.003122, allocations: 11.92 kB / 344.4 MB, free: 5.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.003316, allocations: 47.83 kB / 344.4 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.00344, allocations: 71.81 kB / 344.5 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.969e-05/0.00352, allocations: 15.88 kB / 344.5 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.646e-05/0.003577, allocations: 35.97 kB / 344.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.003628, allocations: 27.91 kB / 344.6 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.00365, allocations: 4 kB / 344.6 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.104e-05/0.003712, allocations: 23.98 kB / 344.6 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.003741, allocations: 15.92 kB / 344.6 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.003777, allocations: 19.92 kB / 344.6 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.003929, allocations: 103.6 kB / 344.7 MB, free: 4.715 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003931, allocations: 0 / 344.7 MB, free: 4.715 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003932, allocations: 0 / 344.7 MB, free: 4.715 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.003935, allocations: 0 / 344.7 MB, free: 4.715 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.0003411/0.004276, allocations: 475.3 kB / 345.2 MB, free: 4.199 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.004308, allocations: 12.03 kB / 345.2 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.00436, allocations: 16.84 kB / 345.2 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.004511, allocations: 132.5 kB / 345.3 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.004523, allocations: 8.375 kB / 345.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.004536, allocations: 4.375 kB / 345.3 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.004792, allocations: 216.2 kB / 345.6 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.004801, allocations: 4.188 kB / 345.6 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.004811, allocations: 384 / 345.6 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.004831, allocations: 4.375 kB / 345.6 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.723e-05/0.004898, allocations: 83.27 kB / 345.6 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002604/0.005158, allocations: 279.5 kB / 345.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.005342, allocations: 141.5 kB / 346.1 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.429e-05/0.005406, allocations: 94.84 kB / 346.2 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.789e-05/0.005474, allocations: 8 kB / 346.2 MB, free: 3.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.00549, allocations: 41.33 kB / 346.2 MB, free: 2.996 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.005491, allocations: 0 / 346.2 MB, free: 2.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002997/0.00579, allocations: 275.8 kB / 346.5 MB, free: 2.684 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.005827, allocations: 132.5 kB / 346.6 MB, free: 2.523 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.005906, allocations: 189.9 kB / 346.8 MB, free: 2.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.005916, allocations: 29.7 kB / 346.8 MB, free: 2.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.005955, allocations: 138.9 kB / 347 MB, free: 2.145 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.189e-05/0.005967, allocations: 15.84 kB / 347 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.006002, allocations: 23.38 kB / 347 MB, free: 2.098 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.006064, allocations: 0.4961 MB / 347.5 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.006113, allocations: 67.34 kB / 347.6 MB, free: 1.512 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.006152, allocations: 82.77 kB / 347.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.789e-05/0.00622, allocations: 154.4 kB / 347.8 MB, free: 1.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006222, allocations: 256 / 347.8 MB, free: 1.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/0.006351, allocations: 176.4 kB / 348 MB, free: 1.023 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.006377, allocations: 63.34 kB / 348 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006382, allocations: 4 kB / 348 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.006395, allocations: 0 / 348 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.461e-05/0.006419, allocations: 4 kB / 348 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.006424, allocations: 3.984 kB / 348 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.006449, allocations: 7.953 kB / 348 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.006458, allocations: 0 / 348 MB, free: 0.9297 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 6.918e-05/0.006527, allocations: 220 kB / 348.3 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.006602, allocations: 69.52 kB / 348.3 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.006634, allocations: 8.125 kB / 348.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006636, allocations: 0 / 348.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.00664, allocations: 0 / 348.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.006643, allocations: 0 / 348.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.006744, allocations: 136.6 kB / 348.5 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006745, allocations: 0 / 348.5 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.006774, allocations: 8 kB / 348.5 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006776, allocations: 0 / 348.5 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.006788, allocations: 11.94 kB / 348.5 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.006789, allocations: 0 / 348.5 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.00679, allocations: 0 / 348.5 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.006992, allocations: 370.3 kB / 348.8 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.007026, allocations: 12 kB / 348.9 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.007049, allocations: 11.88 kB / 348.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.007097, allocations: 0 / 348.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.007125, allocations: 4 kB / 348.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.007137, allocations: 8 kB / 348.9 MB, free: 15.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.871e-05/0.007226, allocations: 135.2 kB / 349 MB, free: 15.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007226, allocations: 3.938 kB / 349 MB, free: 15.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.007461, allocations: 27.94 kB / 349 MB, free: 15.81 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.0009675/0.008428, allocations: 261 kB / 349.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.008745, allocations: 273.2 kB / 349.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.008747, allocations: 0 / 349.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.008905, allocations: 189.9 kB / 349.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.009194, allocations: 26.09 kB / 349.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.009673, allocations: 251.6 kB / 350 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.00978, allocations: 83.77 kB / 350.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.982e-05/0.00983, allocations: 7.984 kB / 350.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.009859, allocations: 12.5 kB / 350.1 MB, free: 14.63 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009859, allocations: 0 / 350.1 MB, free: 14.63 MB / 282.7 MB Notification: Performance of Templates: time 0.005246/0.01511, allocations: 1.297 MB / 351.4 MB, free: 13.35 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: 5.349732988048345]