Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 186.6 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 2.038/2.038, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001106/0.001106, allocations: 82.75 kB / 267.5 MB, free: 14.05 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.09683/0.09683, allocations: 12.6 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.68e-05, allocations: 7.984 kB / 386 MB, free: 1.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3053, allocations: 50.37 MB / 436.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.4566, allocations: 78.95 MB / 0.5032 GB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.4569, allocations: 67.97 kB / 0.5033 GB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0274/0.4844, allocations: 5.436 MB / 0.5086 GB, free: 9.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4844, allocations: 4 kB / 0.5086 GB, free: 9.582 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.4844, allocations: 192 / 0.5086 GB, free: 9.582 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.0007259/0.4852, allocations: 426 kB / 0.509 GB, free: 9.121 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.4852, allocations: 8.031 kB / 0.509 GB, free: 9.113 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.4853, allocations: 7.906 kB / 0.509 GB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.4856, allocations: 204.8 kB / 0.5092 GB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.4857, allocations: 11.95 kB / 0.5092 GB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.4857, allocations: 7.984 kB / 0.5092 GB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.4866, allocations: 353.9 kB / 0.5096 GB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4866, allocations: 0 / 0.5096 GB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.4866, allocations: 7.984 kB / 0.5096 GB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.4867, allocations: 4 kB / 0.5096 GB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.4869, allocations: 91.89 kB / 0.5097 GB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.4875, allocations: 321.6 kB / 0.51 GB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.4879, allocations: 181.4 kB / 0.5101 GB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.4882, allocations: 105.8 kB / 0.5102 GB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.4882, allocations: 0 / 0.5102 GB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.4883, allocations: 38.5 kB / 0.5103 GB, free: 7.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.224e-06/0.4883, allocations: 4 kB / 0.5103 GB, free: 7.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005147/0.4888, allocations: 173.5 kB / 0.5104 GB, free: 7.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.979e-05/0.4889, allocations: 106.2 kB / 0.5106 GB, free: 7.359 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.4891, allocations: 115.7 kB / 0.5107 GB, free: 7.242 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.4891, allocations: 29.69 kB / 0.5107 GB, free: 7.207 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.4892, allocations: 159 kB / 0.5108 GB, free: 7.047 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.4893, allocations: 23.83 kB / 0.5109 GB, free: 7.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.4893, allocations: 0 / 0.5109 GB, free: 7.023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4894, allocations: 326.8 kB / 0.5112 GB, free: 6.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.4895, allocations: 39.84 kB / 0.5112 GB, free: 6.656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.4897, allocations: 148.2 kB / 0.5114 GB, free: 6.453 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4899, allocations: 67.91 kB / 0.5114 GB, free: 6.387 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.4899, allocations: 4 kB / 0.5114 GB, free: 6.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000447/0.4904, allocations: 201.1 kB / 0.5116 GB, free: 6.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.4904, allocations: 8 kB / 0.5116 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4904, allocations: 4 kB / 0.5116 GB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.4905, allocations: 8.594 kB / 0.5116 GB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.4907, allocations: 43.92 kB / 0.5117 GB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.4908, allocations: 7.984 kB / 0.5117 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.4909, allocations: 19.84 kB / 0.5117 GB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.491, allocations: 16 kB / 0.5117 GB, free: 6.074 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 () * 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.0001253/0.4911, allocations: 120.7 kB / 0.5118 GB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004215/0.4915, allocations: 169.4 kB / 0.512 GB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.4916, allocations: 16.75 kB / 0.512 GB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/0.4916, allocations: 4 kB / 0.512 GB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4917, allocations: 0 / 0.512 GB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4917, allocations: 7.984 kB / 0.512 GB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.492, allocations: 205.4 kB / 0.5122 GB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.492, allocations: 4 kB / 0.5122 GB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.4922, allocations: 31.98 kB / 0.5123 GB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.4922, allocations: 0 / 0.5123 GB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.4923, allocations: 0 / 0.5123 GB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.4923, allocations: 7.984 kB / 0.5123 GB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4923, allocations: 3.984 kB / 0.5123 GB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.4928, allocations: 301.7 kB / 0.5126 GB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.4929, allocations: 88.95 kB / 0.5126 GB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.4929, allocations: 15.94 kB / 0.5127 GB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.4931, allocations: 4 kB / 0.5127 GB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.4931, allocations: 7.938 kB / 0.5127 GB, free: 5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.4932, allocations: 11.94 kB / 0.5127 GB, free: 4.988 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.285e-05/0.4933, allocations: 96.81 kB / 0.5128 GB, free: 4.895 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4933, allocations: 4 kB / 0.5128 GB, free: 4.891 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005842/0.4939, allocations: 71.92 kB / 0.5128 GB, free: 4.82 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 () * 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.0005481/0.4945, allocations: 167.6 kB / 0.513 GB, free: 4.652 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.4949, allocations: 140.8 kB / 0.5131 GB, free: 4.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4949, allocations: 4.062 kB / 0.5131 GB, free: 4.512 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.084e-05/0.4949, allocations: 4 kB / 0.5131 GB, free: 4.508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008164/0.4957, allocations: 116.9 kB / 0.5133 GB, free: 4.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.4973, allocations: 268.2 kB / 0.5135 GB, free: 4.102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.4979, allocations: 0.7362 MB / 0.5142 GB, free: 3.336 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.224e-05/0.498, allocations: 19.5 kB / 0.5142 GB, free: 3.316 MB / 362.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4981, allocations: 0 / 0.5142 GB, free: 3.316 MB / 362.7 MB Notification: Performance of Templates: time 0.006482/0.5045, allocations: 2.199 MB / 0.5164 GB, free: 1.109 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe 2>&1)