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.001549/0.001549, allocations: 103.2 kB / 16.31 MB, free: 6.391 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.002201/0.002201, allocations: 188.5 kB / 17.24 MB, free: 5.922 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.273/1.273, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.04986/0.04986, allocations: 12.05 MB / 303.1 MB, free: 3.184 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.11 kB / 366.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.173, allocations: 52.34 MB / 418.8 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002475/0.1755, allocations: 2.223 MB / 421 MB, free: 18.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002116/0.1758, allocations: 143.5 kB / 421.2 MB, free: 18.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.87e-05/0.1758, allocations: 4 kB / 421.2 MB, free: 18.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.176, allocations: 31.78 kB / 421.2 MB, free: 18.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.26e-05/0.176, allocations: 11.94 kB / 421.2 MB, free: 18.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.1762, allocations: 55.75 kB / 421.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1763, allocations: 67.84 kB / 421.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.925e-05/0.1764, allocations: 23.98 kB / 421.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.1765, allocations: 27.86 kB / 421.4 MB, free: 18.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.505e-05/0.1765, allocations: 27.84 kB / 421.4 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.1766, allocations: 4 kB / 421.4 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.077e-05/0.1766, allocations: 35.98 kB / 421.4 MB, free: 18.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.1767, allocations: 11.94 kB / 421.5 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.1767, allocations: 31.86 kB / 421.5 MB, free: 18.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.1768, allocations: 91.69 kB / 421.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1768, allocations: 0 / 421.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1768, allocations: 0 / 421.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1768, allocations: 0 / 421.6 MB, free: 18.31 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.0002713/0.1771, allocations: 432.7 kB / 422 MB, free: 17.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.607e-05/0.1772, allocations: 8.031 kB / 422 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.1772, allocations: 8.844 kB / 422 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1773, allocations: 196.1 kB / 422.2 MB, free: 17.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.1773, allocations: 8.375 kB / 422.2 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.1774, allocations: 8.375 kB / 422.2 MB, free: 17.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1776, allocations: 163.7 kB / 422.4 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1776, allocations: 192 / 422.4 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1776, allocations: 7.938 kB / 422.4 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.1776, allocations: 8 kB / 422.4 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.498e-05/0.1777, allocations: 35.91 kB / 422.4 MB, free: 17.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.1779, allocations: 277.8 kB / 422.7 MB, free: 17.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1781, allocations: 166.2 kB / 422.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.1782, allocations: 37.78 kB / 422.9 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.448e-05/0.1782, allocations: 85.11 kB / 423 MB, free: 16.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.107e-05/0.1783, allocations: 30.56 kB / 423 MB, free: 16.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.532e-06/0.1783, allocations: 0 / 423 MB, free: 16.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002421/0.1785, allocations: 176.8 kB / 423.2 MB, free: 16.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.1786, allocations: 136.5 kB / 423.3 MB, free: 16.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.653e-05/0.1786, allocations: 137.6 kB / 423.5 MB, free: 16.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.1786, allocations: 25.7 kB / 423.5 MB, free: 16.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.1787, allocations: 84.14 kB / 423.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.118e-05/0.1787, allocations: 15.84 kB / 423.6 MB, free: 16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.1787, allocations: 25.7 kB / 423.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.234e-05/0.1788, allocations: 322.8 kB / 423.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.1788, allocations: 12 kB / 423.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.985e-05/0.1788, allocations: 62 kB / 424 MB, free: 15.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.12e-05/0.1789, allocations: 188.6 kB / 424.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1789, allocations: 0 / 424.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001419/0.1791, allocations: 156.9 kB / 424.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1791, allocations: 59.41 kB / 424.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1791, allocations: 0 / 424.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1791, allocations: 4.094 kB / 424.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.743e-05/0.1792, allocations: 16.14 kB / 424.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1792, allocations: 11.94 kB / 424.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.1792, allocations: 3.906 kB / 424.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1792, allocations: 8 kB / 424.4 MB, free: 15.04 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.009e-05/0.1793, allocations: 181.2 kB / 424.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.1794, allocations: 65.84 kB / 424.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.1794, allocations: 11.97 kB / 424.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1794, allocations: 0 / 424.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.1794, allocations: 0 / 424.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1794, allocations: 0 / 424.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.1795, allocations: 189.5 kB / 424.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1796, allocations: 3.984 kB / 424.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.1796, allocations: 15.94 kB / 424.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1796, allocations: 0 / 424.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1796, allocations: 4 kB / 424.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1796, allocations: 0 / 424.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1796, allocations: 0 / 424.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.1798, allocations: 267.6 kB / 425.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.1798, allocations: 85.23 kB / 425.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.1798, allocations: 4 kB / 425.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.575e-05/0.1799, allocations: 3.984 kB / 425.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.1799, allocations: 8 kB / 425.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.1799, allocations: 3.938 kB / 425.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.816e-05/0.1799, allocations: 95.27 kB / 425.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1799, allocations: 0 / 425.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.1802, allocations: 27.91 kB / 425.4 MB, free: 13.96 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.0003302/0.1805, allocations: 232.1 kB / 425.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.1807, allocations: 174.7 kB / 425.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1807, allocations: 4 kB / 425.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.492e-05/0.1807, allocations: 118.8 kB / 425.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.181, allocations: 35.91 kB / 425.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.1812, allocations: 191.6 kB / 426.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.498e-05/0.1813, allocations: 0.6891 MB / 426.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.7e-05/0.1814, allocations: 11.98 kB / 426.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.1814, allocations: 15.42 kB / 426.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1814, allocations: 0 / 426.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Templates: time 0.002763/0.1842, allocations: 1.272 MB / 428.1 MB, free: 11.18 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)