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.00119/0.001189, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.661/1.661, allocations: 205.2 MB / 219 MB, free: 9.203 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.0008469/0.0008466, allocations: 89.86 kB / 267.1 MB, free: 9.266 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.08048/0.08048, allocations: 12.58 MB / 327.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.754e-05/2.756e-05, allocations: 4 kB / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08389/0.08393, allocations: 50.38 MB / 436.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.321/0.4049, allocations: 79.03 MB / 0.5033 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001746/0.4052, allocations: 70.78 kB / 0.5034 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01263/0.4178, allocations: 5.114 MB / 0.5084 GB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4178, allocations: 0 / 0.5084 GB, free: 10.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.4179, allocations: 7.641 kB / 0.5084 GB, free: 10.73 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.0003998/0.4183, allocations: 411.2 kB / 0.5088 GB, free: 10.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4183, allocations: 11.53 kB / 0.5088 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.4184, allocations: 15.56 kB / 0.5088 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.4187, allocations: 228.9 kB / 0.509 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.4187, allocations: 18.7 kB / 0.509 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.4187, allocations: 17.53 kB / 0.5091 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.4193, allocations: 428.8 kB / 0.5095 GB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4194, allocations: 0 / 0.5095 GB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.4194, allocations: 7.422 kB / 0.5095 GB, free: 9.922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4194, allocations: 7.781 kB / 0.5095 GB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.4196, allocations: 96.52 kB / 0.5096 GB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.4199, allocations: 335.6 kB / 0.5099 GB, free: 9.574 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.4202, allocations: 191.6 kB / 0.5101 GB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.4203, allocations: 107.3 kB / 0.5102 GB, free: 9.449 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.4204, allocations: 11.69 kB / 0.5102 GB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.4204, allocations: 37.5 kB / 0.5102 GB, free: 9.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.4204, allocations: 0 / 0.5102 GB, free: 9.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0003395/0.4207, allocations: 196.8 kB / 0.5104 GB, free: 9.332 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.4208, allocations: 125.4 kB / 0.5105 GB, free: 9.203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.4209, allocations: 112.2 kB / 0.5106 GB, free: 9.105 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.4209, allocations: 32.95 kB / 0.5107 GB, free: 9.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.421, allocations: 91.56 kB / 0.5108 GB, free: 8.988 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.421, allocations: 34.27 kB / 0.5108 GB, free: 8.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.421, allocations: 14.81 kB / 0.5108 GB, free: 8.965 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.4211, allocations: 330 kB / 0.5111 GB, free: 8.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/0.4211, allocations: 46.03 kB / 0.5112 GB, free: 8.641 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.4213, allocations: 229 kB / 0.5114 GB, free: 8.395 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.4214, allocations: 95.73 kB / 0.5115 GB, free: 8.367 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4214, allocations: 7.812 kB / 0.5115 GB, free: 8.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003134/0.4217, allocations: 286 kB / 0.5118 GB, free: 8.262 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4217, allocations: 8.594 kB / 0.5118 GB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.4217, allocations: 11.61 kB / 0.5118 GB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.4218, allocations: 11.69 kB / 0.5118 GB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.422, allocations: 65.69 kB / 0.5119 GB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.422, allocations: 15.55 kB / 0.5119 GB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.4221, allocations: 30.16 kB / 0.5119 GB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.4221, allocations: 18.56 kB / 0.5119 GB, free: 8.219 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 6.486e-05/0.4222, allocations: 142.8 kB / 0.5121 GB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.4224, allocations: 179.8 kB / 0.5122 GB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.4225, allocations: 27.16 kB / 0.5122 GB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4225, allocations: 7.844 kB / 0.5123 GB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4225, allocations: 3.938 kB / 0.5123 GB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4225, allocations: 11.84 kB / 0.5123 GB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.4227, allocations: 210.7 kB / 0.5125 GB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4227, allocations: 0 / 0.5125 GB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.4229, allocations: 42.61 kB / 0.5125 GB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4229, allocations: 0 / 0.5125 GB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.4229, allocations: 10.52 kB / 0.5125 GB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4229, allocations: 7.719 kB / 0.5125 GB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4229, allocations: 0 / 0.5125 GB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.4232, allocations: 335.4 kB / 0.5128 GB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.4232, allocations: 92.7 kB / 0.5129 GB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.4233, allocations: 22.44 kB / 0.513 GB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.4234, allocations: 10.53 kB / 0.513 GB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.4234, allocations: 3.844 kB / 0.513 GB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.4234, allocations: 14.27 kB / 0.513 GB, free: 7.434 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.4235, allocations: 100.7 kB / 0.5131 GB, free: 7.355 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4235, allocations: 0 / 0.5131 GB, free: 7.355 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.4238, allocations: 37.53 kB / 0.5131 GB, free: 7.355 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 9.354e-05/0.4239, allocations: 98.06 kB / 0.5132 GB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.4241, allocations: 188.7 kB / 0.5134 GB, free: 7.234 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4242, allocations: 0 / 0.5134 GB, free: 7.234 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.4242, allocations: 3.875 kB / 0.5134 GB, free: 7.234 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.4246, allocations: 118.3 kB / 0.5135 GB, free: 7.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.425, allocations: 247 kB / 0.5137 GB, free: 7.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.4251, allocations: 0.7459 MB / 0.5145 GB, free: 6.344 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.201e-05/0.4252, allocations: 21.33 kB / 0.5145 GB, free: 6.328 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.4252, allocations: 26.83 kB / 0.5145 GB, free: 6.316 MB / 330.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4252, allocations: 0 / 0.5145 GB, free: 6.316 MB / 330.7 MB Notification: Performance of Templates: time 0.003589/0.4288, allocations: 1.675 MB / 0.5162 GB, free: 5.523 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)