Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.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.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") translateModel(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 186.6 kB / 16.44 MB, free: 5.672 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.931/1.931, allocations: 205.4 MB / 222.6 MB, free: 9.117 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.001146/0.001146, allocations: 90.86 kB / 270.9 MB, free: 8.371 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.09985/0.09985, allocations: 12.59 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000539/0.000539, allocations: 16 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08529, allocations: 50.37 MB / 442.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4179/0.5032, allocations: 79.12 MB / 0.5092 GB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.5035, allocations: 71.7 kB / 0.5093 GB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02172/0.5252, allocations: 5.124 MB / 0.5143 GB, free: 10.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.548e-06/0.5253, allocations: 0 / 0.5143 GB, free: 10.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.5253, allocations: 7.75 kB / 0.5143 GB, free: 10.9 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006252/0.526, allocations: 427.6 kB / 0.5147 GB, free: 10.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.526, allocations: 7.438 kB / 0.5147 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.5261, allocations: 15.25 kB / 0.5148 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.5265, allocations: 231 kB / 0.515 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.5265, allocations: 14.33 kB / 0.515 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.5266, allocations: 18.72 kB / 0.515 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.5276, allocations: 464.3 kB / 0.5155 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5277, allocations: 0 / 0.5155 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.5277, allocations: 7.875 kB / 0.5155 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.5277, allocations: 3.844 kB / 0.5155 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004479/0.5282, allocations: 121.2 kB / 0.5156 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.5287, allocations: 333.5 kB / 0.5159 GB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.5293, allocations: 213.5 kB / 0.5161 GB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.5294, allocations: 7.469 kB / 0.5161 GB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.5294, allocations: 42.05 kB / 0.5161 GB, free: 9.543 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.096e-06/0.5294, allocations: 3.938 kB / 0.5162 GB, free: 9.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009911/0.5304, allocations: 283.5 kB / 0.5164 GB, free: 9.453 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.5305, allocations: 129.7 kB / 0.5165 GB, free: 9.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.5307, allocations: 115.5 kB / 0.5167 GB, free: 9.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.5307, allocations: 33.39 kB / 0.5167 GB, free: 9.188 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.5308, allocations: 166.4 kB / 0.5168 GB, free: 9.031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.5308, allocations: 36.72 kB / 0.5169 GB, free: 9.008 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.5308, allocations: 6.5 kB / 0.5169 GB, free: 9.008 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.5309, allocations: 324.7 kB / 0.5172 GB, free: 8.691 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.5311, allocations: 52.44 kB / 0.5172 GB, free: 8.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.5313, allocations: 240.9 kB / 0.5175 GB, free: 8.426 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.5316, allocations: 97.52 kB / 0.5176 GB, free: 8.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.5316, allocations: 7.828 kB / 0.5176 GB, free: 8.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007852/0.5324, allocations: 307.4 kB / 0.5179 GB, free: 8.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.5324, allocations: 11.7 kB / 0.5179 GB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.5325, allocations: 7.719 kB / 0.5179 GB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.209e-05/0.5325, allocations: 11.81 kB / 0.5179 GB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.5329, allocations: 61.78 kB / 0.518 GB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.5329, allocations: 11.59 kB / 0.518 GB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.5331, allocations: 26.34 kB / 0.518 GB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.5331, allocations: 18.81 kB / 0.518 GB, free: 8.262 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 11 (movingAverage.first,$CLKPRE.movingAverage.first,superSampleIpo1.ticks,$CLKPRE.superSampleIpo1.ticks,superSampleIpo1.usedFactor,upSample1.b_super,$CLKPRE.upSample1.b_super,superSampleIpo1.first,$CLKPRE.superSampleIpo1.first,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 11 (movingAverage.yy,movingAverage.first,movingAverage.u_buffer[4],movingAverage.u_buffer[3],movingAverage.u_buffer[2],movingAverage.u_buffer[1],superSampleIpo1.ticks,upSample1.b_super,superSampleIpo1.first,superSampleIpo1.uu,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0002244/0.5334, allocations: 154.3 kB / 0.5182 GB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006017/0.534, allocations: 190.9 kB / 0.5183 GB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.617e-05/0.5341, allocations: 28.92 kB / 0.5184 GB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.5341, allocations: 3.812 kB / 0.5184 GB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5341, allocations: 4.312 kB / 0.5184 GB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.5341, allocations: 7.938 kB / 0.5184 GB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.5344, allocations: 214.2 kB / 0.5186 GB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5344, allocations: 0 / 0.5186 GB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.5347, allocations: 46.62 kB / 0.5186 GB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.5348, allocations: 7.781 kB / 0.5186 GB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.5348, allocations: 10.92 kB / 0.5187 GB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.5348, allocations: 0 / 0.5187 GB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5348, allocations: 4 kB / 0.5187 GB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.5355, allocations: 365.9 kB / 0.519 GB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.5355, allocations: 100.6 kB / 0.5191 GB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.5356, allocations: 15.72 kB / 0.5191 GB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.5358, allocations: 11.47 kB / 0.5191 GB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.5359, allocations: 7.484 kB / 0.5191 GB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.5359, allocations: 7.719 kB / 0.5191 GB, free: 7.453 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.257e-05/0.536, allocations: 99.78 kB / 0.5192 GB, free: 7.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.536, allocations: 0 / 0.5192 GB, free: 7.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004768/0.5365, allocations: 33.75 kB / 0.5193 GB, free: 7.375 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (upSample1.b_super,superSampleIpo1.usedFactor,superSampleIpo1.ticks,movingAverage.first,upSample1.b,superSampleIpo1.first) * Number of discrete states: 0 () * Number of clocked states: 11 (upSample1.b_super,superSampleIpo1.ticks,movingAverage.u_buffer[1],movingAverage.u_buffer[2],movingAverage.u_buffer[3],movingAverage.u_buffer[4],movingAverage.first,movingAverage.yy,upSample1.b,superSampleIpo1.uu,superSampleIpo1.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.0001852/0.5367, allocations: 114.1 kB / 0.5194 GB, free: 7.273 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005969/0.5373, allocations: 192.5 kB / 0.5196 GB, free: 7.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.5373, allocations: 8 kB / 0.5196 GB, free: 7.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.5374, allocations: 14.67 kB / 0.5196 GB, free: 7.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.538, allocations: 130.6 kB / 0.5197 GB, free: 7.195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.5389, allocations: 417.5 kB / 0.5201 GB, free: 6.793 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.5391, allocations: 0.7399 MB / 0.5208 GB, free: 6.031 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.578e-05/0.5392, allocations: 30.98 kB / 0.5209 GB, free: 6.004 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5392, allocations: 0 / 0.5209 GB, free: 6.004 MB / 330.7 MB Notification: Performance of Templates: time 0.005324/0.5446, allocations: 2.184 MB / 0.523 GB, free: 3.836 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe 2>&1)