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.001597/0.001597, allocations: 181.4 kB / 13.23 MB, free: 2.086 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.129/2.129, allocations: 205.2 MB / 219 MB, free: 9.211 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.001099/0.001099, allocations: 96.06 kB / 267.1 MB, free: 9.277 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.105/0.105, allocations: 12.59 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.724e-05/4.745e-05, allocations: 8 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 50.38 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4485/0.5501, allocations: 79.04 MB / 0.5034 GB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.5503, allocations: 64.12 kB / 0.5035 GB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02167/0.572, allocations: 5.116 MB / 0.5085 GB, free: 10.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5721, allocations: 0 / 0.5085 GB, free: 10.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.5721, allocations: 7.656 kB / 0.5085 GB, free: 10.32 MB / 330.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.0006047/0.5727, allocations: 418.4 kB / 0.5089 GB, free: 9.918 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5728, allocations: 11.53 kB / 0.5089 GB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.394e-05/0.5729, allocations: 45.14 kB / 0.5089 GB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.5729, allocations: 22.31 kB / 0.509 GB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.5733, allocations: 221 kB / 0.5092 GB, free: 9.641 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.5734, allocations: 15.14 kB / 0.5092 GB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.5734, allocations: 18.53 kB / 0.5092 GB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/0.5743, allocations: 434.8 kB / 0.5096 GB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5743, allocations: 0 / 0.5096 GB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.5744, allocations: 3.438 kB / 0.5096 GB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.5744, allocations: 3.781 kB / 0.5096 GB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.5747, allocations: 96.94 kB / 0.5097 GB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.5752, allocations: 341.7 kB / 0.5101 GB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.5757, allocations: 184.5 kB / 0.5102 GB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.5759, allocations: 105.1 kB / 0.5103 GB, free: 9.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.5759, allocations: 15.45 kB / 0.5103 GB, free: 8.996 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.576, allocations: 38.56 kB / 0.5104 GB, free: 8.953 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.657e-06/0.576, allocations: 0 / 0.5104 GB, free: 8.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005445/0.5766, allocations: 195.2 kB / 0.5106 GB, free: 8.887 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.915e-05/0.5767, allocations: 128.8 kB / 0.5107 GB, free: 8.754 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.5768, allocations: 123.1 kB / 0.5108 GB, free: 8.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.5768, allocations: 28.64 kB / 0.5108 GB, free: 8.621 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.5769, allocations: 91.92 kB / 0.5109 GB, free: 8.539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.5769, allocations: 38.22 kB / 0.511 GB, free: 8.516 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.577, allocations: 3.438 kB / 0.511 GB, free: 8.516 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.5771, allocations: 328.7 kB / 0.5113 GB, free: 8.199 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.5772, allocations: 50.11 kB / 0.5113 GB, free: 8.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.5774, allocations: 236 kB / 0.5115 GB, free: 7.941 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.5776, allocations: 85.72 kB / 0.5116 GB, free: 7.922 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.5776, allocations: 0 / 0.5116 GB, free: 7.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005553/0.5782, allocations: 299.2 kB / 0.5119 GB, free: 7.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.5782, allocations: 11.52 kB / 0.5119 GB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.5783, allocations: 11.81 kB / 0.5119 GB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.5783, allocations: 7.656 kB / 0.5119 GB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.5787, allocations: 67.06 kB / 0.512 GB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.5787, allocations: 11.66 kB / 0.512 GB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.5789, allocations: 29.19 kB / 0.512 GB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.579, allocations: 22.7 kB / 0.5121 GB, free: 7.77 MB / 330.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 () * 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.000131/0.5791, allocations: 142 kB / 0.5122 GB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004472/0.5796, allocations: 183 kB / 0.5124 GB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.027e-05/0.5797, allocations: 28.98 kB / 0.5124 GB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.5797, allocations: 3.812 kB / 0.5124 GB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5797, allocations: 0 / 0.5124 GB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.5797, allocations: 4.141 kB / 0.5124 GB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.5799, allocations: 213.8 kB / 0.5126 GB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.58, allocations: 3.938 kB / 0.5126 GB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.5803, allocations: 54.62 kB / 0.5127 GB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.5804, allocations: 0 / 0.5127 GB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.5804, allocations: 11.05 kB / 0.5127 GB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.5804, allocations: 0 / 0.5127 GB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.5804, allocations: 3.281 kB / 0.5127 GB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.5809, allocations: 334.5 kB / 0.513 GB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.581, allocations: 92.73 kB / 0.5131 GB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.581, allocations: 18.2 kB / 0.5131 GB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.5812, allocations: 11.33 kB / 0.5131 GB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.5813, allocations: 3.812 kB / 0.5131 GB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.5813, allocations: 10.83 kB / 0.5131 GB, free: 6.984 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.323e-05/0.5814, allocations: 99.59 kB / 0.5132 GB, free: 6.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5814, allocations: 0 / 0.5132 GB, free: 6.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004706/0.5819, allocations: 35.41 kB / 0.5133 GB, free: 6.91 MB / 330.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 () * 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.001038/0.583, allocations: 1.114 MB / 0.5144 GB, free: 6.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005113/0.5835, allocations: 182.5 kB / 0.5145 GB, free: 5.988 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5835, allocations: 1.812 kB / 0.5145 GB, free: 5.988 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.584e-05/0.5836, allocations: 6.719 kB / 0.5145 GB, free: 5.988 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.5842, allocations: 122.7 kB / 0.5147 GB, free: 5.961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.5853, allocations: 320.8 kB / 0.515 GB, free: 5.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.5859, allocations: 0.7414 MB / 0.5157 GB, free: 5.051 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.5862, allocations: 17.77 kB / 0.5157 GB, free: 5.035 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.5865, allocations: 54.03 kB / 0.5158 GB, free: 5.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.763e-06/0.5866, allocations: 288 / 0.5158 GB, free: 5.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.6186, allocations: 3.559 MB / 0.5192 GB, free: 3.254 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.6189, allocations: 180 kB / 0.5194 GB, free: 3.023 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.164, allocations: 0 / 0.5194 GB, free: 3.023 MB / 330.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)