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/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/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.001019/0.001019, allocations: 181.1 kB / 17.46 MB, free: 4.234 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.399/1.399, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.000817/0.000817, allocations: 91.84 kB / 272 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07578/0.07578, allocations: 12.21 MB / 332.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 16 kB / 392.7 MB, free: 67.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09093, allocations: 50.29 MB / 443 MB, free: 16.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3055/0.3964, allocations: 79 MB / 0.5098 GB, free: 12.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.3967, allocations: 65.44 kB / 0.5098 GB, free: 12.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01361/0.4103, allocations: 5.458 MB / 0.5152 GB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4103, allocations: 0 / 0.5152 GB, free: 10.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.4103, allocations: 3.969 kB / 0.5152 GB, free: 10.89 MB / 330.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.0004133/0.4107, allocations: 428 kB / 0.5156 GB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4108, allocations: 7.656 kB / 0.5156 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.4108, allocations: 12.44 kB / 0.5156 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.411, allocations: 204.5 kB / 0.5158 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.411, allocations: 11.34 kB / 0.5158 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.4111, allocations: 4.188 kB / 0.5158 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.4116, allocations: 371.1 kB / 0.5162 GB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4116, allocations: 0 / 0.5162 GB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.4116, allocations: 3.625 kB / 0.5162 GB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.4117, allocations: 7.719 kB / 0.5162 GB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.4119, allocations: 105.9 kB / 0.5163 GB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.4122, allocations: 317 kB / 0.5166 GB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.4125, allocations: 184.2 kB / 0.5167 GB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.4126, allocations: 123.3 kB / 0.5169 GB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.4126, allocations: 3.906 kB / 0.5169 GB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.4127, allocations: 34.5 kB / 0.5169 GB, free: 9.605 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.4127, allocations: 0 / 0.5169 GB, free: 9.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004769/0.4132, allocations: 262.9 kB / 0.5172 GB, free: 9.531 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.4132, allocations: 92.02 kB / 0.5172 GB, free: 9.434 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.4133, allocations: 130.7 kB / 0.5174 GB, free: 9.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.4133, allocations: 32.67 kB / 0.5174 GB, free: 9.293 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.4134, allocations: 90.14 kB / 0.5175 GB, free: 9.203 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.4134, allocations: 18.12 kB / 0.5175 GB, free: 9.199 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.4134, allocations: 3.312 kB / 0.5175 GB, free: 9.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.4135, allocations: 325.9 kB / 0.5178 GB, free: 8.879 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.4135, allocations: 51.17 kB / 0.5179 GB, free: 8.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.4136, allocations: 162.9 kB / 0.518 GB, free: 8.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.4138, allocations: 215.6 kB / 0.5182 GB, free: 8.504 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4138, allocations: 4 kB / 0.5182 GB, free: 8.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002489/0.4141, allocations: 219.3 kB / 0.5184 GB, free: 8.414 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4141, allocations: 7.719 kB / 0.5184 GB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4141, allocations: 7.781 kB / 0.5184 GB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4141, allocations: 3.969 kB / 0.5185 GB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.4143, allocations: 46.53 kB / 0.5185 GB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4143, allocations: 11.78 kB / 0.5185 GB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.4144, allocations: 19.25 kB / 0.5185 GB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.4144, allocations: 15.03 kB / 0.5185 GB, free: 8.383 MB / 330.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 9.151e-05/0.4145, allocations: 155.1 kB / 0.5187 GB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.4147, allocations: 166.2 kB / 0.5188 GB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.4147, allocations: 15.88 kB / 0.5189 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.4148, allocations: 3.969 kB / 0.5189 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4148, allocations: 0 / 0.5189 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4148, allocations: 3.984 kB / 0.5189 GB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.4149, allocations: 202.7 kB / 0.5191 GB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4149, allocations: 0 / 0.5191 GB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.415, allocations: 34.7 kB / 0.5191 GB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.415, allocations: 0 / 0.5191 GB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4151, allocations: 11.66 kB / 0.5191 GB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4151, allocations: 3.984 kB / 0.5191 GB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4151, allocations: 0 / 0.5191 GB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.4154, allocations: 308.8 kB / 0.5194 GB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.4154, allocations: 84.86 kB / 0.5195 GB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.4154, allocations: 14.84 kB / 0.5195 GB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.4155, allocations: 7.828 kB / 0.5195 GB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.4155, allocations: 3.969 kB / 0.5195 GB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.4156, allocations: 7.812 kB / 0.5195 GB, free: 7.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.4156, allocations: 102.4 kB / 0.5196 GB, free: 7.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4156, allocations: 0 / 0.5196 GB, free: 7.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003253/0.4159, allocations: 69.33 kB / 0.5197 GB, free: 7.559 MB / 330.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.0003229/0.4163, allocations: 174.7 kB / 0.5199 GB, free: 7.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.4165, allocations: 161.1 kB / 0.52 GB, free: 7.395 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4166, allocations: 0 / 0.52 GB, free: 7.395 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.099e-05/0.4166, allocations: 11.75 kB / 0.52 GB, free: 7.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.417, allocations: 124.9 kB / 0.5201 GB, free: 7.359 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/0.4176, allocations: 384.4 kB / 0.5205 GB, free: 7.105 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.4178, allocations: 0.73 MB / 0.5212 GB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.4178, allocations: 15.12 kB / 0.5212 GB, free: 6.375 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4178, allocations: 0 / 0.5212 GB, free: 6.375 MB / 330.7 MB Notification: Performance of Templates: time 0.003312/0.4212, allocations: 2.18 MB / 0.5234 GB, free: 4.41 MB / 330.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)