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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 106.8 kB / 16.31 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 190.5 kB / 17.24 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.1 MB / 223.1 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0819/0.0819, allocations: 12.59 MB / 283.1 MB, free: 15.46 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 87.88 kB / 343.5 MB, free: 2.922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.381, allocations: 49.38 MB / 392.9 MB, free: 49.21 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.004012/0.3851, allocations: 1.701 MB / 394.6 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3863, allocations: 0.6091 MB / 395.2 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.3865, allocations: 6.188 kB / 395.2 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.3866, allocations: 19.86 kB / 395.2 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.3869, allocations: 27.94 kB / 395.2 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.3873, allocations: 114.4 kB / 395.4 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.3875, allocations: 129.6 kB / 395.5 MB, free: 47.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.3877, allocations: 45.72 kB / 395.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.3878, allocations: 65.25 kB / 395.6 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.3881, allocations: 72.42 kB / 395.7 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.3881, allocations: 10.44 kB / 395.7 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.17e-05/0.3882, allocations: 10.5 kB / 395.7 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3883, allocations: 33.23 kB / 395.7 MB, free: 47.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.82e-05/0.3884, allocations: 67.5 kB / 395.8 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.3886, allocations: 134.3 kB / 395.9 MB, free: 47.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3886, allocations: 4.703 kB / 395.9 MB, free: 47.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3886, allocations: 1.969 kB / 395.9 MB, free: 47.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3886, allocations: 0 / 395.9 MB, free: 47.24 MB / 318.1 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.0007675/0.3894, allocations: 441.2 kB / 396.3 MB, free: 46.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.3895, allocations: 11.02 kB / 396.4 MB, free: 46.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.3895, allocations: 16.59 kB / 396.4 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.3898, allocations: 234.8 kB / 396.6 MB, free: 46.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.3899, allocations: 16.69 kB / 396.6 MB, free: 46.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.3899, allocations: 17.22 kB / 396.6 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.3908, allocations: 459.9 kB / 397.1 MB, free: 46.31 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3909, allocations: 1.094 kB / 397.1 MB, free: 46.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.3909, allocations: 5.188 kB / 397.1 MB, free: 46.31 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3909, allocations: 7.453 kB / 397.1 MB, free: 46.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.3912, allocations: 112.8 kB / 397.2 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.3916, allocations: 331.5 kB / 397.5 MB, free: 45.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.3921, allocations: 207.5 kB / 397.7 MB, free: 45.76 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.3924, allocations: 117.1 kB / 397.8 MB, free: 45.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.3924, allocations: 15.34 kB / 397.9 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.3925, allocations: 33.16 kB / 397.9 MB, free: 45.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.282e-06/0.3925, allocations: 4 kB / 397.9 MB, free: 45.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.0007215/0.3932, allocations: 274.8 kB / 398.2 MB, free: 45.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.512e-05/0.3933, allocations: 127.2 kB / 398.3 MB, free: 45.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3934, allocations: 131.8 kB / 398.4 MB, free: 45.24 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3935, allocations: 30.95 kB / 398.5 MB, free: 45.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.3935, allocations: 87.11 kB / 398.5 MB, free: 45.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.3936, allocations: 51.75 kB / 398.6 MB, free: 45.08 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.3936, allocations: 58.69 kB / 398.6 MB, free: 45.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.3937, allocations: 327.5 kB / 399 MB, free: 44.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3939, allocations: 55.62 kB / 399 MB, free: 44.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.3941, allocations: 240.3 kB / 399.3 MB, free: 44.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.3944, allocations: 312.5 kB / 399.6 MB, free: 44.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.3944, allocations: 6.781 kB / 399.6 MB, free: 44.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004802/0.3949, allocations: 308.8 kB / 399.9 MB, free: 43.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.395, allocations: 7.656 kB / 399.9 MB, free: 43.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.395, allocations: 6.562 kB / 399.9 MB, free: 43.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.091e-05/0.395, allocations: 9.125 kB / 399.9 MB, free: 43.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.3953, allocations: 63.81 kB / 400 MB, free: 43.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.3953, allocations: 13 kB / 400 MB, free: 43.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.3954, allocations: 33.17 kB / 400 MB, free: 43.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.3955, allocations: 19.31 kB / 400 MB, free: 43.87 MB / 318.1 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 ($CLKPRE.movingAverage.first,movingAverage.first,$CLKPRE.superSampleIpo1.ticks,superSampleIpo1.ticks,superSampleIpo1.usedFactor,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.superSampleIpo1.first,superSampleIpo1.first,$CLKPRE.upSample1.b,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.3956, allocations: 164.2 kB / 400.2 MB, free: 43.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003502/0.396, allocations: 194.3 kB / 400.4 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.396, allocations: 23.97 kB / 400.4 MB, free: 43.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.396, allocations: 4.844 kB / 400.4 MB, free: 43.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3961, allocations: 0 / 400.4 MB, free: 43.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3961, allocations: 5.078 kB / 400.4 MB, free: 43.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.3963, allocations: 208 kB / 400.6 MB, free: 43.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3963, allocations: 3.938 kB / 400.6 MB, free: 43.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.3965, allocations: 51.75 kB / 400.7 MB, free: 43.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3965, allocations: 5.344 kB / 400.7 MB, free: 43.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.3965, allocations: 11.92 kB / 400.7 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3966, allocations: 1.25 kB / 400.7 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3966, allocations: 1.469 kB / 400.7 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.397, allocations: 325.2 kB / 401 MB, free: 43.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.3971, allocations: 94.14 kB / 401.1 MB, free: 42.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.3971, allocations: 17.52 kB / 401.1 MB, free: 42.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.3973, allocations: 8.562 kB / 401.1 MB, free: 42.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.3973, allocations: 9.047 kB / 401.1 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3973, allocations: 10.91 kB / 401.1 MB, free: 42.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.903e-05/0.3974, allocations: 95.92 kB / 401.2 MB, free: 42.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3974, allocations: 0 / 401.2 MB, free: 42.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.3978, allocations: 40.03 kB / 401.3 MB, free: 42.86 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001544/0.3979, allocations: 118.4 kB / 401.4 MB, free: 42.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005178/0.3985, allocations: 222.7 kB / 401.6 MB, free: 42.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3985, allocations: 0 / 401.6 MB, free: 42.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.3985, allocations: 5.812 kB / 401.6 MB, free: 42.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.3991, allocations: 144.6 kB / 401.7 MB, free: 42.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008044/0.3999, allocations: 366 kB / 402.1 MB, free: 42.33 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.4002, allocations: 0.7398 MB / 402.8 MB, free: 41.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.77e-05/0.4002, allocations: 20.14 kB / 402.9 MB, free: 41.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.4003, allocations: 19.69 kB / 402.9 MB, free: 41.59 MB / 318.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4003, allocations: 0 / 402.9 MB, free: 41.59 MB / 318.1 MB Notification: Performance of Templates: time 0.00524/0.4056, allocations: 1.918 MB / 404.8 MB, free: 40.66 MB / 318.1 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)