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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 104.1 kB / 16.03 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001005, allocations: 192.5 kB / 16.95 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.1 MB / 222.8 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0993/0.0993, allocations: 12.59 MB / 282.7 MB, free: 8.781 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 84.69 kB / 343 MB, free: 21.08 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.133, allocations: 49.41 MB / 392.4 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.00335/0.1364, allocations: 1.758 MB / 394.1 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.1377, allocations: 0.5931 MB / 394.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1378, allocations: 7.938 kB / 394.7 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.138, allocations: 7.922 kB / 394.7 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.1382, allocations: 23.86 kB / 394.8 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.1386, allocations: 107.8 kB / 394.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.1389, allocations: 135.6 kB / 395 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.1391, allocations: 29.09 kB / 395 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1392, allocations: 63.77 kB / 395.1 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1395, allocations: 71.67 kB / 395.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.1395, allocations: 12 kB / 395.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.5e-05/0.1395, allocations: 16 kB / 395.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.487e-05/0.1396, allocations: 35.89 kB / 395.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.788e-05/0.1397, allocations: 67.61 kB / 395.3 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.1399, allocations: 143.8 kB / 395.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.14, allocations: 0 / 395.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.14, allocations: 0 / 395.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.14, allocations: 0 / 395.4 MB, free: 0.5039 MB / 286.1 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.0007738/0.1408, allocations: 439 kB / 395.9 MB, free: 28 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1408, allocations: 12.03 kB / 395.9 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/0.1409, allocations: 24.7 kB / 395.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.1412, allocations: 227.7 kB / 396.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.1412, allocations: 8.375 kB / 396.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.1412, allocations: 16.38 kB / 396.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/0.1421, allocations: 469.1 kB / 396.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1421, allocations: 4 kB / 396.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.1422, allocations: 7.984 kB / 396.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1422, allocations: 4 kB / 396.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.1425, allocations: 115.8 kB / 396.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.1429, allocations: 330.3 kB / 397.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.1434, allocations: 207.7 kB / 397.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.1436, allocations: 118.6 kB / 397.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.1436, allocations: 12 kB / 397.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.1437, allocations: 34.69 kB / 397.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.292e-06/0.1437, allocations: 0 / 397.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.000651/0.1443, allocations: 277.6 kB / 397.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.1445, allocations: 130.8 kB / 397.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1446, allocations: 130.1 kB / 397.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.1446, allocations: 29.7 kB / 398 MB, free: 13.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.1447, allocations: 100.6 kB / 398.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.1448, allocations: 39.58 kB / 398.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.1449, allocations: 54.03 kB / 398.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.145, allocations: 330.8 kB / 398.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1451, allocations: 56.62 kB / 398.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.1454, allocations: 246 kB / 398.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.1459, allocations: 312.4 kB / 399.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1459, allocations: 0 / 399.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000488/0.1464, allocations: 304.9 kB / 399.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.1464, allocations: 8 kB / 399.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.1464, allocations: 8 kB / 399.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.1465, allocations: 8.781 kB / 399.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.1467, allocations: 67.84 kB / 399.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.1467, allocations: 15.98 kB / 399.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1468, allocations: 27.75 kB / 399.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.1469, allocations: 23.94 kB / 399.5 MB, free: 11.94 MB / 302.1 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 ($CLKPRE.movingAverage.first,movingAverage.first,$CLKPRE.superSampleIpo1.ticks,superSampleIpo1.ticks,superSampleIpo1.usedFactor,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.superSampleIpo1.first,superSampleIpo1.first,$CLKPRE.upSample1.b,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.0001678/0.147, allocations: 149.7 kB / 399.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/0.1474, allocations: 193.7 kB / 399.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.506e-05/0.1475, allocations: 21.19 kB / 399.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.1475, allocations: 4 kB / 399.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1475, allocations: 0 / 399.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.1475, allocations: 11.98 kB / 399.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.1477, allocations: 213.4 kB / 400.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1478, allocations: 0 / 400.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.1479, allocations: 43.92 kB / 400.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.148, allocations: 7.984 kB / 400.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.148, allocations: 4 kB / 400.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.148, allocations: 4 kB / 400.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.148, allocations: 0 / 400.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.1485, allocations: 345.4 kB / 400.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.1485, allocations: 96.86 kB / 400.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.1486, allocations: 8 kB / 400.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.1487, allocations: 19.91 kB / 400.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.1487, allocations: 4 kB / 400.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.1488, allocations: 12 kB / 400.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.028e-05/0.1488, allocations: 103.2 kB / 400.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1488, allocations: 0 / 400.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.1492, allocations: 36 kB / 400.8 MB, free: 10.58 MB / 302.1 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.0001633/0.1493, allocations: 107.2 kB / 400.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004528/0.1498, allocations: 221 kB / 401.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.1498, allocations: 0 / 401.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/0.1498, allocations: 12 kB / 401.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.1504, allocations: 140.8 kB / 401.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007916/0.1512, allocations: 418.7 kB / 401.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1515, allocations: 0.7404 MB / 402.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.095e-05/0.1516, allocations: 17.95 kB / 402.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.1516, allocations: 27.42 kB / 402.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1516, allocations: 0 / 402.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of Templates: time 0.004804/0.1565, allocations: 1.897 MB / 404.4 MB, free: 6.953 MB / 302.1 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)