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.000968/0.000968, allocations: 179.7 kB / 15.8 MB, free: 6.34 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.522/1.522, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.00114/0.00114, allocations: 90.86 kB / 270.3 MB, free: 13.34 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.08149/0.08149, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004168, allocations: 13.28 kB / 392 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 50.37 MB / 442.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.2271, allocations: 79.13 MB / 0.5093 GB, free: 11.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.2274, allocations: 67.95 kB / 0.5093 GB, free: 11.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01484/0.2423, allocations: 5.132 MB / 0.5144 GB, free: 6.484 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.918e-06/0.2423, allocations: 4 kB / 0.5144 GB, free: 6.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.2423, allocations: 4 kB / 0.5144 GB, free: 6.477 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006647/0.243, allocations: 422.8 kB / 0.5148 GB, free: 6.016 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2431, allocations: 8.031 kB / 0.5148 GB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.245e-05/0.2431, allocations: 19.81 kB / 0.5148 GB, free: 5.988 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.2435, allocations: 222.7 kB / 0.515 GB, free: 5.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.2435, allocations: 19.95 kB / 0.515 GB, free: 5.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.2436, allocations: 20 kB / 0.515 GB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008294/0.2444, allocations: 456.3 kB / 0.5155 GB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2444, allocations: 0 / 0.5155 GB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.2445, allocations: 8 kB / 0.5155 GB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.2445, allocations: 7.984 kB / 0.5155 GB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.2448, allocations: 123.8 kB / 0.5156 GB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.2453, allocations: 326.4 kB / 0.5159 GB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.2457, allocations: 212 kB / 0.5161 GB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.2457, allocations: 12.11 kB / 0.5161 GB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.2457, allocations: 42.86 kB / 0.5162 GB, free: 4.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.422e-06/0.2457, allocations: 0 / 0.5162 GB, free: 4.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006231/0.2464, allocations: 289.1 kB / 0.5165 GB, free: 4.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.2465, allocations: 126.7 kB / 0.5166 GB, free: 3.977 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2466, allocations: 121.4 kB / 0.5167 GB, free: 3.848 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/0.2467, allocations: 33.64 kB / 0.5167 GB, free: 3.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.2467, allocations: 92.7 kB / 0.5168 GB, free: 3.715 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.2468, allocations: 35.69 kB / 0.5168 GB, free: 3.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-06/0.2468, allocations: 4 kB / 0.5168 GB, free: 3.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2469, allocations: 326.8 kB / 0.5172 GB, free: 3.348 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.247, allocations: 52.62 kB / 0.5172 GB, free: 3.293 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.2472, allocations: 242.1 kB / 0.5174 GB, free: 2.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.2474, allocations: 99.84 kB / 0.5175 GB, free: 2.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.2474, allocations: 4 kB / 0.5175 GB, free: 2.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004268/0.2478, allocations: 317.5 kB / 0.5178 GB, free: 2.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2479, allocations: 11.95 kB / 0.5179 GB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2479, allocations: 8 kB / 0.5179 GB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.2479, allocations: 8 kB / 0.5179 GB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.2481, allocations: 63.91 kB / 0.5179 GB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.2481, allocations: 11.94 kB / 0.5179 GB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.2482, allocations: 31.77 kB / 0.518 GB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.2483, allocations: 16 kB / 0.518 GB, free: 2.402 MB / 362.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.0001323/0.2484, allocations: 161.5 kB / 0.5181 GB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.2487, allocations: 197.3 kB / 0.5183 GB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.2488, allocations: 21.19 kB / 0.5183 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2488, allocations: 4 kB / 0.5184 GB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2488, allocations: 0 / 0.5184 GB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2488, allocations: 7.938 kB / 0.5184 GB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.249, allocations: 205.5 kB / 0.5186 GB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2491, allocations: 8 kB / 0.5186 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.2493, allocations: 47.91 kB / 0.5186 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2493, allocations: 4.469 kB / 0.5186 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.2493, allocations: 11.98 kB / 0.5186 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2493, allocations: 4 kB / 0.5186 GB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2493, allocations: 0 / 0.5186 GB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004584/0.2498, allocations: 364.8 kB / 0.519 GB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.2498, allocations: 96.94 kB / 0.5191 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.2499, allocations: 15.95 kB / 0.5191 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.25, allocations: 11.98 kB / 0.5191 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.25, allocations: 0 / 0.5191 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.2501, allocations: 12 kB / 0.5191 GB, free: 1.137 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.492e-05/0.2501, allocations: 95.27 kB / 0.5192 GB, free: 1.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2501, allocations: 4 kB / 0.5192 GB, free: 1.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000312/0.2505, allocations: 36 kB / 0.5192 GB, free: 1.004 MB / 362.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.0001325/0.2506, allocations: 115.2 kB / 0.5193 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003691/0.251, allocations: 197 kB / 0.5195 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.251, allocations: 0 / 0.5195 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.225e-05/0.251, allocations: 15.98 kB / 0.5195 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.2515, allocations: 140.4 kB / 0.5197 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006028/0.2521, allocations: 392.4 kB / 0.5201 GB, free: 128 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1767/0.4288, allocations: 0.7421 MB / 0.5208 GB, free: 85.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.537e-05/0.429, allocations: 13.34 kB / 0.5208 GB, free: 85.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.4291, allocations: 25.83 kB / 0.5208 GB, free: 85.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/0.4291, allocations: 0 / 0.5208 GB, free: 85.73 MB / 362.7 MB Notification: Performance of Templates: time 0.004831/0.4339, allocations: 1.674 MB / 0.5225 GB, free: 85.69 MB / 362.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)