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.001199/0.0012, allocations: 108.1 kB / 17.07 MB, free: 6.062 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.001207/0.001207, allocations: 194.9 kB / 18.01 MB, free: 5.152 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.209/1.209, allocations: 222.9 MB / 241.7 MB, free: 15.06 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.05284/0.05284, allocations: 12.06 MB / 303.9 MB, free: 3.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 367.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1858, allocations: 52.33 MB / 420.2 MB, free: 20.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002684/0.1885, allocations: 2.225 MB / 422.5 MB, free: 18.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002234/0.1888, allocations: 147.5 kB / 422.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.1888, allocations: 0 / 422.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.189, allocations: 19.86 kB / 422.6 MB, free: 18.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.5e-05/0.189, allocations: 15.86 kB / 422.6 MB, free: 18.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.1892, allocations: 51.06 kB / 422.7 MB, free: 18.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.1894, allocations: 71.78 kB / 422.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.985e-05/0.1895, allocations: 23.98 kB / 422.8 MB, free: 18.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.1895, allocations: 27.86 kB / 422.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.1896, allocations: 27.84 kB / 422.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1896, allocations: 4 kB / 422.8 MB, free: 18.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.151e-05/0.1897, allocations: 35.98 kB / 422.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.1897, allocations: 18.58 kB / 422.9 MB, free: 18.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.1897, allocations: 27.81 kB / 422.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1899, allocations: 87.7 kB / 423 MB, free: 18.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1899, allocations: 0 / 423 MB, free: 18.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1899, allocations: 0 / 423 MB, free: 18.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1899, allocations: 0 / 423 MB, free: 18.15 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.0002949/0.1902, allocations: 440.4 kB / 423.4 MB, free: 17.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.1902, allocations: 15.95 kB / 423.5 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.1903, allocations: 8.844 kB / 423.5 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.1904, allocations: 192.2 kB / 423.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1905, allocations: 4.375 kB / 423.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1905, allocations: 12.36 kB / 423.7 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.1907, allocations: 169.4 kB / 423.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1907, allocations: 192 / 423.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1908, allocations: 7.938 kB / 423.8 MB, free: 17.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.1908, allocations: 4 kB / 423.8 MB, free: 17.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/0.1908, allocations: 31.92 kB / 423.9 MB, free: 17.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.1911, allocations: 285.8 kB / 424.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.1913, allocations: 154.2 kB / 424.3 MB, free: 16.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.1913, allocations: 37.78 kB / 424.3 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.186e-05/0.1914, allocations: 89.09 kB / 424.4 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.1914, allocations: 34.56 kB / 424.5 MB, free: 16.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1914, allocations: 0 / 424.5 MB, free: 16.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002509/0.1917, allocations: 172.9 kB / 424.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.1918, allocations: 136.5 kB / 424.8 MB, free: 16.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.1918, allocations: 129.6 kB / 424.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.1918, allocations: 25.7 kB / 424.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.1919, allocations: 92.12 kB / 425 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.1919, allocations: 11.84 kB / 425 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.1919, allocations: 25.75 kB / 425 MB, free: 15.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.949e-05/0.192, allocations: 322.8 kB / 425.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.501e-05/0.192, allocations: 15.98 kB / 425.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.1921, allocations: 54.02 kB / 425.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.583e-05/0.1922, allocations: 188.7 kB / 425.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1922, allocations: 3.938 kB / 425.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001477/0.1923, allocations: 165 kB / 425.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.1924, allocations: 61.28 kB / 425.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1924, allocations: 0 / 425.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1924, allocations: 4 kB / 425.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.335e-05/0.1924, allocations: 8 kB / 425.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1924, allocations: 7.938 kB / 425.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.1925, allocations: 12.14 kB / 425.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1925, allocations: 4 kB / 425.9 MB, free: 14.87 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 7.079e-05/0.1926, allocations: 181.2 kB / 426 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.1927, allocations: 69.66 kB / 426.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.1927, allocations: 15.89 kB / 426.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1927, allocations: 0 / 426.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1927, allocations: 4.141 kB / 426.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1927, allocations: 3.984 kB / 426.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.1928, allocations: 177.5 kB / 426.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1928, allocations: 4 kB / 426.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.1929, allocations: 11.94 kB / 426.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.1929, allocations: 4 kB / 426.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1929, allocations: 3.984 kB / 426.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1929, allocations: 0 / 426.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1929, allocations: 8.078 kB / 426.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.1931, allocations: 267.6 kB / 426.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.1931, allocations: 77.11 kB / 426.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1932, allocations: 4 kB / 426.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.921e-05/0.1932, allocations: 0 / 426.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.1932, allocations: 11.98 kB / 426.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.1933, allocations: 4 kB / 426.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.22e-05/0.1933, allocations: 99.2 kB / 426.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1933, allocations: 0 / 426.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1936, allocations: 23.91 kB / 426.8 MB, free: 13.79 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.000371/0.1939, allocations: 241 kB / 427.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.1941, allocations: 174.7 kB / 427.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1941, allocations: 0 / 427.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/0.1942, allocations: 115.2 kB / 427.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1944, allocations: 50.45 kB / 427.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.1947, allocations: 191 kB / 427.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.943e-05/0.1948, allocations: 0.6891 MB / 428.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.285e-05/0.1949, allocations: 11.98 kB / 428.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.29e-05/0.1949, allocations: 11.44 kB / 428.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1949, allocations: 4 kB / 428.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of Templates: time 0.002968/0.1979, allocations: 1.257 MB / 429.5 MB, free: 11.02 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 -s cvode -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1)