Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.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.TestFIR_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002844/0.002851, allocations: 189.3 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.176/4.176, allocations: 205.4 MB / 222.6 MB, free: 13.85 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.001931/0.001931, allocations: 102.8 kB / 270.9 MB, free: 13.37 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.2129/0.2129, allocations: 12.59 MB / 331.8 MB, free: 10.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000963/0.0009637, allocations: 16.44 kB / 392 MB, free: 54.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1744, allocations: 50.37 MB / 442.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1): time 0.003105/0.1776, allocations: 1.258 MB / 443.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1792, allocations: 472.3 kB / 444.1 MB, free: 9.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.1794, allocations: 3.938 kB / 444.1 MB, free: 9.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.1797, allocations: 15.92 kB / 444.1 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.566e-05/0.1798, allocations: 15.92 kB / 444.1 MB, free: 9.859 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.1803, allocations: 33.7 kB / 444.1 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.1805, allocations: 43.88 kB / 444.2 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1807, allocations: 12.12 kB / 444.2 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.1809, allocations: 27.86 kB / 444.2 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.1811, allocations: 39.81 kB / 444.3 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.1812, allocations: 8 kB / 444.3 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.616e-05/0.1812, allocations: 0 / 444.3 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.549e-05/0.1813, allocations: 15.98 kB / 444.3 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.1814, allocations: 37.64 kB / 444.3 MB, free: 9.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1816, allocations: 48.47 kB / 444.4 MB, free: 9.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1816, allocations: 0 / 444.4 MB, free: 9.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1817, allocations: 0 / 444.4 MB, free: 9.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1817, allocations: 0 / 444.4 MB, free: 9.594 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009095/0.1826, allocations: 383.3 kB / 444.7 MB, free: 9.172 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/0.1827, allocations: 12.03 kB / 444.7 MB, free: 9.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.1828, allocations: 11.91 kB / 444.8 MB, free: 9.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.1831, allocations: 198.9 kB / 444.9 MB, free: 8.914 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.1832, allocations: 0 / 444.9 MB, free: 8.914 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.1832, allocations: 8 kB / 445 MB, free: 8.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008178/0.1841, allocations: 232.7 kB / 445.2 MB, free: 8.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.1841, allocations: 0 / 445.2 MB, free: 8.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.1842, allocations: 3.938 kB / 445.2 MB, free: 8.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.1842, allocations: 4 kB / 445.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.1846, allocations: 67.89 kB / 445.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.1852, allocations: 281.7 kB / 445.5 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.1856, allocations: 89.06 kB / 445.6 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.1857, allocations: 4.062 kB / 445.6 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.1857, allocations: 38.56 kB / 445.7 MB, free: 8.102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 4.678e-06/0.1857, allocations: 192 / 445.7 MB, free: 8.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.001043/0.1868, allocations: 165.4 kB / 445.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.187, allocations: 85.11 kB / 445.9 MB, free: 7.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1872, allocations: 126.3 kB / 446 MB, free: 7.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.1873, allocations: 29.7 kB / 446.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.1873, allocations: 158.5 kB / 446.2 MB, free: 7.508 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.1874, allocations: 15.89 kB / 446.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.1875, allocations: 3.938 kB / 446.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1876, allocations: 322.8 kB / 446.5 MB, free: 7.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1878, allocations: 23.98 kB / 446.6 MB, free: 7.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.1881, allocations: 108.2 kB / 446.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.1883, allocations: 43.98 kB / 446.7 MB, free: 6.961 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.1884, allocations: 0 / 446.7 MB, free: 6.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007199/0.1891, allocations: 145.4 kB / 446.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.1892, allocations: 8 kB / 446.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.1892, allocations: 3.984 kB / 446.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.631e-05/0.1893, allocations: 7.984 kB / 446.9 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.1896, allocations: 27.92 kB / 446.9 MB, free: 6.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.1897, allocations: 4 kB / 446.9 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.1899, allocations: 16.23 kB / 446.9 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.19, allocations: 12 kB / 446.9 MB, free: 6.734 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (fIRbyCoefficients.first,$CLKPRE.fIRbyCoefficients.first) * Number of discrete states: 0 () * Number of clocked states: 3 (fIRbyCoefficients.first,fIRbyCoefficients.u_buffer[2],fIRbyCoefficients.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002145/0.1902, allocations: 133.5 kB / 447.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004465/0.1907, allocations: 105.6 kB / 447.2 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/0.1908, allocations: 12.38 kB / 447.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1908, allocations: 0 / 447.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.1908, allocations: 3.938 kB / 447.2 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.609e-06/0.1908, allocations: 7.938 kB / 447.2 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.1912, allocations: 181.6 kB / 447.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.1912, allocations: 4 kB / 447.4 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.1915, allocations: 23.98 kB / 447.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.1916, allocations: 0 / 447.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.1916, allocations: 0 / 447.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.1916, allocations: 0 / 447.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1917, allocations: 4 kB / 447.4 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.1923, allocations: 245.9 kB / 447.6 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.1924, allocations: 88.95 kB / 447.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.1924, allocations: 4 kB / 447.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.1927, allocations: 8 kB / 447.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.1928, allocations: 7.984 kB / 447.8 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1928, allocations: 0 / 447.8 MB, free: 5.809 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1929, allocations: 99.27 kB / 447.9 MB, free: 5.711 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.495e-06/0.1929, allocations: 96 / 447.9 MB, free: 5.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00063/0.1936, allocations: 31.88 kB / 447.9 MB, free: 5.68 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 (fIRbyCoefficients.first) * Number of discrete states: 0 () * Number of clocked states: 3 (fIRbyCoefficients.u_buffer[1],fIRbyCoefficients.u_buffer[2],fIRbyCoefficients.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001679/0.1938, allocations: 91.25 kB / 448 MB, free: 5.578 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005898/0.1944, allocations: 91.83 kB / 448.1 MB, free: 5.488 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.1944, allocations: 0.6875 kB / 448.1 MB, free: 5.488 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.721e-05/0.1945, allocations: 19.98 kB / 448.1 MB, free: 5.469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.1951, allocations: 59.83 kB / 448.1 MB, free: 5.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1966, allocations: 307.6 kB / 448.4 MB, free: 5.078 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.1969, allocations: 0.7121 MB / 449.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1971, allocations: 15.44 kB / 449.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of SimCode: time 2.254e-06/0.1971, allocations: 0 / 449.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of Templates: time 0.006548/0.2037, allocations: 1.201 MB / 450.4 MB, free: 3.137 MB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1 --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe 2>&1)