Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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-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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001574, allocations: 181.3 kB / 15.8 MB, free: 6.336 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.001205/0.001205, allocations: 98.84 kB / 270.3 MB, free: 13.36 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.1007/0.1007, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005932/0.0005932, allocations: 14.16 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.09985, allocations: 50.36 MB / 442.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.2489, allocations: 79.04 MB / 0.5093 GB, free: 11.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.2493, allocations: 67.97 kB / 0.5093 GB, free: 11.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02797/0.2773, allocations: 5.462 MB / 0.5147 GB, free: 6.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2773, allocations: 0 / 0.5147 GB, free: 6.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.2773, allocations: 4.188 kB / 0.5147 GB, free: 6.156 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008132/0.2782, allocations: 430.8 kB / 0.5151 GB, free: 5.688 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.2782, allocations: 8.031 kB / 0.5151 GB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.011e-05/0.2783, allocations: 46.55 kB / 0.5151 GB, free: 5.625 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.2784, allocations: 15.81 kB / 0.5152 GB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.2787, allocations: 194.9 kB / 0.5154 GB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.2787, allocations: 11.95 kB / 0.5154 GB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.2788, allocations: 4 kB / 0.5154 GB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009843/0.2798, allocations: 373.5 kB / 0.5157 GB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2798, allocations: 0 / 0.5157 GB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.2798, allocations: 0 / 0.5157 GB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/0.2799, allocations: 16 kB / 0.5157 GB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.2803, allocations: 103.9 kB / 0.5158 GB, free: 4.863 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.2808, allocations: 313.5 kB / 0.5161 GB, free: 4.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.2814, allocations: 190.1 kB / 0.5163 GB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.2814, allocations: 0 / 0.5163 GB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.2815, allocations: 38.62 kB / 0.5164 GB, free: 4.254 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.913e-06/0.2815, allocations: 3.938 kB / 0.5164 GB, free: 4.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009378/0.2824, allocations: 341.2 kB / 0.5167 GB, free: 3.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.2825, allocations: 89.11 kB / 0.5168 GB, free: 3.789 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.2827, allocations: 117 kB / 0.5169 GB, free: 3.668 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.2827, allocations: 33.77 kB / 0.5169 GB, free: 3.629 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.2828, allocations: 92.47 kB / 0.517 GB, free: 3.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.2829, allocations: 23.88 kB / 0.517 GB, free: 3.508 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.2829, allocations: 7.938 kB / 0.517 GB, free: 3.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2831, allocations: 330.8 kB / 0.5173 GB, free: 3.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.2832, allocations: 43.83 kB / 0.5174 GB, free: 3.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.2835, allocations: 164.1 kB / 0.5175 GB, free: 2.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.2838, allocations: 75.92 kB / 0.5176 GB, free: 2.832 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2838, allocations: 0 / 0.5176 GB, free: 2.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005599/0.2843, allocations: 221.1 kB / 0.5178 GB, free: 2.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.2844, allocations: 8 kB / 0.5178 GB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2844, allocations: 4 kB / 0.5178 GB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.2844, allocations: 8 kB / 0.5178 GB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.2847, allocations: 39.92 kB / 0.5179 GB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.2847, allocations: 4.562 kB / 0.5179 GB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.2849, allocations: 23.89 kB / 0.5179 GB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.2849, allocations: 12 kB / 0.5179 GB, free: 2.512 MB / 362.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 0.0002456/0.2852, allocations: 149.4 kB / 0.5181 GB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004844/0.2857, allocations: 173.4 kB / 0.5182 GB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-05/0.2858, allocations: 20.83 kB / 0.5183 GB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/0.2858, allocations: 4 kB / 0.5183 GB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2858, allocations: 0 / 0.5183 GB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2858, allocations: 0 / 0.5183 GB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.2862, allocations: 209.4 kB / 0.5185 GB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2862, allocations: 8 kB / 0.5185 GB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.2864, allocations: 27.98 kB / 0.5185 GB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.2865, allocations: 4 kB / 0.5185 GB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.2865, allocations: 0 / 0.5185 GB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2865, allocations: 0 / 0.5185 GB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2865, allocations: 0 / 0.5185 GB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.2872, allocations: 319.7 kB / 0.5188 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.2872, allocations: 88.95 kB / 0.5189 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.2873, allocations: 15.94 kB / 0.5189 GB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.2874, allocations: 4 kB / 0.5189 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.2875, allocations: 3.938 kB / 0.5189 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.2875, allocations: 11.98 kB / 0.5189 GB, free: 1.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.2877, allocations: 100.2 kB / 0.519 GB, free: 1.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2877, allocations: 0 / 0.519 GB, free: 1.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005986/0.2883, allocations: 71.88 kB / 0.5191 GB, free: 1.215 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 (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.001841/0.2901, allocations: 1.086 MB / 0.5201 GB, free: 104 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.276/0.5661, allocations: 151.5 kB / 0.5203 GB, free: 84.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.5662, allocations: 1.531 kB / 0.5203 GB, free: 84.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.5663, allocations: 9.672 kB / 0.5203 GB, free: 84.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/0.567, allocations: 114.2 kB / 0.5204 GB, free: 84.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.5699, allocations: 3.646 MB / 0.524 GB, free: 81.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.5702, allocations: 0.7355 MB / 0.5247 GB, free: 80.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.141e-05/0.5703, allocations: 10.44 kB / 0.5247 GB, free: 80.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.5704, allocations: 37.56 kB / 0.5247 GB, free: 80.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5704, allocations: 0 / 0.5247 GB, free: 80.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.6028, allocations: 3.466 MB / 0.5281 GB, free: 80.4 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.6031, allocations: 245.9 kB / 0.5283 GB, free: 80.15 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.07, allocations: 0 / 0.5283 GB, free: 80.15 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe 2>&1)