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.00105/0.00105, allocations: 175.3 kB / 16.45 MB, free: 5.684 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.54/1.54, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0007476/0.0007476, allocations: 90.3 kB / 270.9 MB, free: 8.352 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.06423/0.06423, allocations: 12.6 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003998, allocations: 16 kB / 392.7 MB, free: 66.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07565/0.07606, allocations: 50.38 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.001539/0.07764, allocations: 1.387 MB / 444.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000845/0.07852, allocations: 0.5857 MB / 445 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.07867, allocations: 7.938 kB / 445 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.827e-05/0.07878, allocations: 3.938 kB / 445 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.07902, allocations: 27.84 kB / 445.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.07937, allocations: 95.89 kB / 445.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.07952, allocations: 123.6 kB / 445.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.438e-05/0.07962, allocations: 33.03 kB / 445.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.07973, allocations: 47.78 kB / 445.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.07985, allocations: 55.75 kB / 445.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.07988, allocations: 4 kB / 445.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.84e-05/0.07991, allocations: 4 kB / 445.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.07996, allocations: 39.89 kB / 445.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.08001, allocations: 49.64 kB / 445.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.373e-05/0.08011, allocations: 95.97 kB / 445.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.08012, allocations: 0 / 445.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.08013, allocations: 0 / 445.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.08013, allocations: 0 / 445.6 MB, free: 13.21 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.0005243/0.08066, allocations: 414.9 kB / 446 MB, free: 12.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.0807, allocations: 12.03 kB / 446 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.08075, allocations: 15.81 kB / 446 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.08094, allocations: 235.8 kB / 446.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.08097, allocations: 12 kB / 446.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.081, allocations: 16 kB / 446.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/0.0817, allocations: 468.6 kB / 446.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.08172, allocations: 0 / 446.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.08174, allocations: 12 kB / 446.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.08175, allocations: 4 kB / 446.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.08201, allocations: 115.9 kB / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.08232, allocations: 330.3 kB / 447.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.08267, allocations: 211.8 kB / 447.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.08286, allocations: 123 kB / 447.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.0829, allocations: 4 kB / 447.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.08292, allocations: 46.55 kB / 447.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.242e-06/0.08293, allocations: 0 / 447.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.00054/0.08347, allocations: 285.2 kB / 447.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.08355, allocations: 130.7 kB / 448 MB, free: 10.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/0.08362, allocations: 126 kB / 448.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.08365, allocations: 33.7 kB / 448.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.08368, allocations: 88.7 kB / 448.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.08372, allocations: 39.62 kB / 448.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.08373, allocations: 8.125 kB / 448.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.08379, allocations: 330.8 kB / 448.6 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.252e-05/0.08389, allocations: 56.55 kB / 448.6 MB, free: 9.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.08404, allocations: 234.1 kB / 448.9 MB, free: 9.566 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.08418, allocations: 107.8 kB / 449 MB, free: 9.461 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.08419, allocations: 8.266 kB / 449 MB, free: 9.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003591/0.08455, allocations: 312.8 kB / 449.3 MB, free: 9.141 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.08458, allocations: 8.906 kB / 449.3 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.08459, allocations: 4 kB / 449.3 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.08462, allocations: 19.88 kB / 449.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.0848, allocations: 63.91 kB / 449.4 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.08482, allocations: 15.92 kB / 449.4 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.08494, allocations: 27.84 kB / 449.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.08496, allocations: 16 kB / 449.4 MB, free: 8.988 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 (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 9.867e-05/0.08506, allocations: 153.4 kB / 449.6 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.08535, allocations: 197.3 kB / 449.8 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.0854, allocations: 21.14 kB / 449.8 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.08541, allocations: 8 kB / 449.8 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.08542, allocations: 0 / 449.8 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.08543, allocations: 7.984 kB / 449.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.08557, allocations: 209.4 kB / 450 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.08558, allocations: 0 / 450 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.08576, allocations: 47.92 kB / 450.1 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.08577, allocations: 4 kB / 450.1 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.08579, allocations: 11.98 kB / 450.1 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.0858, allocations: 3.953 kB / 450.1 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.0858, allocations: 0 / 450.1 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.08615, allocations: 334.1 kB / 450.4 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.08619, allocations: 96.86 kB / 450.5 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.08623, allocations: 23.89 kB / 450.5 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.08634, allocations: 11.98 kB / 450.5 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.08638, allocations: 8 kB / 450.5 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.0864, allocations: 4 kB / 450.6 MB, free: 7.766 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.509e-05/0.08644, allocations: 103.2 kB / 450.7 MB, free: 7.664 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08644, allocations: 0 / 450.7 MB, free: 7.664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.08673, allocations: 36 kB / 450.7 MB, free: 7.629 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 (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.0001138/0.08685, allocations: 111.2 kB / 450.8 MB, free: 7.508 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.08718, allocations: 205.3 kB / 451 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.08719, allocations: 0 / 451 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.59e-05/0.08723, allocations: 11.94 kB / 451 MB, free: 7.297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.08769, allocations: 145.2 kB / 451.2 MB, free: 7.156 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006619/0.08837, allocations: 445.7 kB / 451.6 MB, free: 6.684 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.08852, allocations: 0.7404 MB / 452.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.08858, allocations: 23.42 kB / 452.4 MB, free: 5.895 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.08858, allocations: 0 / 452.4 MB, free: 5.895 MB / 298.7 MB Notification: Performance of Templates: time 0.00294/0.09153, allocations: 2.236 MB / 454.6 MB, free: 3.656 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)