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.001052/0.001052, allocations: 104.1 kB / 16.45 MB, free: 6.438 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.001231/0.001231, allocations: 192.6 kB / 17.38 MB, free: 5.668 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.677/1.677, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09462/0.09462, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.001962/0.001962, allocations: 93.03 kB / 394.2 MB, free: 45.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1478, allocations: 49.4 MB / 443.6 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.004005/0.1519, allocations: 1.699 MB / 445.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1535, allocations: 0.6126 MB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1537, allocations: 7.938 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.1539, allocations: 15.8 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.1542, allocations: 31.72 kB / 445.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.1546, allocations: 107.8 kB / 446 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1549, allocations: 139.6 kB / 446.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.155, allocations: 40.98 kB / 446.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1552, allocations: 67.81 kB / 446.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.1554, allocations: 75.67 kB / 446.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.1555, allocations: 8 kB / 446.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.6e-05/0.1555, allocations: 12 kB / 446.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.995e-05/0.1556, allocations: 39.89 kB / 446.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1557, allocations: 63.61 kB / 446.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.156, allocations: 143.5 kB / 446.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.156, allocations: 0 / 446.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.156, allocations: 0 / 446.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.156, allocations: 0 / 446.6 MB, free: 13.41 MB / 334.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.001023/0.1571, allocations: 454.6 kB / 447.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.1571, allocations: 8.031 kB / 447.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.1572, allocations: 20.75 kB / 447.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.1576, allocations: 228 kB / 447.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.1577, allocations: 12.38 kB / 447.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.1577, allocations: 20.38 kB / 447.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.1587, allocations: 457.6 kB / 447.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1588, allocations: 0 / 447.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.1588, allocations: 8 kB / 447.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1588, allocations: 0 / 447.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.1591, allocations: 123.8 kB / 447.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.1596, allocations: 326.3 kB / 448.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.1601, allocations: 215.6 kB / 448.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.1603, allocations: 110.7 kB / 448.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.1604, allocations: 11.98 kB / 448.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.1604, allocations: 42.69 kB / 448.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.704e-06/0.1604, allocations: 0 / 448.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.0006903/0.1611, allocations: 269.6 kB / 448.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.1613, allocations: 134.7 kB / 449 MB, free: 10.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1614, allocations: 134.2 kB / 449.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1614, allocations: 29.7 kB / 449.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.1615, allocations: 92.7 kB / 449.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.1616, allocations: 35.59 kB / 449.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/0.1616, allocations: 58.03 kB / 449.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002716/0.1619, allocations: 326.8 kB / 449.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.1621, allocations: 56.61 kB / 449.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.1623, allocations: 242 kB / 450 MB, free: 9.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.1628, allocations: 308.5 kB / 450.3 MB, free: 9.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.1628, allocations: 4 kB / 450.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004629/0.1633, allocations: 313 kB / 450.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1633, allocations: 8 kB / 450.6 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1634, allocations: 4 kB / 450.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.1634, allocations: 12 kB / 450.6 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.1636, allocations: 60.56 kB / 450.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.1636, allocations: 11.94 kB / 450.7 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.1638, allocations: 27.84 kB / 450.7 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.1638, allocations: 16 kB / 450.7 MB, free: 8.852 MB / 334.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.0001666/0.164, allocations: 157.6 kB / 450.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/0.1643, allocations: 193.7 kB / 451 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.352e-05/0.1644, allocations: 33.11 kB / 451.1 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1644, allocations: 4 kB / 451.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1644, allocations: 0 / 451.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1644, allocations: 0 / 451.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.1647, allocations: 221.4 kB / 451.3 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1647, allocations: 0 / 451.3 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.1649, allocations: 51.91 kB / 451.3 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1649, allocations: 4 kB / 451.4 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.1649, allocations: 11.98 kB / 451.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1649, allocations: 4 kB / 451.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1649, allocations: 0 / 451.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.1655, allocations: 332.9 kB / 451.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.1655, allocations: 92.86 kB / 451.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.1656, allocations: 15.98 kB / 451.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1657, allocations: 8 kB / 451.8 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.1658, allocations: 0 / 451.8 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.1658, allocations: 15.98 kB / 451.8 MB, free: 7.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.166, allocations: 99.27 kB / 451.9 MB, free: 7.527 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.166, allocations: 0 / 451.9 MB, free: 7.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003329/0.1663, allocations: 40 kB / 452 MB, free: 7.488 MB / 334.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.0001578/0.1665, allocations: 111.9 kB / 452.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005245/0.167, allocations: 206.2 kB / 452.3 MB, free: 7.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.167, allocations: 4.062 kB / 452.3 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.1671, allocations: 11.98 kB / 452.3 MB, free: 7.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006663/0.1678, allocations: 136.3 kB / 452.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009786/0.1687, allocations: 358.6 kB / 452.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.1693, allocations: 0.7441 MB / 453.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.294e-05/0.1694, allocations: 13.95 kB / 453.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.1695, allocations: 23.42 kB / 453.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1695, allocations: 3.938 kB / 453.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of Templates: time 0.006088/0.1756, allocations: 2.038 MB / 455.6 MB, free: 3.793 MB / 334.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)