Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") translateModel(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003249/0.003257, allocations: 188.8 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.144/4.144, allocations: 205.4 MB / 222.6 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001815/0.001815, allocations: 98.84 kB / 270.9 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1788/0.1788, allocations: 12.61 MB / 331.8 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009175/0.0009179, allocations: 13.03 kB / 392 MB, free: 54.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1681, allocations: 50.37 MB / 442.3 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.003225/0.1714, allocations: 1.386 MB / 443.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.1733, allocations: 0.5701 MB / 444.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.1737, allocations: 11.88 kB / 444.3 MB, free: 9.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.1739, allocations: 7.922 kB / 444.3 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.1742, allocations: 31.83 kB / 444.4 MB, free: 9.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008147/0.1751, allocations: 97.72 kB / 444.4 MB, free: 9.488 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.1754, allocations: 75.84 kB / 444.5 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.1756, allocations: 29.05 kB / 444.6 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.1759, allocations: 55.77 kB / 444.6 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.1761, allocations: 55.77 kB / 444.7 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.1762, allocations: 7.938 kB / 444.7 MB, free: 9.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.096e-05/0.1763, allocations: 4 kB / 444.7 MB, free: 9.266 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1764, allocations: 35.89 kB / 444.7 MB, free: 9.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.848e-05/0.1765, allocations: 49.64 kB / 444.8 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1767, allocations: 92.36 kB / 444.8 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1768, allocations: 0 / 444.8 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1768, allocations: 0 / 444.8 MB, free: 9.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.1768, allocations: 0 / 444.8 MB, free: 9.086 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001072/0.1779, allocations: 415.2 kB / 445.3 MB, free: 8.633 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.178, allocations: 8.031 kB / 445.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.1781, allocations: 15.81 kB / 445.3 MB, free: 8.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.1785, allocations: 230.4 kB / 445.5 MB, free: 8.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.1786, allocations: 16 kB / 445.5 MB, free: 8.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.1787, allocations: 12 kB / 445.5 MB, free: 8.316 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.1805, allocations: 472.6 kB / 446 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.1806, allocations: 4 kB / 446 MB, free: 7.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.1807, allocations: 4 kB / 446 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.1807, allocations: 4 kB / 446 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008076/0.1815, allocations: 115.9 kB / 446.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006925/0.1823, allocations: 330.3 kB / 446.4 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000979/0.1833, allocations: 207.8 kB / 446.6 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.51e-05/0.1834, allocations: 8.656 kB / 446.6 MB, free: 7.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.1835, allocations: 46.45 kB / 446.7 MB, free: 7.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 4.589e-06/0.1835, allocations: 0 / 446.7 MB, free: 7.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001576/0.1851, allocations: 293.1 kB / 447 MB, free: 6.742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.1853, allocations: 130.7 kB / 447.1 MB, free: 6.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1855, allocations: 130 kB / 447.2 MB, free: 6.453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.1856, allocations: 33.7 kB / 447.3 MB, free: 6.414 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.1857, allocations: 155.1 kB / 447.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.463e-05/0.1858, allocations: 31.83 kB / 447.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.1858, allocations: 11.94 kB / 447.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.186, allocations: 322.8 kB / 447.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.1863, allocations: 60.61 kB / 447.8 MB, free: 5.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.1867, allocations: 238.1 kB / 448.1 MB, free: 5.512 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.1871, allocations: 103.8 kB / 448.2 MB, free: 5.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.1871, allocations: 4 kB / 448.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001053/0.1882, allocations: 300.8 kB / 448.5 MB, free: 5.105 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.1883, allocations: 8.906 kB / 448.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.1883, allocations: 8 kB / 448.5 MB, free: 5.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.372e-05/0.1884, allocations: 12 kB / 448.5 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.1889, allocations: 71.84 kB / 448.6 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-05/0.189, allocations: 15.92 kB / 448.6 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.1894, allocations: 27.78 kB / 448.6 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.1895, allocations: 16 kB / 448.6 MB, free: 4.949 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 11 (movingAverage.first,$CLKPRE.movingAverage.first,superSampleIpo1.ticks,$CLKPRE.superSampleIpo1.ticks,superSampleIpo1.usedFactor,upSample1.b_super,$CLKPRE.upSample1.b_super,superSampleIpo1.first,$CLKPRE.superSampleIpo1.first,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 11 (movingAverage.yy,movingAverage.first,movingAverage.u_buffer[4],movingAverage.u_buffer[3],movingAverage.u_buffer[2],movingAverage.u_buffer[1],superSampleIpo1.ticks,upSample1.b_super,superSampleIpo1.first,superSampleIpo1.uu,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003552/0.1899, allocations: 153.5 kB / 448.8 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008834/0.1908, allocations: 197.2 kB / 449 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.1909, allocations: 25.19 kB / 449 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.191, allocations: 7.953 kB / 449 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.191, allocations: 0 / 449 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.191, allocations: 3.984 kB / 449 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.1914, allocations: 213.5 kB / 449.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1915, allocations: 0 / 449.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.192, allocations: 43.97 kB / 449.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.1921, allocations: 4 kB / 449.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.1921, allocations: 4.469 kB / 449.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.1921, allocations: 7.938 kB / 449.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.1922, allocations: 3.953 kB / 449.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.1932, allocations: 364.9 kB / 449.6 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1934, allocations: 92.91 kB / 449.7 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.1935, allocations: 16 kB / 449.7 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.1938, allocations: 11.98 kB / 449.7 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.1939, allocations: 4 kB / 449.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.194, allocations: 11.94 kB / 449.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1941, allocations: 99.25 kB / 449.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.304e-06/0.1941, allocations: 0 / 449.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008833/0.195, allocations: 43.94 kB / 449.9 MB, free: 3.551 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (upSample1.b_super,superSampleIpo1.usedFactor,superSampleIpo1.ticks,movingAverage.first,upSample1.b,superSampleIpo1.first) * Number of discrete states: 0 () * Number of clocked states: 11 (upSample1.b_super,superSampleIpo1.ticks,movingAverage.u_buffer[1],movingAverage.u_buffer[2],movingAverage.u_buffer[3],movingAverage.u_buffer[4],movingAverage.first,movingAverage.yy,upSample1.b,superSampleIpo1.uu,superSampleIpo1.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002149/0.1953, allocations: 111.2 kB / 450 MB, free: 3.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009375/0.1962, allocations: 197 kB / 450.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.1963, allocations: 4.375 kB / 450.2 MB, free: 3.234 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.1964, allocations: 8 kB / 450.2 MB, free: 3.227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.1975, allocations: 144.3 kB / 450.4 MB, free: 3.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.1993, allocations: 437.9 kB / 450.8 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.1996, allocations: 0.7443 MB / 451.5 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.1998, allocations: 23.42 kB / 451.6 MB, free: 1.832 MB / 282.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1998, allocations: 4 kB / 451.6 MB, free: 1.828 MB / 282.7 MB Notification: Performance of Templates: time 0.009379/0.2092, allocations: 2.19 MB / 453.7 MB, free: 15.64 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe 2>&1)