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.00151/0.00151, allocations: 186.5 kB / 16.44 MB, free: 5.691 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.919/1.919, allocations: 205.4 MB / 222.6 MB, free: 9.125 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.001134/0.001134, allocations: 85.55 kB / 270.9 MB, free: 8.379 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.1011/0.1011, allocations: 12.59 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005583/0.0005583, allocations: 12 kB / 392 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08656/0.08715, allocations: 50.38 MB / 442.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5152, allocations: 78.29 MB / 0.5084 GB, free: 12.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.5155, allocations: 58.47 kB / 0.5085 GB, free: 12.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006049/0.5215, allocations: 1.355 MB / 0.5098 GB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5216, allocations: 3.938 kB / 0.5098 GB, free: 12.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.5216, allocations: 0 / 0.5098 GB, free: 12.37 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005315/0.5222, allocations: 385.1 kB / 0.5102 GB, free: 11.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5222, allocations: 7.688 kB / 0.5102 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.5223, allocations: 9.719 kB / 0.5102 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.5225, allocations: 203.4 kB / 0.5104 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.5226, allocations: 10.45 kB / 0.5104 GB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.5226, allocations: 3.906 kB / 0.5104 GB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.5232, allocations: 223.5 kB / 0.5106 GB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5232, allocations: 3.938 kB / 0.5106 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.5232, allocations: 7.781 kB / 0.5106 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.5233, allocations: 0 / 0.5106 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.5235, allocations: 65.91 kB / 0.5107 GB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.524, allocations: 294.9 kB / 0.511 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.5242, allocations: 81.81 kB / 0.5111 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.5242, allocations: 0 / 0.5111 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.5243, allocations: 46.22 kB / 0.5111 GB, free: 11.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.5243, allocations: 0 / 0.5111 GB, free: 11.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.000564/0.5248, allocations: 159.5 kB / 0.5112 GB, free: 11.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.5249, allocations: 84.73 kB / 0.5113 GB, free: 11.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.525, allocations: 119 kB / 0.5114 GB, free: 10.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.5251, allocations: 29.52 kB / 0.5115 GB, free: 10.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.5251, allocations: 158.1 kB / 0.5116 GB, free: 10.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.5252, allocations: 11.62 kB / 0.5116 GB, free: 10.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.5252, allocations: 0 / 0.5116 GB, free: 10.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.406e-05/0.5252, allocations: 326.2 kB / 0.5119 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-05/0.5254, allocations: 26.55 kB / 0.512 GB, free: 10.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.5255, allocations: 99.64 kB / 0.5121 GB, free: 10.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.5256, allocations: 45.3 kB / 0.5121 GB, free: 10.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5257, allocations: 3.938 kB / 0.5121 GB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003359/0.526, allocations: 148.7 kB / 0.5123 GB, free: 10.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.526, allocations: 7.656 kB / 0.5123 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5261, allocations: 0 / 0.5123 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.5261, allocations: 3.875 kB / 0.5123 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.5263, allocations: 31.73 kB / 0.5123 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.5263, allocations: 0 / 0.5123 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.5264, allocations: 15.47 kB / 0.5123 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.5264, allocations: 7.969 kB / 0.5123 GB, free: 10.26 MB / 330.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 0.0001215/0.5266, allocations: 144.5 kB / 0.5125 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.5268, allocations: 102.6 kB / 0.5126 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.5268, allocations: 18.98 kB / 0.5126 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5269, allocations: 0 / 0.5126 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5269, allocations: 0 / 0.5126 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5269, allocations: 7.578 kB / 0.5126 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.5271, allocations: 191.7 kB / 0.5128 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5271, allocations: 0 / 0.5128 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.5273, allocations: 19.33 kB / 0.5128 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.5273, allocations: 4 kB / 0.5128 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.5273, allocations: 10.7 kB / 0.5128 GB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5273, allocations: 0 / 0.5128 GB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5273, allocations: 0 / 0.5128 GB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.5277, allocations: 248.4 kB / 0.513 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.5277, allocations: 88.91 kB / 0.5131 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.5278, allocations: 3.938 kB / 0.5131 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.5279, allocations: 3.781 kB / 0.5131 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.528, allocations: 3.844 kB / 0.5131 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.528, allocations: 3.984 kB / 0.5131 GB, free: 9.547 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.258e-05/0.528, allocations: 102.7 kB / 0.5132 GB, free: 9.469 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5281, allocations: 0 / 0.5132 GB, free: 9.469 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003533/0.5284, allocations: 14.16 kB / 0.5132 GB, free: 9.469 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 (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 0.0001058/0.5285, allocations: 102.6 kB / 0.5133 GB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.5289, allocations: 87.36 kB / 0.5134 GB, free: 9.355 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5289, allocations: 0 / 0.5134 GB, free: 9.355 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.5289, allocations: 22.8 kB / 0.5134 GB, free: 9.348 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.5293, allocations: 62.09 kB / 0.5135 GB, free: 9.328 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007803/0.5301, allocations: 300.2 kB / 0.5138 GB, free: 9.098 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.5303, allocations: 0.7188 MB / 0.5145 GB, free: 8.379 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.5303, allocations: 11.69 kB / 0.5145 GB, free: 8.375 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5304, allocations: 0 / 0.5145 GB, free: 8.375 MB / 330.7 MB Notification: Performance of Templates: time 0.0032/0.5336, allocations: 1.214 MB / 0.5157 GB, free: 7.77 MB / 330.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)