Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") translateModel(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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.0008793/0.0008794, allocations: 171.8 kB / 16.8 MB, free: 5 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.59/1.59, allocations: 205.4 MB / 223 MB, free: 9.027 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.0007817/0.0007819, allocations: 81.17 kB / 271.3 MB, free: 8.254 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.08692/0.08692, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004396, allocations: 19.94 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1142, allocations: 50.36 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.4962, allocations: 79.15 MB / 0.5105 GB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.4965, allocations: 70.36 kB / 0.5106 GB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01321/0.5098, allocations: 5.132 MB / 0.5156 GB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.5098, allocations: 0 / 0.5156 GB, free: 11.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.5098, allocations: 7.906 kB / 0.5156 GB, free: 11.54 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.0005808/0.5104, allocations: 417 kB / 0.516 GB, free: 11.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5105, allocations: 15.19 kB / 0.516 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.5106, allocations: 16.44 kB / 0.516 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.5109, allocations: 242.6 kB / 0.5162 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.5109, allocations: 12 kB / 0.5163 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.511, allocations: 18.53 kB / 0.5163 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/0.5117, allocations: 457.2 kB / 0.5167 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.5118, allocations: 192 / 0.5167 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.5118, allocations: 7.312 kB / 0.5167 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.5118, allocations: 4.094 kB / 0.5167 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.5121, allocations: 120.8 kB / 0.5168 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.5126, allocations: 334.2 kB / 0.5172 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.5129, allocations: 211.1 kB / 0.5174 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.5131, allocations: 119 kB / 0.5175 GB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.5132, allocations: 7.75 kB / 0.5175 GB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.5132, allocations: 37.92 kB / 0.5175 GB, free: 9.898 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.404e-06/0.5132, allocations: 0 / 0.5175 GB, free: 9.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005786/0.5138, allocations: 289.1 kB / 0.5178 GB, free: 9.668 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/0.5139, allocations: 125.3 kB / 0.5179 GB, free: 9.527 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.514, allocations: 135.3 kB / 0.518 GB, free: 9.391 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.514, allocations: 32.89 kB / 0.5181 GB, free: 9.355 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.5141, allocations: 96.02 kB / 0.5182 GB, free: 9.266 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.5141, allocations: 38.25 kB / 0.5182 GB, free: 9.238 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.5141, allocations: 3.562 kB / 0.5182 GB, free: 9.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.5142, allocations: 330.1 kB / 0.5185 GB, free: 8.914 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.5143, allocations: 57.55 kB / 0.5186 GB, free: 8.867 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.5145, allocations: 239.7 kB / 0.5188 GB, free: 8.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.5147, allocations: 311.3 kB / 0.5191 GB, free: 8.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5148, allocations: 0 / 0.5191 GB, free: 8.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004028/0.5152, allocations: 312.1 kB / 0.5194 GB, free: 7.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5152, allocations: 8 kB / 0.5194 GB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5152, allocations: 8 kB / 0.5194 GB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.5152, allocations: 11.98 kB / 0.5194 GB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.5154, allocations: 63.7 kB / 0.5195 GB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.5154, allocations: 23.92 kB / 0.5195 GB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.5156, allocations: 18.91 kB / 0.5195 GB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.5156, allocations: 18.88 kB / 0.5195 GB, free: 7.816 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.0001412/0.5158, allocations: 167.7 kB / 0.5197 GB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.5161, allocations: 189.7 kB / 0.5199 GB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.482e-05/0.5162, allocations: 27.05 kB / 0.5199 GB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5162, allocations: 4 kB / 0.5199 GB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5162, allocations: 0 / 0.5199 GB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5162, allocations: 4 kB / 0.5199 GB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.5164, allocations: 217.9 kB / 0.5201 GB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5164, allocations: 0 / 0.5201 GB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.5166, allocations: 55.03 kB / 0.5202 GB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.5166, allocations: 4 kB / 0.5202 GB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.5167, allocations: 2.875 kB / 0.5202 GB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.5167, allocations: 7.938 kB / 0.5202 GB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5167, allocations: 0 / 0.5202 GB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.5171, allocations: 346.8 kB / 0.5205 GB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.5171, allocations: 88.95 kB / 0.5206 GB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.5172, allocations: 15.75 kB / 0.5206 GB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.5173, allocations: 11.17 kB / 0.5206 GB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.5173, allocations: 96 / 0.5206 GB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.5174, allocations: 27.36 kB / 0.5207 GB, free: 6.723 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.686e-05/0.5174, allocations: 98.34 kB / 0.5208 GB, free: 6.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5174, allocations: 0 / 0.5208 GB, free: 6.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003213/0.5177, allocations: 38.56 kB / 0.5208 GB, free: 6.602 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.0001137/0.5179, allocations: 102.7 kB / 0.5209 GB, free: 6.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.5182, allocations: 198.8 kB / 0.5211 GB, free: 6.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5182, allocations: 4 kB / 0.5211 GB, free: 6.332 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.5183, allocations: 8.688 kB / 0.5211 GB, free: 6.328 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.5188, allocations: 144.2 kB / 0.5212 GB, free: 6.219 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/0.5194, allocations: 391.2 kB / 0.5216 GB, free: 5.836 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.5196, allocations: 0.7435 MB / 0.5223 GB, free: 5.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.788e-05/0.5196, allocations: 13.95 kB / 0.5223 GB, free: 5.059 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.5197, allocations: 30.98 kB / 0.5224 GB, free: 5.031 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5197, allocations: 0 / 0.5224 GB, free: 5.031 MB / 330.7 MB Notification: Performance of Templates: time 0.004191/0.5239, allocations: 1.67 MB / 0.524 GB, free: 3.383 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe 2>&1)