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.001393/0.001393, allocations: 182.5 kB / 16.45 MB, free: 5.656 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.572/1.572, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.0009622/0.0009625, allocations: 98.28 kB / 270.9 MB, free: 8.34 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07791/0.07791, allocations: 12.6 MB / 331.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004597, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08128/0.08176, allocations: 50.37 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1): time 0.001592/0.0834, allocations: 1.266 MB / 443.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007384/0.08417, allocations: 484.1 kB / 444.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.08428, allocations: 0 / 444.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.08448, allocations: 11.92 kB / 444.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.563e-05/0.08454, allocations: 3.938 kB / 444.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.08485, allocations: 51.81 kB / 444.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.08496, allocations: 59.77 kB / 444.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.08506, allocations: 12.19 kB / 444.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.903e-05/0.08517, allocations: 31.91 kB / 444.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.08531, allocations: 31.84 kB / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.08535, allocations: 4 kB / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.08537, allocations: 0 / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.08543, allocations: 23.91 kB / 444.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.08548, allocations: 37.7 kB / 444.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.894e-05/0.08558, allocations: 48.12 kB / 444.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.08559, allocations: 4 kB / 444.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.0856, allocations: 4 kB / 444.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.08561, allocations: 0 / 444.4 MB, free: 14.37 MB / 298.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.0005073/0.08612, allocations: 371 kB / 444.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.08617, allocations: 8.031 kB / 444.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.08623, allocations: 7.906 kB / 444.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.08647, allocations: 200.2 kB / 445 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.0865, allocations: 8 kB / 445 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.08652, allocations: 4 kB / 445 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.08695, allocations: 240.8 kB / 445.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.08697, allocations: 7.938 kB / 445.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.08699, allocations: 0 / 445.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.08701, allocations: 7.938 kB / 445.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.08717, allocations: 63.95 kB / 445.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.08753, allocations: 285.6 kB / 445.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.08769, allocations: 89.12 kB / 445.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.888e-05/0.08779, allocations: 57.88 kB / 445.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.08783, allocations: 4 kB / 445.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.08785, allocations: 38.56 kB / 445.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.08786, allocations: 0 / 445.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003835/0.08825, allocations: 161.5 kB / 445.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.08831, allocations: 88.95 kB / 446 MB, free: 12.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.08841, allocations: 133.8 kB / 446.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.08843, allocations: 25.83 kB / 446.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.08847, allocations: 96.14 kB / 446.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.0885, allocations: 7.891 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.08851, allocations: 8 kB / 446.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.08857, allocations: 322.8 kB / 446.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.08864, allocations: 23.98 kB / 446.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.08872, allocations: 101.4 kB / 446.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.012e-05/0.08881, allocations: 43.92 kB / 446.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.08882, allocations: 0 / 446.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002051/0.08903, allocations: 149.5 kB / 446.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.08906, allocations: 8 kB / 446.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.08907, allocations: 4 kB / 446.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.08909, allocations: 7.938 kB / 446.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.08921, allocations: 23.98 kB / 447 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.08923, allocations: 4 kB / 447 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.0893, allocations: 15.84 kB / 447 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.08932, allocations: 8 kB / 447 MB, free: 11.52 MB / 298.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 8.864e-05/0.08941, allocations: 139 kB / 447.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.08955, allocations: 105.5 kB / 447.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.0896, allocations: 20.31 kB / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.08961, allocations: 0 / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.08962, allocations: 4 kB / 447.3 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.08963, allocations: 3.984 kB / 447.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.08976, allocations: 181.6 kB / 447.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.08977, allocations: 0 / 447.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.08988, allocations: 19.98 kB / 447.5 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.08989, allocations: 4 kB / 447.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.08991, allocations: 0 / 447.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.08992, allocations: 4 kB / 447.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.08992, allocations: 3.938 kB / 447.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.09014, allocations: 228.2 kB / 447.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.09018, allocations: 92.95 kB / 447.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.09021, allocations: 4 kB / 447.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.0903, allocations: 7.984 kB / 447.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.09034, allocations: 4 kB / 447.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.09035, allocations: 0 / 447.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.387e-05/0.0904, allocations: 103.2 kB / 447.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.09041, allocations: 4 kB / 447.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.09065, allocations: 12 kB / 447.9 MB, free: 10.49 MB / 298.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 9.833e-05/0.09075, allocations: 111.2 kB / 448 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.09096, allocations: 91.83 kB / 448.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.09097, allocations: 0 / 448.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.436e-05/0.09101, allocations: 8.688 kB / 448.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.09133, allocations: 67.92 kB / 448.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.09189, allocations: 299.6 kB / 448.5 MB, free: 9.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.09204, allocations: 0.7121 MB / 449.2 MB, free: 9.145 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.09209, allocations: 15.44 kB / 449.2 MB, free: 9.129 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.09209, allocations: 384 / 449.2 MB, free: 9.129 MB / 298.7 MB Notification: Performance of Templates: time 0.002377/0.09447, allocations: 1.226 MB / 450.4 MB, free: 7.906 MB / 298.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)