Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.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_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003134/0.003139, allocations: 188.3 kB / 16.45 MB, free: 5.578 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.539/4.539, allocations: 205.4 MB / 222.6 MB, free: 13.76 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.001972/0.001972, allocations: 90.94 kB / 270.9 MB, free: 13.28 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.2737/0.2737, allocations: 12.59 MB / 331.8 MB, free: 10.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009576/0.0009583, allocations: 16.98 kB / 392 MB, free: 54.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1711, allocations: 50.38 MB / 442.3 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b): time 0.00324/0.1744, allocations: 1.308 MB / 443.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002751/0.1772, allocations: 0.8013 MB / 444.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.1775, allocations: 3.938 kB / 444.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.1777, allocations: 7.938 kB / 444.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.179, allocations: 136.9 kB / 444.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.1794, allocations: 43.83 kB / 444.6 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1796, allocations: 35.95 kB / 444.7 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.1798, allocations: 23.92 kB / 444.7 MB, free: 9.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.285e-05/0.1799, allocations: 23.91 kB / 444.7 MB, free: 9.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1801, allocations: 35.84 kB / 444.8 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.1801, allocations: 4 kB / 444.8 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006888/0.1808, allocations: 151.8 kB / 444.9 MB, free: 9.051 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.181, allocations: 27.91 kB / 444.9 MB, free: 9.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.1811, allocations: 49.64 kB / 445 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005906/0.1817, allocations: 164.4 kB / 445.1 MB, free: 8.809 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1817, allocations: 0 / 445.1 MB, free: 8.809 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1818, allocations: 0 / 445.1 MB, free: 8.809 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1818, allocations: 0 / 445.1 MB, free: 8.809 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001018/0.1828, allocations: 407 kB / 445.5 MB, free: 8.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.1829, allocations: 8.031 kB / 445.6 MB, free: 8.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.265e-05/0.183, allocations: 11.91 kB / 445.6 MB, free: 8.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.1834, allocations: 210.8 kB / 445.8 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.1835, allocations: 8 kB / 445.8 MB, free: 8.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.1835, allocations: 4 kB / 445.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.1848, allocations: 369.6 kB / 446.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.1849, allocations: 0 / 446.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.1849, allocations: 8 kB / 446.2 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.405e-05/0.185, allocations: 11.98 kB / 446.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006142/0.1856, allocations: 99.88 kB / 446.3 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008258/0.1865, allocations: 309.6 kB / 446.6 MB, free: 7.234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007169/0.1873, allocations: 185.3 kB / 446.7 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-05/0.1874, allocations: 12 kB / 446.8 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.1874, allocations: 38.56 kB / 446.8 MB, free: 6.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 6.663e-06/0.1875, allocations: 0 / 446.8 MB, free: 6.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.001192/0.1887, allocations: 337.7 kB / 447.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.1889, allocations: 97.17 kB / 447.2 MB, free: 6.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.189, allocations: 125.8 kB / 447.3 MB, free: 6.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.1891, allocations: 29.7 kB / 447.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/0.1892, allocations: 162.9 kB / 447.5 MB, free: 6.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.1893, allocations: 15.89 kB / 447.5 MB, free: 6.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.1894, allocations: 4 kB / 447.5 MB, free: 6.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1895, allocations: 322.8 kB / 447.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.1897, allocations: 43.97 kB / 447.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.19, allocations: 167.9 kB / 448.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.1903, allocations: 75.91 kB / 448.1 MB, free: 5.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.1903, allocations: 0 / 448.1 MB, free: 5.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007302/0.191, allocations: 213.1 kB / 448.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.1911, allocations: 8 kB / 448.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.1912, allocations: 4.594 kB / 448.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-05/0.1912, allocations: 12 kB / 448.4 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.1916, allocations: 43.91 kB / 448.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.1916, allocations: 4 kB / 448.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.1919, allocations: 19.84 kB / 448.4 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.1919, allocations: 15.95 kB / 448.5 MB, free: 5.176 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (FIR1.FIRbyCoefficients1.first,$CLKPRE.FIR1.FIRbyCoefficients1.first) * Number of discrete states: 0 () * Number of clocked states: 4 (FIR1.FIRbyCoefficients1.first,FIR1.FIRbyCoefficients1.u_buffer[3],FIR1.FIRbyCoefficients1.u_buffer[2],FIR1.FIRbyCoefficients1.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0002739/0.1922, allocations: 149.5 kB / 448.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00065/0.1929, allocations: 173.4 kB / 448.8 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.255e-05/0.193, allocations: 16.84 kB / 448.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-05/0.1931, allocations: 8 kB / 448.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.1931, allocations: 0 / 448.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.086e-05/0.1932, allocations: 3.984 kB / 448.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.1936, allocations: 201.5 kB / 449 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.1936, allocations: 0 / 449 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.194, allocations: 27.98 kB / 449 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.194, allocations: 4 kB / 449 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.194, allocations: 0 / 449 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.1941, allocations: 0 / 449 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.1941, allocations: 8 kB / 449 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008261/0.1949, allocations: 327.5 kB / 449.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.195, allocations: 88.97 kB / 449.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-05/0.1951, allocations: 8 kB / 449.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.1954, allocations: 7.984 kB / 449.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.1955, allocations: 4 kB / 449.5 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.1955, allocations: 8 kB / 449.5 MB, free: 4.055 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.1957, allocations: 100.2 kB / 449.6 MB, free: 3.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.1957, allocations: 0 / 449.6 MB, free: 3.957 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001016/0.1967, allocations: 63.89 kB / 449.6 MB, free: 3.895 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 (FIR1.FIRbyCoefficients1.first) * Number of discrete states: 0 () * Number of clocked states: 4 (FIR1.FIRbyCoefficients1.u_buffer[1],FIR1.FIRbyCoefficients1.u_buffer[2],FIR1.FIRbyCoefficients1.u_buffer[3],FIR1.FIRbyCoefficients1.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 1 * 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.0009253/0.1977, allocations: 166.1 kB / 449.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009023/0.1987, allocations: 155.7 kB / 449.9 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.1987, allocations: 0 / 449.9 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1989, allocations: 9.188 kB / 450 MB, free: 3.566 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.2002, allocations: 117.1 kB / 450.1 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.2021, allocations: 382.5 kB / 450.4 MB, free: 3.047 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.2024, allocations: 0.7284 MB / 451.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.2026, allocations: 15.44 kB / 451.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2026, allocations: 0 / 451.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of Templates: time 0.009914/0.2125, allocations: 2.247 MB / 453.4 MB, free: 32 kB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe 2>&1)