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.0009733/0.0009735, allocations: 168.9 kB / 16.8 MB, free: 4.992 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.469/1.469, allocations: 205.4 MB / 223 MB, free: 9.012 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.0007445/0.0007446, allocations: 92.3 kB / 271.3 MB, free: 8.234 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.07443/0.07443, allocations: 12.59 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006356/0.0006358, allocations: 15.94 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1268, allocations: 50.38 MB / 443.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.002556/0.1294, allocations: 1.407 MB / 445.1 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1309, allocations: 0.5932 MB / 445.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.131, allocations: 3.938 kB / 445.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.1312, allocations: 7.938 kB / 445.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1315, allocations: 23.84 kB / 445.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.1321, allocations: 107.8 kB / 445.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1323, allocations: 131.7 kB / 446 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.1325, allocations: 25.06 kB / 446 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1327, allocations: 59.7 kB / 446 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.1329, allocations: 67.67 kB / 446.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.133, allocations: 4 kB / 446.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.685e-05/0.133, allocations: 8 kB / 446.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.655e-05/0.1331, allocations: 27.91 kB / 446.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1332, allocations: 89.3 kB / 446.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1334, allocations: 92.03 kB / 446.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1334, allocations: 7.984 kB / 446.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1334, allocations: 0 / 446.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1335, allocations: 0 / 446.3 MB, free: 12.75 MB / 298.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.0007547/0.1342, allocations: 411.1 kB / 446.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1343, allocations: 12.03 kB / 446.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.1344, allocations: 16.75 kB / 446.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.1346, allocations: 233.1 kB / 447 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.1347, allocations: 16.38 kB / 447 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.1347, allocations: 12.38 kB / 447 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.1359, allocations: 465.2 kB / 447.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.136, allocations: 3.938 kB / 447.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.136, allocations: 8 kB / 447.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.136, allocations: 4 kB / 447.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.1365, allocations: 123.8 kB / 447.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.1369, allocations: 330.3 kB / 447.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.1372, allocations: 211.7 kB / 448.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.1374, allocations: 114.7 kB / 448.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.1374, allocations: 4 kB / 448.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.1375, allocations: 46.69 kB / 448.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.1375, allocations: 0 / 448.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.000539/0.138, allocations: 285.5 kB / 448.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.1381, allocations: 130.7 kB / 448.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.096e-05/0.1382, allocations: 130 kB / 448.8 MB, free: 10 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1382, allocations: 33.83 kB / 448.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.1382, allocations: 92.7 kB / 449 MB, free: 9.867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1383, allocations: 43.69 kB / 449 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.1383, allocations: 4 kB / 449 MB, free: 9.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.1383, allocations: 326.8 kB / 449.3 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-05/0.1384, allocations: 64.55 kB / 449.4 MB, free: 9.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.1386, allocations: 242.1 kB / 449.6 MB, free: 9.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.1388, allocations: 316.4 kB / 449.9 MB, free: 8.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1389, allocations: 0 / 449.9 MB, free: 8.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003719/0.1392, allocations: 316.7 kB / 450.2 MB, free: 8.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1393, allocations: 8 kB / 450.2 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1393, allocations: 8.906 kB / 450.3 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1393, allocations: 8.375 kB / 450.3 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.1395, allocations: 71.84 kB / 450.3 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.1395, allocations: 15.97 kB / 450.3 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1396, allocations: 23.84 kB / 450.4 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.1397, allocations: 23.94 kB / 450.4 MB, free: 8.23 MB / 298.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 () * Number of clocked states: 11 (movingAverage.yy,movingAverage.first,movingAverage.u_buffer[4],movingAverage.u_buffer[3],movingAverage.u_buffer[2],movingAverage.u_buffer[1],superSampleIpo1.ticks,upSample1.b_super,superSampleIpo1.first,superSampleIpo1.uu,upSample1.b) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.1398, allocations: 158.4 kB / 450.6 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.1401, allocations: 193.3 kB / 450.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.1401, allocations: 25.17 kB / 450.8 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1402, allocations: 8 kB / 450.8 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1402, allocations: 4 kB / 450.8 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1402, allocations: 0 / 450.8 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.1403, allocations: 221.4 kB / 451 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1403, allocations: 0 / 451 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.1405, allocations: 47.91 kB / 451 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1405, allocations: 4 kB / 451 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.1406, allocations: 4 kB / 451 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1406, allocations: 4 kB / 451.1 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1406, allocations: 0 / 451.1 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.141, allocations: 345.9 kB / 451.4 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.1411, allocations: 92.95 kB / 451.5 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.1411, allocations: 12 kB / 451.5 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1412, allocations: 15.98 kB / 451.5 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1413, allocations: 4 kB / 451.5 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1413, allocations: 11.98 kB / 451.5 MB, free: 7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.685e-05/0.1413, allocations: 99.27 kB / 451.6 MB, free: 6.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1413, allocations: 3.938 kB / 451.6 MB, free: 6.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.1416, allocations: 36 kB / 451.7 MB, free: 6.863 MB / 298.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 () * Number of clocked states: 11 (upSample1.b_super,superSampleIpo1.ticks,movingAverage.u_buffer[1],movingAverage.u_buffer[2],movingAverage.u_buffer[3],movingAverage.u_buffer[4],movingAverage.first,movingAverage.yy,upSample1.b,superSampleIpo1.uu,superSampleIpo1.first) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001012/0.1418, allocations: 107.2 kB / 451.8 MB, free: 6.746 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.1421, allocations: 209.3 kB / 452 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1421, allocations: 0 / 452 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.1421, allocations: 4 kB / 452 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.1426, allocations: 153.5 kB / 452.1 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007161/0.1434, allocations: 457.8 kB / 452.6 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.1435, allocations: 0.7404 MB / 453.3 MB, free: 5.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.1436, allocations: 27.42 kB / 453.3 MB, free: 5.113 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1436, allocations: 0 / 453.3 MB, free: 5.113 MB / 298.7 MB Notification: Performance of Templates: time 0.003154/0.1467, allocations: 2.23 MB / 455.6 MB, free: 2.883 MB / 298.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)