Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002282/0.002282, allocations: 176.1 kB / 8.193 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001246/0.001245, allocations: 103.9 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1159/0.1159, allocations: 12.59 MB / 322.3 MB, free: 1 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.658e-06/9.738e-06, allocations: 0 / 378.4 MB, free: 76.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 50.36 MB / 428.7 MB, free: 25.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2993/0.4138, allocations: 78.3 MB / 0.4952 GB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.4142, allocations: 65.95 kB / 0.4952 GB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02157/0.4357, allocations: 4.737 MB / 0.4998 GB, free: 11.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.4358, allocations: 5.016 kB / 0.4998 GB, free: 11.45 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.0006645/0.4365, allocations: 417.3 kB / 0.5002 GB, free: 11.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4366, allocations: 7.844 kB / 0.5003 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.846e-05/0.4366, allocations: 24.22 kB / 0.5003 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.4371, allocations: 221.3 kB / 0.5005 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.4371, allocations: 8.391 kB / 0.5005 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.4372, allocations: 7.688 kB / 0.5005 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003186/0.4375, allocations: 99.7 kB / 0.5006 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008592/0.4384, allocations: 408.5 kB / 0.501 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.4384, allocations: 3.844 kB / 0.501 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.4384, allocations: 0 / 0.501 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.4385, allocations: 4.828 kB / 0.501 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.439, allocations: 299.7 kB / 0.5013 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.4394, allocations: 182.7 kB / 0.5015 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.4397, allocations: 91.59 kB / 0.5015 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.4397, allocations: 9.328 kB / 0.5016 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.4397, allocations: 41.47 kB / 0.5016 GB, free: 10.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.856e-06/0.4398, allocations: 0 / 0.5016 GB, free: 10.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005457/0.4403, allocations: 177.6 kB / 0.5018 GB, free: 10.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/0.4404, allocations: 120.7 kB / 0.5019 GB, free: 10.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.4405, allocations: 113.7 kB / 0.502 GB, free: 10.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.4406, allocations: 25.73 kB / 0.502 GB, free: 10 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.4406, allocations: 160.2 kB / 0.5022 GB, free: 9.844 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.4407, allocations: 31.73 kB / 0.5022 GB, free: 9.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.4407, allocations: 3.844 kB / 0.5022 GB, free: 9.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.4408, allocations: 322.3 kB / 0.5025 GB, free: 9.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.4409, allocations: 42.94 kB / 0.5025 GB, free: 9.512 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.4411, allocations: 222.9 kB / 0.5028 GB, free: 9.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.4413, allocations: 86.72 kB / 0.5028 GB, free: 9.262 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4413, allocations: 0 / 0.5028 GB, free: 9.262 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004941/0.4418, allocations: 248.1 kB / 0.5031 GB, free: 9.188 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4418, allocations: 6.406 kB / 0.5031 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4419, allocations: 9.766 kB / 0.5031 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.4419, allocations: 7.656 kB / 0.5031 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.4423, allocations: 69.62 kB / 0.5032 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.4423, allocations: 12.59 kB / 0.5032 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.4425, allocations: 24.64 kB / 0.5032 GB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.4425, allocations: 15.34 kB / 0.5032 GB, free: 9.164 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.0001167/0.4427, allocations: 44.64 kB / 0.5033 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/0.4431, allocations: 174.3 kB / 0.5034 GB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.887e-05/0.4432, allocations: 16.11 kB / 0.5034 GB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4432, allocations: 7.594 kB / 0.5034 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.4432, allocations: 7.719 kB / 0.5035 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4432, allocations: 1.453 kB / 0.5035 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.4434, allocations: 180.7 kB / 0.5036 GB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4435, allocations: 0.6562 kB / 0.5036 GB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.4439, allocations: 51.39 kB / 0.5037 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.4439, allocations: 0 / 0.5037 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.4439, allocations: 9.031 kB / 0.5037 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4439, allocations: 3.844 kB / 0.5037 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.4439, allocations: 0 / 0.5037 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004534/0.4444, allocations: 321.9 kB / 0.504 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.4445, allocations: 97.14 kB / 0.5041 GB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.4445, allocations: 5.188 kB / 0.5041 GB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.4447, allocations: 12.86 kB / 0.5041 GB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.4448, allocations: 4.516 kB / 0.5041 GB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.4448, allocations: 9.438 kB / 0.5041 GB, free: 8.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.076e-05/0.4449, allocations: 96.53 kB / 0.5042 GB, free: 8.504 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004374/0.4454, allocations: 26.62 kB / 0.5042 GB, free: 8.504 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.0001117/0.4455, allocations: 99.7 kB / 0.5043 GB, free: 8.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003834/0.4459, allocations: 170.6 kB / 0.5045 GB, free: 8.387 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4459, allocations: 3.844 kB / 0.5045 GB, free: 8.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-05/0.4459, allocations: 0.75 kB / 0.5045 GB, free: 8.387 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.4465, allocations: 112.5 kB / 0.5046 GB, free: 8.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.4472, allocations: 255.3 kB / 0.5049 GB, free: 8.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/0.4475, allocations: 0.7744 MB / 0.5056 GB, free: 7.508 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.4475, allocations: 0 / 0.5056 GB, free: 7.508 MB / 330.7 MB Notification: Performance of Templates: time 0.005255/0.4528, allocations: 2.2 MB / 0.5078 GB, free: 6.652 MB / 330.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)