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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009814/0.0009814, allocations: 108.6 kB / 16.03 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 193.8 kB / 16.95 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0525/0.0525, allocations: 12.04 MB / 302.8 MB, free: 3.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.91 kB / 365.9 MB, free: 4.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1697, allocations: 52.33 MB / 418.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002776/0.1725, allocations: 2.271 MB / 420.6 MB, free: 19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002159/0.1728, allocations: 139.5 kB / 420.7 MB, free: 18.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.1728, allocations: 4 kB / 420.7 MB, free: 18.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.173, allocations: 27.86 kB / 420.7 MB, free: 18.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.433e-05/0.1731, allocations: 7.922 kB / 420.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.1732, allocations: 47.16 kB / 420.8 MB, free: 18.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.1734, allocations: 71.84 kB / 420.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.1735, allocations: 23.97 kB / 420.9 MB, free: 18.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.133e-05/0.1735, allocations: 27.86 kB / 420.9 MB, free: 18.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.1735, allocations: 27.86 kB / 420.9 MB, free: 18.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1736, allocations: 8 kB / 420.9 MB, free: 18.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.952e-05/0.1736, allocations: 31.97 kB / 421 MB, free: 18.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.1737, allocations: 11.94 kB / 421 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.1737, allocations: 27.86 kB / 421 MB, free: 18.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1738, allocations: 91.72 kB / 421.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1739, allocations: 0 / 421.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1739, allocations: 0 / 421.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1739, allocations: 0 / 421.1 MB, free: 18.46 MB / 302.1 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.000309/0.1742, allocations: 436.7 kB / 421.5 MB, free: 17.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.1742, allocations: 12.03 kB / 421.5 MB, free: 17.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.1743, allocations: 12.84 kB / 421.5 MB, free: 17.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1744, allocations: 188.2 kB / 421.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.1744, allocations: 4.375 kB / 421.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.1744, allocations: 8.375 kB / 421.7 MB, free: 17.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.1747, allocations: 161.4 kB / 421.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1747, allocations: 8.172 kB / 421.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.1747, allocations: 11.92 kB / 421.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.1747, allocations: 3.938 kB / 421.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.511e-05/0.1748, allocations: 27.98 kB / 421.9 MB, free: 17.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002349/0.175, allocations: 289.8 kB / 422.2 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1752, allocations: 162.2 kB / 422.4 MB, free: 16.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.1753, allocations: 41.78 kB / 422.4 MB, free: 16.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.232e-05/0.1754, allocations: 81.11 kB / 422.5 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.1754, allocations: 34.56 kB / 422.5 MB, free: 16.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.1754, allocations: 0 / 422.5 MB, free: 16.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002462/0.1756, allocations: 172.8 kB / 422.7 MB, free: 16.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1757, allocations: 144.5 kB / 422.8 MB, free: 16.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.276e-05/0.1758, allocations: 125.7 kB / 423 MB, free: 16.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.1758, allocations: 25.7 kB / 423 MB, free: 16.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.1758, allocations: 88.14 kB / 423.1 MB, free: 16.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.1758, allocations: 15.84 kB / 423.1 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.1759, allocations: 25.7 kB / 423.1 MB, free: 16.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.1759, allocations: 314.8 kB / 423.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.1759, allocations: 19.98 kB / 423.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.891e-05/0.176, allocations: 58 kB / 423.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.167e-05/0.1761, allocations: 188.6 kB / 423.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.1761, allocations: 0 / 423.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001381/0.1762, allocations: 156.9 kB / 423.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.1762, allocations: 59.41 kB / 423.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1763, allocations: 4.219 kB / 423.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1763, allocations: 4 kB / 423.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.92e-05/0.1763, allocations: 11.98 kB / 423.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1763, allocations: 7.938 kB / 423.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.1764, allocations: 7.906 kB / 423.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1764, allocations: 4 kB / 423.9 MB, free: 15.19 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (8): * Single equations (assignments): 6 * 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.497e-05/0.1765, allocations: 177.2 kB / 424.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.1765, allocations: 69.58 kB / 424.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.1766, allocations: 7.969 kB / 424.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1766, allocations: 0 / 424.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1766, allocations: 8 kB / 424.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1766, allocations: 4.031 kB / 424.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.1767, allocations: 189.5 kB / 424.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1767, allocations: 0 / 424.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.1767, allocations: 12.3 kB / 424.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1767, allocations: 144 / 424.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1768, allocations: 4 kB / 424.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1768, allocations: 4 kB / 424.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1768, allocations: 0 / 424.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.1769, allocations: 275.5 kB / 424.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.177, allocations: 77.11 kB / 424.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.177, allocations: 7.984 kB / 424.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.78e-05/0.177, allocations: 4 kB / 424.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.1771, allocations: 7.938 kB / 424.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1771, allocations: 4 kB / 424.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.858e-05/0.1771, allocations: 91.27 kB / 424.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1771, allocations: 0 / 424.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1774, allocations: 31.91 kB / 424.9 MB, free: 14.1 MB / 302.1 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.0003535/0.1777, allocations: 246 kB / 425.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.1779, allocations: 170.7 kB / 425.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1779, allocations: 0 / 425.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.1779, allocations: 122.8 kB / 425.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.1782, allocations: 31.95 kB / 425.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.1785, allocations: 223.5 kB / 425.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.678e-05/0.1786, allocations: 0.6969 MB / 426.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.686e-05/0.1787, allocations: 7.984 kB / 426.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.288e-05/0.1787, allocations: 15.44 kB / 426.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1787, allocations: 0 / 426.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of Templates: time 0.002875/0.1816, allocations: 1.304 MB / 427.7 MB, free: 11.26 MB / 302.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.makefile (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=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1)