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.0009765/0.0009765, allocations: 176.7 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.3 MB / 213.8 MB, free: 1.738 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.0007776/0.0007777, allocations: 90.2 kB / 261.8 MB, free: 1.684 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.07286/0.07286, allocations: 12.6 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.501e-05/1.504e-05, allocations: 0 / 378.9 MB, free: 6.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2394, allocations: 50.37 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0935/0.3329, allocations: 78.37 MB / 0.4958 GB, free: 3.863 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.3332, allocations: 67.95 kB / 0.4958 GB, free: 3.797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01384/0.347, allocations: 5.076 MB / 0.5008 GB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3471, allocations: 0 / 0.5008 GB, free: 14.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.3471, allocations: 4 kB / 0.5008 GB, free: 14.71 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.0005374/0.3476, allocations: 406.1 kB / 0.5012 GB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.3477, allocations: 12.03 kB / 0.5012 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.3478, allocations: 15.81 kB / 0.5012 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.3481, allocations: 234.7 kB / 0.5014 GB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.3482, allocations: 7.953 kB / 0.5015 GB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.3482, allocations: 12 kB / 0.5015 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002284/0.3484, allocations: 99.92 kB / 0.5016 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.349, allocations: 404.9 kB / 0.5019 GB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3491, allocations: 4 kB / 0.5019 GB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.3491, allocations: 0 / 0.5019 GB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3491, allocations: 4 kB / 0.502 GB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.3495, allocations: 294.9 kB / 0.5022 GB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.3498, allocations: 176 kB / 0.5024 GB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.35, allocations: 94.66 kB / 0.5025 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.35, allocations: 8 kB / 0.5025 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.3501, allocations: 38.56 kB / 0.5025 GB, free: 12.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.383e-06/0.3501, allocations: 0 / 0.5025 GB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0003336/0.3504, allocations: 182.6 kB / 0.5027 GB, free: 12.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.3505, allocations: 118.7 kB / 0.5028 GB, free: 12.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.853e-05/0.3506, allocations: 110.5 kB / 0.5029 GB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.3506, allocations: 25.7 kB / 0.503 GB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.3507, allocations: 92.8 kB / 0.503 GB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.3507, allocations: 51.66 kB / 0.5031 GB, free: 12.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.3507, allocations: 0 / 0.5031 GB, free: 12.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3508, allocations: 330.8 kB / 0.5034 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.3509, allocations: 40.64 kB / 0.5034 GB, free: 11.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.3511, allocations: 217.8 kB / 0.5037 GB, free: 11.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3512, allocations: 83.89 kB / 0.5037 GB, free: 11.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3512, allocations: 4 kB / 0.5037 GB, free: 11.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003503/0.3516, allocations: 253.4 kB / 0.504 GB, free: 11.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3516, allocations: 8 kB / 0.504 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3516, allocations: 8 kB / 0.504 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3517, allocations: 8 kB / 0.504 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.3519, allocations: 67.84 kB / 0.5041 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.3519, allocations: 8 kB / 0.5041 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.352, allocations: 28.14 kB / 0.5041 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.352, allocations: 23.94 kB / 0.5041 GB, free: 10.96 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.0001031/0.3522, allocations: 123.2 kB / 0.5042 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.3524, allocations: 161.4 kB / 0.5044 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/0.3525, allocations: 24.69 kB / 0.5044 GB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3525, allocations: 4 kB / 0.5044 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3525, allocations: 0 / 0.5044 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3525, allocations: 3.984 kB / 0.5044 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.3527, allocations: 174 kB / 0.5046 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3527, allocations: 0 / 0.5046 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.3529, allocations: 63.86 kB / 0.5047 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3529, allocations: 0 / 0.5047 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3529, allocations: 7.984 kB / 0.5047 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3529, allocations: 0 / 0.5047 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3529, allocations: 0 / 0.5047 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.3532, allocations: 324.8 kB / 0.505 GB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.3533, allocations: 92.86 kB / 0.5051 GB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.3533, allocations: 11.98 kB / 0.5051 GB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3534, allocations: 4 kB / 0.5051 GB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.3535, allocations: 3.984 kB / 0.5051 GB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.3535, allocations: 12 kB / 0.5051 GB, free: 9.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.802e-05/0.3536, allocations: 93.05 kB / 0.5052 GB, free: 9.781 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3536, allocations: 11.94 kB / 0.5052 GB, free: 9.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000322/0.3539, allocations: 24 kB / 0.5052 GB, free: 9.746 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.0001078/0.354, allocations: 103.2 kB / 0.5053 GB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.3542, allocations: 165.4 kB / 0.5055 GB, free: 9.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3543, allocations: 0 / 0.5055 GB, free: 9.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.281e-05/0.3543, allocations: 4 kB / 0.5055 GB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3546, allocations: 111.5 kB / 0.5056 GB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.355, allocations: 227.1 kB / 0.5058 GB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.3553, allocations: 0.7438 MB / 0.5065 GB, free: 8.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.415e-05/0.3554, allocations: 18.08 kB / 0.5065 GB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.3554, allocations: 27.42 kB / 0.5066 GB, free: 8.297 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3555, allocations: 0 / 0.5066 GB, free: 8.297 MB / 362.7 MB Notification: Performance of Templates: time 0.003834/0.3593, allocations: 1.629 MB / 0.5082 GB, free: 6.668 MB / 362.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)