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.002257/0.002257, allocations: 186.1 kB / 13.7 MB, free: 1.625 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.993/1.993, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001048/0.001048, allocations: 86.72 kB / 267.6 MB, free: 14.05 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.09724/0.09724, allocations: 12.61 MB / 328.2 MB, free: 11.15 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.151e-05, allocations: 3.938 kB / 386 MB, free: 1.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2912, allocations: 50.37 MB / 436.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.4268, allocations: 79.03 MB / 0.5033 GB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.4271, allocations: 67.95 kB / 0.5034 GB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02399/0.4511, allocations: 5.121 MB / 0.5084 GB, free: 9.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4511, allocations: 0 / 0.5084 GB, free: 9.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.4512, allocations: 0 / 0.5084 GB, free: 9.805 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.0006539/0.4518, allocations: 414.1 kB / 0.5088 GB, free: 9.355 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4519, allocations: 12.03 kB / 0.5088 GB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.4519, allocations: 15.81 kB / 0.5088 GB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.4524, allocations: 228.7 kB / 0.509 GB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.4524, allocations: 23.95 kB / 0.509 GB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.4525, allocations: 16 kB / 0.509 GB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.4535, allocations: 424.5 kB / 0.5094 GB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4535, allocations: 0 / 0.5094 GB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.4536, allocations: 11.94 kB / 0.5095 GB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.4536, allocations: 7.984 kB / 0.5095 GB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.4539, allocations: 95.89 kB / 0.5096 GB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.4545, allocations: 338.2 kB / 0.5099 GB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.455, allocations: 187.8 kB / 0.5101 GB, free: 7.879 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.4552, allocations: 103 kB / 0.5102 GB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.4553, allocations: 16 kB / 0.5102 GB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.4554, allocations: 42.69 kB / 0.5102 GB, free: 7.703 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.544e-06/0.4554, allocations: 0 / 0.5102 GB, free: 7.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.00057/0.4559, allocations: 193.3 kB / 0.5104 GB, free: 7.508 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.4561, allocations: 130.7 kB / 0.5105 GB, free: 7.355 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.4562, allocations: 118 kB / 0.5106 GB, free: 7.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.4563, allocations: 29.7 kB / 0.5107 GB, free: 7.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.4563, allocations: 155.1 kB / 0.5108 GB, free: 7.043 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.4564, allocations: 39.62 kB / 0.5108 GB, free: 7.004 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.4564, allocations: 12.03 kB / 0.5109 GB, free: 6.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4566, allocations: 318.8 kB / 0.5112 GB, free: 6.672 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.4567, allocations: 48.66 kB / 0.5112 GB, free: 6.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.457, allocations: 234.1 kB / 0.5114 GB, free: 6.305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.4572, allocations: 91.89 kB / 0.5115 GB, free: 6.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.4573, allocations: 4 kB / 0.5115 GB, free: 6.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006317/0.4579, allocations: 284.8 kB / 0.5118 GB, free: 5.926 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.4579, allocations: 8.906 kB / 0.5118 GB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.458, allocations: 11.95 kB / 0.5118 GB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/0.458, allocations: 15.98 kB / 0.5118 GB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.4584, allocations: 59.92 kB / 0.5119 GB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.362e-05/0.4584, allocations: 19.92 kB / 0.5119 GB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.4586, allocations: 19.84 kB / 0.5119 GB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.4587, allocations: 20.09 kB / 0.5119 GB, free: 5.773 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.0001487/0.4588, allocations: 144.5 kB / 0.5121 GB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/0.4593, allocations: 185.3 kB / 0.5123 GB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.627e-05/0.4594, allocations: 24.73 kB / 0.5123 GB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.4594, allocations: 8 kB / 0.5123 GB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4595, allocations: 0 / 0.5123 GB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.4595, allocations: 7.953 kB / 0.5123 GB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.4598, allocations: 209.4 kB / 0.5125 GB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.4598, allocations: 0 / 0.5125 GB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/0.4602, allocations: 51.91 kB / 0.5125 GB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.4602, allocations: 4 kB / 0.5126 GB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.4602, allocations: 8 kB / 0.5126 GB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.4602, allocations: 0 / 0.5126 GB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.4602, allocations: 4 kB / 0.5126 GB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.4608, allocations: 336.3 kB / 0.5129 GB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.4609, allocations: 92.94 kB / 0.513 GB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.461, allocations: 15.95 kB / 0.513 GB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.4612, allocations: 12 kB / 0.513 GB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.4612, allocations: 7.984 kB / 0.513 GB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.4613, allocations: 8 kB / 0.513 GB, free: 4.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.848e-05/0.4614, allocations: 100.7 kB / 0.5131 GB, free: 4.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4614, allocations: 0 / 0.5131 GB, free: 4.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004482/0.4618, allocations: 36 kB / 0.5131 GB, free: 4.426 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.0001402/0.462, allocations: 104.2 kB / 0.5132 GB, free: 4.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004747/0.4625, allocations: 184.6 kB / 0.5134 GB, free: 4.137 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4625, allocations: 0 / 0.5134 GB, free: 4.137 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.653e-05/0.4625, allocations: 4 kB / 0.5134 GB, free: 4.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.4631, allocations: 125.5 kB / 0.5135 GB, free: 4.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007079/0.4638, allocations: 278.8 kB / 0.5138 GB, free: 3.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.4642, allocations: 0.7402 MB / 0.5145 GB, free: 2.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.4643, allocations: 27.42 kB / 0.5146 GB, free: 2.918 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4643, allocations: 0 / 0.5146 GB, free: 2.918 MB / 362.7 MB Notification: Performance of Templates: time 0.005743/0.4701, allocations: 2.187 MB / 0.5167 GB, free: 0.7305 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)