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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001424, allocations: 182.8 kB / 7.841 MB, free: 2.234 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.218/1.218, allocations: 205.2 MB / 213.5 MB, free: 13.85 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.0008455/0.0008456, allocations: 91.16 kB / 261.5 MB, free: 13.54 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.07387/0.07387, allocations: 12.59 MB / 322 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.134e-06, allocations: 4 kB / 378.4 MB, free: 75.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08286/0.08288, allocations: 50.37 MB / 428.8 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.371/0.4539, allocations: 78.29 MB / 0.4952 GB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.4542, allocations: 63.62 kB / 0.4952 GB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01356/0.4678, allocations: 4.741 MB / 0.4999 GB, free: 11.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.4679, allocations: 0 / 0.4999 GB, free: 11.38 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.0005019/0.4684, allocations: 413.7 kB / 0.5003 GB, free: 11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4684, allocations: 11.66 kB / 0.5003 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.4685, allocations: 23.25 kB / 0.5003 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.4688, allocations: 226.5 kB / 0.5005 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4688, allocations: 3.812 kB / 0.5005 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.4689, allocations: 8.281 kB / 0.5005 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002124/0.4691, allocations: 105.8 kB / 0.5006 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.4696, allocations: 398.7 kB / 0.501 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4697, allocations: 9.234 kB / 0.501 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.4697, allocations: 0 / 0.501 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4697, allocations: 3.75 kB / 0.501 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.4701, allocations: 299.6 kB / 0.5013 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.4704, allocations: 176.9 kB / 0.5015 GB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.4705, allocations: 100.5 kB / 0.5016 GB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.4705, allocations: 9.125 kB / 0.5016 GB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.4706, allocations: 38.06 kB / 0.5016 GB, free: 10.24 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.352e-06/0.4706, allocations: 3.875 kB / 0.5016 GB, free: 10.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0003443/0.4709, allocations: 170.8 kB / 0.5018 GB, free: 10.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.471, allocations: 124 kB / 0.5019 GB, free: 10.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.4711, allocations: 111.7 kB / 0.502 GB, free: 9.965 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.4711, allocations: 25.7 kB / 0.502 GB, free: 9.934 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.4711, allocations: 89.56 kB / 0.5021 GB, free: 9.844 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.4712, allocations: 37.2 kB / 0.5021 GB, free: 9.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-06/0.4712, allocations: 0 / 0.5021 GB, free: 9.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.4712, allocations: 333.3 kB / 0.5025 GB, free: 9.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.4713, allocations: 38.42 kB / 0.5025 GB, free: 9.512 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.4715, allocations: 221.7 kB / 0.5027 GB, free: 9.277 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.4716, allocations: 84.17 kB / 0.5028 GB, free: 9.262 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4716, allocations: 3.875 kB / 0.5028 GB, free: 9.262 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003121/0.4719, allocations: 252.5 kB / 0.503 GB, free: 9.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.4719, allocations: 4.344 kB / 0.503 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4719, allocations: 7.656 kB / 0.5031 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4719, allocations: 7.688 kB / 0.5031 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.4722, allocations: 65.42 kB / 0.5031 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.4722, allocations: 20.83 kB / 0.5031 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.4723, allocations: 19.88 kB / 0.5032 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.4723, allocations: 17.84 kB / 0.5032 GB, free: 9.16 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 7.948e-05/0.4724, allocations: 124.2 kB / 0.5033 GB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.4727, allocations: 171.6 kB / 0.5035 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.4727, allocations: 25.94 kB / 0.5035 GB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4727, allocations: 3.844 kB / 0.5035 GB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4727, allocations: 0 / 0.5035 GB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.4727, allocations: 6.203 kB / 0.5035 GB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.4729, allocations: 177.3 kB / 0.5037 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4729, allocations: 0 / 0.5037 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.4731, allocations: 58.58 kB / 0.5037 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4731, allocations: 3.844 kB / 0.5037 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.4732, allocations: 1.453 kB / 0.5037 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4732, allocations: 3.969 kB / 0.5037 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4732, allocations: 0 / 0.5037 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002775/0.4735, allocations: 318.4 kB / 0.504 GB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.4735, allocations: 96.48 kB / 0.5041 GB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.4735, allocations: 13.67 kB / 0.5041 GB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.4737, allocations: 13.06 kB / 0.5041 GB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.4737, allocations: 4.797 kB / 0.5042 GB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.4737, allocations: 5.156 kB / 0.5042 GB, free: 8.496 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.924e-05/0.4738, allocations: 97.84 kB / 0.5043 GB, free: 8.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.4742, allocations: 26.69 kB / 0.5043 GB, free: 8.422 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.0001096/0.4743, allocations: 99.7 kB / 0.5044 GB, free: 8.332 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.4745, allocations: 176.4 kB / 0.5045 GB, free: 8.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4745, allocations: 0 / 0.5045 GB, free: 8.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.301e-05/0.4746, allocations: 0 / 0.5045 GB, free: 8.305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.475, allocations: 113 kB / 0.5046 GB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.4754, allocations: 218.8 kB / 0.5049 GB, free: 8.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.4757, allocations: 0.7723 MB / 0.5056 GB, free: 7.465 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4757, allocations: 0 / 0.5056 GB, free: 7.465 MB / 330.7 MB Notification: Performance of Templates: time 0.004353/0.48, allocations: 1.77 MB / 0.5073 GB, free: 6.812 MB / 330.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)