Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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.001118/0.001118, allocations: 182 kB / 15.8 MB, free: 6.336 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0008114/0.0008114, allocations: 90.81 kB / 270.3 MB, free: 13.35 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.07729/0.07729, allocations: 12.59 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004352, allocations: 14.56 kB / 392 MB, free: 54.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09819, allocations: 50.37 MB / 442.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.2053, allocations: 79.04 MB / 0.5092 GB, free: 11.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.2056, allocations: 67.97 kB / 0.5092 GB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01607/0.2217, allocations: 5.453 MB / 0.5146 GB, free: 6.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2217, allocations: 0 / 0.5146 GB, free: 6.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2217, allocations: 4 kB / 0.5146 GB, free: 6.246 MB / 362.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.0005133/0.2222, allocations: 434.8 kB / 0.515 GB, free: 5.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2223, allocations: 12.03 kB / 0.515 GB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.2223, allocations: 7.906 kB / 0.515 GB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.2225, allocations: 203 kB / 0.5152 GB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.2226, allocations: 7.953 kB / 0.5152 GB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.2226, allocations: 11.98 kB / 0.5152 GB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.2232, allocations: 365.6 kB / 0.5156 GB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2232, allocations: 0 / 0.5156 GB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.2232, allocations: 4 kB / 0.5156 GB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.2232, allocations: 7.984 kB / 0.5156 GB, free: 5.109 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.2234, allocations: 107.9 kB / 0.5157 GB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.2239, allocations: 317.5 kB / 0.516 GB, free: 4.641 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.2241, allocations: 186 kB / 0.5162 GB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.2242, allocations: 12.03 kB / 0.5162 GB, free: 4.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.2242, allocations: 38.5 kB / 0.5162 GB, free: 4.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.2242, allocations: 4 kB / 0.5162 GB, free: 4.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005182/0.2247, allocations: 334.1 kB / 0.5165 GB, free: 4.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.2248, allocations: 89.05 kB / 0.5166 GB, free: 3.926 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.2249, allocations: 117 kB / 0.5167 GB, free: 3.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.225, allocations: 29.7 kB / 0.5168 GB, free: 3.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.225, allocations: 96.53 kB / 0.5169 GB, free: 3.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.225, allocations: 23.95 kB / 0.5169 GB, free: 3.645 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.2251, allocations: 11.94 kB / 0.5169 GB, free: 3.633 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2252, allocations: 326.8 kB / 0.5172 GB, free: 3.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-05/0.2253, allocations: 43.83 kB / 0.5172 GB, free: 3.262 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.2254, allocations: 164.1 kB / 0.5174 GB, free: 3.043 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.2255, allocations: 79.91 kB / 0.5175 GB, free: 2.965 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2255, allocations: 0 / 0.5175 GB, free: 2.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003085/0.2259, allocations: 221.2 kB / 0.5177 GB, free: 2.742 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2259, allocations: 4 kB / 0.5177 GB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2259, allocations: 4 kB / 0.5177 GB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2259, allocations: 8 kB / 0.5177 GB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.226, allocations: 43.92 kB / 0.5177 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.2261, allocations: 11.98 kB / 0.5178 GB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.483e-05/0.2261, allocations: 12.31 kB / 0.5178 GB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.2262, allocations: 16 kB / 0.5178 GB, free: 2.645 MB / 362.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.0001162/0.2263, allocations: 149.4 kB / 0.5179 GB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.2266, allocations: 169.4 kB / 0.5181 GB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.2266, allocations: 20.84 kB / 0.5181 GB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.2266, allocations: 4 kB / 0.5181 GB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2266, allocations: 0 / 0.5181 GB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2266, allocations: 0 / 0.5181 GB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.2268, allocations: 205.5 kB / 0.5183 GB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2269, allocations: 0 / 0.5183 GB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.227, allocations: 31.98 kB / 0.5183 GB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.227, allocations: 0 / 0.5183 GB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.227, allocations: 4 kB / 0.5183 GB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.227, allocations: 4 kB / 0.5183 GB, free: 2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.227, allocations: 3.938 kB / 0.5183 GB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.2274, allocations: 315.6 kB / 0.5186 GB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.2275, allocations: 88.95 kB / 0.5187 GB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.2275, allocations: 11.95 kB / 0.5187 GB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.2276, allocations: 8 kB / 0.5187 GB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.2276, allocations: 3.984 kB / 0.5188 GB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.2277, allocations: 4 kB / 0.5188 GB, free: 1.531 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.27e-05/0.2277, allocations: 100.2 kB / 0.5189 GB, free: 1.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2277, allocations: 0 / 0.5189 GB, free: 1.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003954/0.2281, allocations: 79.86 kB / 0.5189 GB, free: 1.355 MB / 362.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.0003492/0.2285, allocations: 176.8 kB / 0.5191 GB, free: 1.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.2288, allocations: 160.9 kB / 0.5193 GB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2288, allocations: 0 / 0.5193 GB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.291e-05/0.2288, allocations: 8 kB / 0.5193 GB, free: 1.016 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.2292, allocations: 113.1 kB / 0.5194 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006331/0.2299, allocations: 352.9 kB / 0.5197 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1675/0.3974, allocations: 0.7333 MB / 0.5204 GB, free: 84.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.836e-05/0.3975, allocations: 6.266 kB / 0.5204 GB, free: 84.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.3975, allocations: 17.84 kB / 0.5204 GB, free: 84.24 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.3975, allocations: 1.938 kB / 0.5204 GB, free: 84.24 MB / 362.7 MB Notification: Performance of Templates: time 0.005227/0.4028, allocations: 1.896 MB / 0.5223 GB, free: 84.19 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe 2>&1)