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.001146/0.001146, allocations: 173.7 kB / 16.76 MB, free: 5.051 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.29/1.29, allocations: 205 MB / 222.5 MB, free: 9.066 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.0007317/0.0007318, allocations: 88.98 kB / 270.5 MB, free: 8.672 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.06445/0.06445, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06726/0.06759, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.001469/0.06909, allocations: 1.426 MB / 443.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007918/0.06991, allocations: 0.597 MB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.07003, allocations: 7.938 kB / 443.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.07018, allocations: 7.875 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.07036, allocations: 23.91 kB / 443.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.0707, allocations: 99.83 kB / 443.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.07083, allocations: 123.7 kB / 444 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.07094, allocations: 25.08 kB / 444 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.07105, allocations: 59.7 kB / 444.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.07119, allocations: 67.67 kB / 444.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.07122, allocations: 8 kB / 444.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.07125, allocations: 4 kB / 444.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.07131, allocations: 35.89 kB / 444.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.07137, allocations: 59.59 kB / 444.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.059e-05/0.07147, allocations: 96.03 kB / 444.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.07148, allocations: 0 / 444.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.07148, allocations: 0 / 444.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.07149, allocations: 0 / 444.3 MB, free: 13.75 MB / 298.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.0004778/0.07197, allocations: 419 kB / 444.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.07201, allocations: 8.031 kB / 444.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.07207, allocations: 16.75 kB / 444.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.07225, allocations: 231.7 kB / 445 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.07228, allocations: 12.38 kB / 445 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.0723, allocations: 16.38 kB / 445 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.07295, allocations: 469.2 kB / 445.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.07297, allocations: 0 / 445.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.07299, allocations: 4 kB / 445.5 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.073, allocations: 7.938 kB / 445.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.07327, allocations: 119.9 kB / 445.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.07354, allocations: 330.3 kB / 445.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.07388, allocations: 215.8 kB / 446.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.07406, allocations: 110.6 kB / 446.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.0741, allocations: 12.12 kB / 446.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.07412, allocations: 30.56 kB / 446.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.403e-06/0.07413, allocations: 0 / 446.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005316/0.07466, allocations: 293.5 kB / 446.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.07473, allocations: 130.7 kB / 446.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.0748, allocations: 130.1 kB / 446.8 MB, free: 11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.07482, allocations: 25.7 kB / 446.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.07485, allocations: 100.9 kB / 446.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.07489, allocations: 39.64 kB / 447 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.07493, allocations: 33.7 kB / 447 MB, free: 10.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.07498, allocations: 334.8 kB / 447.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.07507, allocations: 52.62 kB / 447.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.07521, allocations: 246 kB / 447.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.07545, allocations: 316.4 kB / 447.9 MB, free: 9.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.07546, allocations: 4 kB / 447.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003656/0.07583, allocations: 316.9 kB / 448.3 MB, free: 9.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.07585, allocations: 8 kB / 448.3 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.07587, allocations: 8.375 kB / 448.3 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.07589, allocations: 12 kB / 448.3 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.07606, allocations: 64.56 kB / 448.3 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.07608, allocations: 19.92 kB / 448.4 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.0762, allocations: 31.78 kB / 448.4 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.07622, allocations: 16 kB / 448.4 MB, free: 9.195 MB / 298.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 ($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 9.373e-05/0.07632, allocations: 158.5 kB / 448.6 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.0766, allocations: 197.3 kB / 448.8 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.07665, allocations: 21.19 kB / 448.8 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.07666, allocations: 0 / 448.8 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.07667, allocations: 4 kB / 448.8 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.07668, allocations: 7.984 kB / 448.8 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.07683, allocations: 213.4 kB / 449 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.07684, allocations: 7.938 kB / 449 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.07701, allocations: 43.98 kB / 449.1 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.07703, allocations: 0 / 449.1 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.07705, allocations: 11.98 kB / 449.1 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.07706, allocations: 0 / 449.1 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.07706, allocations: 7.938 kB / 449.1 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.07743, allocations: 341.9 kB / 449.4 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.07747, allocations: 88.95 kB / 449.5 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.07751, allocations: 16 kB / 449.5 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.07762, allocations: 7.984 kB / 449.5 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.07766, allocations: 8 kB / 449.5 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.07768, allocations: 8 kB / 449.5 MB, free: 7.973 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.744e-05/0.07772, allocations: 107.2 kB / 449.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.07773, allocations: 0 / 449.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.07803, allocations: 36 kB / 449.7 MB, free: 7.832 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.213e-05/0.07811, allocations: 107.2 kB / 449.8 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.07843, allocations: 204.1 kB / 450 MB, free: 7.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.07845, allocations: 0 / 450 MB, free: 7.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.07849, allocations: 9.312 kB / 450 MB, free: 7.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.07894, allocations: 141.4 kB / 450.1 MB, free: 7.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007039/0.07966, allocations: 457.5 kB / 450.6 MB, free: 6.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.07984, allocations: 0.7443 MB / 451.3 MB, free: 6.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.07989, allocations: 19.44 kB / 451.3 MB, free: 6.094 MB / 298.7 MB Notification: Performance of SimCode: time 4.8e-07/0.0799, allocations: 0 / 451.3 MB, free: 6.094 MB / 298.7 MB Notification: Performance of Templates: time 0.003496/0.0834, allocations: 2.238 MB / 453.6 MB, free: 3.859 MB / 298.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)