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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_Effects_SuperSampling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_Effects_SuperSampling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002358/0.002357, allocations: 184.6 kB / 15.8 MB, free: 6.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001116/0.001116, allocations: 86.86 kB / 270.3 MB, free: 13.36 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.09666/0.09666, allocations: 12.6 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000545/0.0005454, allocations: 17 kB / 392.1 MB, free: 54.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1193, allocations: 50.37 MB / 442.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.2954, allocations: 79.12 MB / 0.5094 GB, free: 11.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.2957, allocations: 71.97 kB / 0.5094 GB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02396/0.3197, allocations: 5.136 MB / 0.5145 GB, free: 6.387 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3197, allocations: 0 / 0.5145 GB, free: 6.387 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.3198, allocations: 4 kB / 0.5145 GB, free: 6.383 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.0007344/0.3205, allocations: 430.7 kB / 0.5149 GB, free: 5.914 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.3206, allocations: 12.03 kB / 0.5149 GB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.136e-05/0.3206, allocations: 50.55 kB / 0.5149 GB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.3207, allocations: 19.81 kB / 0.5149 GB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.3212, allocations: 226.7 kB / 0.5152 GB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.3212, allocations: 11.95 kB / 0.5152 GB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.3213, allocations: 16 kB / 0.5152 GB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.3225, allocations: 472.3 kB / 0.5156 GB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3226, allocations: 0 / 0.5156 GB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.3226, allocations: 4 kB / 0.5156 GB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.3226, allocations: 4 kB / 0.5156 GB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.3231, allocations: 115.8 kB / 0.5158 GB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.3237, allocations: 346.2 kB / 0.5161 GB, free: 4.535 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006464/0.3244, allocations: 207.8 kB / 0.5163 GB, free: 4.305 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.3244, allocations: 4.406 kB / 0.5163 GB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.3245, allocations: 38.77 kB / 0.5163 GB, free: 4.254 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.494e-06/0.3245, allocations: 3.938 kB / 0.5163 GB, free: 4.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001059/0.3256, allocations: 285.3 kB / 0.5166 GB, free: 3.965 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.3257, allocations: 130.7 kB / 0.5167 GB, free: 3.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.3259, allocations: 117.2 kB / 0.5168 GB, free: 3.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.3259, allocations: 33.7 kB / 0.5169 GB, free: 3.648 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.326, allocations: 88.7 kB / 0.517 GB, free: 3.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/0.326, allocations: 35.62 kB / 0.517 GB, free: 3.523 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.3261, allocations: 8.125 kB / 0.517 GB, free: 3.516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3262, allocations: 334.8 kB / 0.5173 GB, free: 3.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.3264, allocations: 52.61 kB / 0.5174 GB, free: 3.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.3268, allocations: 238.1 kB / 0.5176 GB, free: 2.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.3271, allocations: 103.9 kB / 0.5177 GB, free: 2.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.3271, allocations: 0 / 0.5177 GB, free: 2.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007449/0.3278, allocations: 312.7 kB / 0.518 GB, free: 2.391 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.3279, allocations: 11.95 kB / 0.518 GB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.3279, allocations: 8.875 kB / 0.518 GB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.3279, allocations: 11.94 kB / 0.518 GB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.3283, allocations: 71.84 kB / 0.5181 GB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.962e-05/0.3284, allocations: 11.98 kB / 0.5181 GB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3286, allocations: 23.84 kB / 0.5181 GB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.3286, allocations: 16 kB / 0.5181 GB, free: 2.238 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.0002193/0.3288, allocations: 157.4 kB / 0.5183 GB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005985/0.3294, allocations: 189.3 kB / 0.5185 GB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.718e-05/0.3295, allocations: 25.19 kB / 0.5185 GB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3296, allocations: 8 kB / 0.5185 GB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.3296, allocations: 7.938 kB / 0.5185 GB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3296, allocations: 3.984 kB / 0.5185 GB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.3299, allocations: 213.5 kB / 0.5187 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3299, allocations: 0 / 0.5187 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.3303, allocations: 52.38 kB / 0.5188 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.3303, allocations: 4 kB / 0.5188 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.3304, allocations: 4 kB / 0.5188 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.3304, allocations: 4 kB / 0.5188 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3304, allocations: 0 / 0.5188 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007834/0.3312, allocations: 368.8 kB / 0.5191 GB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.159e-05/0.3313, allocations: 92.91 kB / 0.5192 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.3313, allocations: 16 kB / 0.5192 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.3315, allocations: 15.98 kB / 0.5193 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.3316, allocations: 4 kB / 0.5193 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.3316, allocations: 7.984 kB / 0.5193 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.115e-05/0.3317, allocations: 99.27 kB / 0.5194 GB, free: 0.875 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3317, allocations: 0 / 0.5194 GB, free: 0.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004689/0.3322, allocations: 36 kB / 0.5194 GB, free: 0.8398 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.3101/0.6423, allocations: 1.146 MB / 0.5205 GB, free: 85.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000681/0.643, allocations: 208.2 kB / 0.5207 GB, free: 85.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.6431, allocations: 0 / 0.5207 GB, free: 85.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.6431, allocations: 13.41 kB / 0.5207 GB, free: 85.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.6438, allocations: 141.4 kB / 0.5209 GB, free: 85.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.6469, allocations: 5.316 MB / 0.526 GB, free: 81.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.6472, allocations: 0.7492 MB / 0.5268 GB, free: 80.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000103/0.6473, allocations: 17.55 kB / 0.5268 GB, free: 80.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.6475, allocations: 57.7 kB / 0.5269 GB, free: 80.38 MB / 362.7 MB Notification: Performance of SimCode: time 2.314e-06/0.6475, allocations: 0 / 0.5269 GB, free: 80.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.6742, allocations: 3.536 MB / 0.5303 GB, free: 79.99 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/0.6745, allocations: 199.7 kB / 0.5305 GB, free: 79.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.095, allocations: 0 / 0.5305 GB, free: 79.75 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_Effects_SuperSampling_fmu --startTime=0 --stopTime=0.15 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_Effects_SuperSampling.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe 2>&1)