Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") translateModel(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001476/0.001475, allocations: 180.2 kB / 8.409 MB, free: 0.668 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.3 MB / 214.1 MB, free: 1.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002183/0.002182, allocations: 78.78 kB / 262.1 MB, free: 1.676 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.09792/0.09792, allocations: 12.59 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.46e-05, allocations: 4 kB / 378.9 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2983, allocations: 50.38 MB / 429.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.4339, allocations: 78.37 MB / 0.4958 GB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4342, allocations: 67.95 kB / 0.4958 GB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02414/0.4584, allocations: 5.083 MB / 0.5008 GB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4584, allocations: 0 / 0.5008 GB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.4585, allocations: 7.984 kB / 0.5008 GB, free: 14.79 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.0006785/0.4592, allocations: 410.1 kB / 0.5012 GB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.4592, allocations: 8.031 kB / 0.5012 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/0.4593, allocations: 15.81 kB / 0.5012 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.4598, allocations: 222.7 kB / 0.5014 GB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.4598, allocations: 11.95 kB / 0.5014 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.4599, allocations: 12 kB / 0.5014 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00033/0.4602, allocations: 107.9 kB / 0.5015 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009103/0.4611, allocations: 392.9 kB / 0.5019 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4612, allocations: 0 / 0.5019 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.4612, allocations: 3.984 kB / 0.5019 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.4612, allocations: 8 kB / 0.5019 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.4617, allocations: 302.8 kB / 0.5022 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.4621, allocations: 171.8 kB / 0.5024 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.4624, allocations: 90.69 kB / 0.5025 GB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.4624, allocations: 4 kB / 0.5025 GB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.4625, allocations: 38.56 kB / 0.5025 GB, free: 12.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.385e-06/0.4625, allocations: 4 kB / 0.5025 GB, free: 12.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005159/0.463, allocations: 178.8 kB / 0.5027 GB, free: 12.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.4631, allocations: 122.7 kB / 0.5028 GB, free: 12.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.4633, allocations: 113.3 kB / 0.5029 GB, free: 12.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.4633, allocations: 25.7 kB / 0.5029 GB, free: 12.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.209e-05/0.4634, allocations: 155.1 kB / 0.5031 GB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.4635, allocations: 35.64 kB / 0.5031 GB, free: 12.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.4635, allocations: 0 / 0.5031 GB, free: 12.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4636, allocations: 330.8 kB / 0.5034 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.4637, allocations: 44.64 kB / 0.5035 GB, free: 11.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.464, allocations: 221.8 kB / 0.5037 GB, free: 11.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.4642, allocations: 75.91 kB / 0.5038 GB, free: 11.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.4642, allocations: 4.094 kB / 0.5038 GB, free: 11.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005669/0.4648, allocations: 253.5 kB / 0.504 GB, free: 11.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.4649, allocations: 8 kB / 0.504 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.4649, allocations: 8 kB / 0.504 GB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.4649, allocations: 8 kB / 0.504 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.4653, allocations: 67.84 kB / 0.5041 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.4653, allocations: 15.98 kB / 0.5041 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.4656, allocations: 23.78 kB / 0.5041 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.4656, allocations: 20 kB / 0.5041 GB, free: 11 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 () * 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.0001434/0.4658, allocations: 123.4 kB / 0.5043 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004491/0.4662, allocations: 173.3 kB / 0.5044 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.679e-05/0.4663, allocations: 16.75 kB / 0.5044 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.4663, allocations: 4 kB / 0.5044 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4663, allocations: 0 / 0.5044 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.4664, allocations: 3.984 kB / 0.5044 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.4666, allocations: 178 kB / 0.5046 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4666, allocations: 0 / 0.5046 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.467, allocations: 55.86 kB / 0.5047 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.433e-06/0.467, allocations: 4 kB / 0.5047 GB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.4671, allocations: 4 kB / 0.5047 GB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.4671, allocations: 0 / 0.5047 GB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.4671, allocations: 0 / 0.5047 GB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.4676, allocations: 324.8 kB / 0.505 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.4677, allocations: 100.9 kB / 0.5051 GB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.4678, allocations: 8 kB / 0.5051 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.468, allocations: 4 kB / 0.5051 GB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.468, allocations: 3.984 kB / 0.5051 GB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.468, allocations: 8 kB / 0.5051 GB, free: 9.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.82e-05/0.4681, allocations: 101 kB / 0.5052 GB, free: 9.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4681, allocations: 0 / 0.5052 GB, free: 9.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004889/0.4686, allocations: 24 kB / 0.5052 GB, free: 9.785 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 () * 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.0001404/0.4688, allocations: 107.1 kB / 0.5053 GB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004159/0.4692, allocations: 163.9 kB / 0.5055 GB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4692, allocations: 1.812 kB / 0.5055 GB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.4693, allocations: 8 kB / 0.5055 GB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.4699, allocations: 115.2 kB / 0.5056 GB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.4706, allocations: 256.8 kB / 0.5059 GB, free: 9.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.471, allocations: 0.7438 MB / 0.5066 GB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.4711, allocations: 27.42 kB / 0.5066 GB, free: 8.305 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4711, allocations: 0 / 0.5066 GB, free: 8.305 MB / 362.7 MB Notification: Performance of Templates: time 0.006012/0.4771, allocations: 2.163 MB / 0.5087 GB, free: 6.145 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe 2>&1)