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.001519/0.001519, allocations: 181 kB / 13.7 MB, free: 1.625 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.982/1.982, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001072/0.001072, allocations: 90.64 kB / 267.6 MB, free: 14.1 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.09905/0.09905, allocations: 12.6 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.866e-05/4.892e-05, allocations: 7.984 kB / 386 MB, free: 1.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.306, allocations: 50.37 MB / 436.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.4448, allocations: 78.22 MB / 0.5025 GB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4451, allocations: 59.98 kB / 0.5025 GB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00608/0.4512, allocations: 1.34 MB / 0.5039 GB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4512, allocations: 0 / 0.5039 GB, free: 14.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.4512, allocations: 4 kB / 0.5039 GB, free: 14.45 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004971/0.4517, allocations: 370.3 kB / 0.5042 GB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.4518, allocations: 8.031 kB / 0.5042 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.4519, allocations: 15.81 kB / 0.5042 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.4522, allocations: 194.8 kB / 0.5044 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.4522, allocations: 7.953 kB / 0.5044 GB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.4522, allocations: 8 kB / 0.5044 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.4528, allocations: 220.8 kB / 0.5046 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4528, allocations: 0 / 0.5046 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.4528, allocations: 0 / 0.5046 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.4529, allocations: 4 kB / 0.5047 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.4531, allocations: 55.91 kB / 0.5047 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.4537, allocations: 289.7 kB / 0.505 GB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.454, allocations: 81.08 kB / 0.5051 GB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.4542, allocations: 53.77 kB / 0.5051 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.4543, allocations: 4 kB / 0.5051 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.4543, allocations: 30.56 kB / 0.5051 GB, free: 12.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 4.028e-06/0.4544, allocations: 0 / 0.5051 GB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004918/0.4549, allocations: 121.6 kB / 0.5053 GB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.455, allocations: 89.02 kB / 0.5053 GB, free: 12.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.4552, allocations: 119.4 kB / 0.5055 GB, free: 12.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.4552, allocations: 25.7 kB / 0.5055 GB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.4553, allocations: 158.6 kB / 0.5056 GB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.4554, allocations: 11.91 kB / 0.5056 GB, free: 12.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.4554, allocations: 4 kB / 0.5056 GB, free: 12.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4556, allocations: 322.8 kB / 0.506 GB, free: 12.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-05/0.4557, allocations: 20 kB / 0.506 GB, free: 12.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.4559, allocations: 89.44 kB / 0.5061 GB, free: 11.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.456, allocations: 43.91 kB / 0.5061 GB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.456, allocations: 0 / 0.5061 GB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004385/0.4565, allocations: 125.4 kB / 0.5062 GB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.4565, allocations: 12.33 kB / 0.5062 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4566, allocations: 8 kB / 0.5062 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.4566, allocations: 3.984 kB / 0.5062 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.4569, allocations: 23.98 kB / 0.5063 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.4569, allocations: 7.938 kB / 0.5063 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.4571, allocations: 11.91 kB / 0.5063 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.4572, allocations: 4 kB / 0.5063 GB, free: 11.68 MB / 362.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 () * 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.000136/0.4573, allocations: 124.6 kB / 0.5064 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/0.4577, allocations: 101.5 kB / 0.5065 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.548e-05/0.4578, allocations: 24.61 kB / 0.5065 GB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4578, allocations: 0 / 0.5065 GB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.4578, allocations: 8 kB / 0.5065 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4578, allocations: 0 / 0.5065 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.4582, allocations: 177.6 kB / 0.5067 GB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4582, allocations: 0 / 0.5067 GB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.4585, allocations: 24.11 kB / 0.5067 GB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.4585, allocations: 0 / 0.5067 GB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.4586, allocations: 11.92 kB / 0.5067 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.4586, allocations: 4 kB / 0.5067 GB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4586, allocations: 4 kB / 0.5067 GB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.4591, allocations: 222 kB / 0.507 GB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.4592, allocations: 88.95 kB / 0.507 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.4592, allocations: 8 kB / 0.5071 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.4595, allocations: 4 kB / 0.5071 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.4595, allocations: 11.92 kB / 0.5071 GB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.4596, allocations: 4 kB / 0.5071 GB, free: 10.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.4597, allocations: 99.83 kB / 0.5072 GB, free: 10.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.925e-06/0.4597, allocations: 0 / 0.5072 GB, free: 10.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006527/0.4604, allocations: 19.94 kB / 0.5072 GB, free: 10.66 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 (fIRbyCoefficients.first) * Number of discrete states: 0 () * 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.0001554/0.4605, allocations: 95.25 kB / 0.5073 GB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.4609, allocations: 76.48 kB / 0.5074 GB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4609, allocations: 4.062 kB / 0.5074 GB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.461, allocations: 8 kB / 0.5074 GB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.4615, allocations: 59.75 kB / 0.5074 GB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.4625, allocations: 199.8 kB / 0.5076 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.4629, allocations: 0.7121 MB / 0.5083 GB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.463, allocations: 15.44 kB / 0.5083 GB, free: 9.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4631, allocations: 4.062 kB / 0.5083 GB, free: 9.426 MB / 362.7 MB Notification: Performance of Templates: time 0.004972/0.468, allocations: 1.208 MB / 0.5095 GB, free: 8.219 MB / 362.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)