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.001469/0.001469, allocations: 180.1 kB / 8.405 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.3 MB / 214.1 MB, free: 1.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 86.64 kB / 262.2 MB, free: 1.676 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.1436/0.1436, allocations: 12.61 MB / 322.7 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.564e-05, allocations: 4 kB / 378.9 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3754, allocations: 50.37 MB / 429.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.5272, allocations: 78.3 MB / 0.4957 GB, free: 4.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.5275, allocations: 59.97 kB / 0.4957 GB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02684/0.5544, allocations: 5.417 MB / 0.501 GB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5544, allocations: 0 / 0.501 GB, free: 14.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.5544, allocations: 4 kB / 0.501 GB, free: 14.53 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.0006318/0.5551, allocations: 414.2 kB / 0.5014 GB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.5551, allocations: 8.031 kB / 0.5014 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.5552, allocations: 15.91 kB / 0.5014 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.5555, allocations: 206.8 kB / 0.5016 GB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.5555, allocations: 3.953 kB / 0.5016 GB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.5556, allocations: 4 kB / 0.5017 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002785/0.5559, allocations: 91.95 kB / 0.5017 GB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007921/0.5567, allocations: 343.8 kB / 0.5021 GB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5567, allocations: 0 / 0.5021 GB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.5567, allocations: 0 / 0.5021 GB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.5568, allocations: 11.98 kB / 0.5021 GB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.5573, allocations: 286.1 kB / 0.5024 GB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.5576, allocations: 169.4 kB / 0.5025 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.5579, allocations: 101.7 kB / 0.5026 GB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.5579, allocations: 8 kB / 0.5026 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.558, allocations: 34.56 kB / 0.5026 GB, free: 12.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.904e-06/0.558, allocations: 0 / 0.5026 GB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005029/0.5585, allocations: 165.6 kB / 0.5028 GB, free: 12.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.5586, allocations: 88.95 kB / 0.5029 GB, free: 12.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.5587, allocations: 114.4 kB / 0.503 GB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.5588, allocations: 29.64 kB / 0.503 GB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.5589, allocations: 162.9 kB / 0.5032 GB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.5589, allocations: 19.97 kB / 0.5032 GB, free: 12.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-06/0.5589, allocations: 0 / 0.5032 GB, free: 12.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5591, allocations: 318.8 kB / 0.5035 GB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.5592, allocations: 39.84 kB / 0.5035 GB, free: 11.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.5594, allocations: 144.7 kB / 0.5037 GB, free: 11.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.5595, allocations: 63.91 kB / 0.5037 GB, free: 11.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.5595, allocations: 8 kB / 0.5038 GB, free: 11.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003768/0.5599, allocations: 169.8 kB / 0.5039 GB, free: 11.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5599, allocations: 7.984 kB / 0.5039 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.56, allocations: 8.031 kB / 0.5039 GB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.56, allocations: 8 kB / 0.5039 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.5602, allocations: 39.92 kB / 0.504 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.5603, allocations: 7.938 kB / 0.504 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.5604, allocations: 15.91 kB / 0.504 GB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.5605, allocations: 16 kB / 0.504 GB, free: 11.18 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.00011/0.5606, allocations: 116.8 kB / 0.5041 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003998/0.561, allocations: 159.9 kB / 0.5043 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.51e-05/0.5611, allocations: 24.73 kB / 0.5043 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.5611, allocations: 4 kB / 0.5043 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5611, allocations: 0 / 0.5043 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5611, allocations: 0 / 0.5043 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.5614, allocations: 170.1 kB / 0.5045 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.5614, allocations: 3.953 kB / 0.5045 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.5616, allocations: 27.92 kB / 0.5045 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.5617, allocations: 4 kB / 0.5045 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.5617, allocations: 0 / 0.5045 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5617, allocations: 0 / 0.5045 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.5617, allocations: 7.984 kB / 0.5045 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.5622, allocations: 290.8 kB / 0.5048 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.5623, allocations: 88.95 kB / 0.5049 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.5623, allocations: 11.98 kB / 0.5049 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.5625, allocations: 4 kB / 0.5049 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.5625, allocations: 15.88 kB / 0.5049 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.5626, allocations: 7.984 kB / 0.5049 GB, free: 10.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.1e-05/0.5627, allocations: 99.22 kB / 0.505 GB, free: 10.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5627, allocations: 0 / 0.505 GB, free: 10.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005665/0.5632, allocations: 59.92 kB / 0.5051 GB, free: 10.02 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.0004936/0.5638, allocations: 161.4 kB / 0.5052 GB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.5641, allocations: 127.8 kB / 0.5053 GB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5641, allocations: 0 / 0.5053 GB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-05/0.5641, allocations: 11.98 kB / 0.5053 GB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.5647, allocations: 99.88 kB / 0.5054 GB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008731/0.5656, allocations: 264.5 kB / 0.5057 GB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.566, allocations: 0.7359 MB / 0.5064 GB, free: 8.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.5661, allocations: 15.44 kB / 0.5064 GB, free: 8.547 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5661, allocations: 3.938 kB / 0.5064 GB, free: 8.543 MB / 362.7 MB Notification: Performance of Templates: time 0.006071/0.5722, allocations: 2.217 MB / 0.5086 GB, free: 6.332 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)