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/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_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.0008726/0.0008726, allocations: 181.3 kB / 17.46 MB, free: 4.367 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.197/1.197, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0006807/0.0006807, allocations: 86.41 kB / 272 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06304/0.06304, allocations: 12.21 MB / 332.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004278, allocations: 16 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07552/0.07596, allocations: 50.29 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2848/0.3608, allocations: 78.25 MB / 0.509 GB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.361, allocations: 60.12 kB / 0.5091 GB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003656/0.3647, allocations: 1.356 MB / 0.5104 GB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3647, allocations: 0 / 0.5104 GB, free: 12.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.3647, allocations: 0 / 0.5104 GB, free: 12.55 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.0003852/0.3651, allocations: 382.1 kB / 0.5108 GB, free: 12.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3652, allocations: 11.5 kB / 0.5108 GB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.3652, allocations: 14.25 kB / 0.5108 GB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.3654, allocations: 199.2 kB / 0.511 GB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3654, allocations: 384 / 0.511 GB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3654, allocations: 11.77 kB / 0.511 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.3658, allocations: 233.2 kB / 0.5112 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3658, allocations: 4.062 kB / 0.5112 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3658, allocations: 3.938 kB / 0.5112 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.3659, allocations: 3.875 kB / 0.5112 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.366, allocations: 73.58 kB / 0.5113 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.3663, allocations: 283 kB / 0.5116 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.3665, allocations: 92.47 kB / 0.5117 GB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/0.3666, allocations: 52.92 kB / 0.5117 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.3666, allocations: 11.8 kB / 0.5117 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.3666, allocations: 37.98 kB / 0.5118 GB, free: 11.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3666, allocations: 0 / 0.5118 GB, free: 11.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003456/0.367, allocations: 162.7 kB / 0.5119 GB, free: 11.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.3671, allocations: 92.12 kB / 0.512 GB, free: 11.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.386e-05/0.3671, allocations: 124 kB / 0.5121 GB, free: 11.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.3672, allocations: 29.64 kB / 0.5122 GB, free: 11.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.3672, allocations: 93.25 kB / 0.5123 GB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.3672, allocations: 18.3 kB / 0.5123 GB, free: 10.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.3672, allocations: 0 / 0.5123 GB, free: 10.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.3673, allocations: 324.8 kB / 0.5126 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.3673, allocations: 33.62 kB / 0.5126 GB, free: 10.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-05/0.3674, allocations: 92.38 kB / 0.5127 GB, free: 10.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3676, allocations: 134.7 kB / 0.5128 GB, free: 10.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3676, allocations: 3.938 kB / 0.5128 GB, free: 10.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001988/0.3678, allocations: 150.7 kB / 0.513 GB, free: 10.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3678, allocations: 7.656 kB / 0.513 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3678, allocations: 3.875 kB / 0.513 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3679, allocations: 0 / 0.513 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.368, allocations: 31.02 kB / 0.513 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.368, allocations: 0.7188 kB / 0.513 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/0.368, allocations: 19.06 kB / 0.513 GB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3681, allocations: 7.734 kB / 0.513 GB, free: 10.35 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 7.671e-05/0.3681, allocations: 136.1 kB / 0.5132 GB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.3683, allocations: 104.3 kB / 0.5133 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.3683, allocations: 18.2 kB / 0.5133 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3683, allocations: 0 / 0.5133 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3683, allocations: 3.844 kB / 0.5133 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3684, allocations: 0 / 0.5133 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.3685, allocations: 187 kB / 0.5135 GB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3685, allocations: 4 kB / 0.5135 GB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.3686, allocations: 19.36 kB / 0.5135 GB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3686, allocations: 0 / 0.5135 GB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3686, allocations: 11.27 kB / 0.5135 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3686, allocations: 0 / 0.5135 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3686, allocations: 0 / 0.5135 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.3688, allocations: 236.1 kB / 0.5137 GB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.3689, allocations: 88.88 kB / 0.5138 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3689, allocations: 3.312 kB / 0.5138 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.369, allocations: 3.875 kB / 0.5138 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.369, allocations: 3.906 kB / 0.5138 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.369, allocations: 4.484 kB / 0.5138 GB, free: 9.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.725e-05/0.3691, allocations: 101.9 kB / 0.5139 GB, free: 9.582 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3691, allocations: 4 kB / 0.5139 GB, free: 9.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.3693, allocations: 14.34 kB / 0.5139 GB, free: 9.578 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 7.666e-05/0.3694, allocations: 98.09 kB / 0.514 GB, free: 9.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.3696, allocations: 89.8 kB / 0.5141 GB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3696, allocations: 0.6875 kB / 0.5141 GB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.3696, allocations: 19.64 kB / 0.5141 GB, free: 9.461 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.37, allocations: 56.42 kB / 0.5142 GB, free: 9.449 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.3705, allocations: 310.6 kB / 0.5145 GB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.3707, allocations: 0.7035 MB / 0.5152 GB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.3707, allocations: 11.31 kB / 0.5152 GB, free: 8.504 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3707, allocations: 0 / 0.5152 GB, free: 8.504 MB / 330.7 MB Notification: Performance of Templates: time 0.00227/0.373, allocations: 1.239 MB / 0.5164 GB, free: 7.883 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)